Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 28, 2026
About Us
O nás
Magazine
Magazín
Open Source
Otvorený softvér
CVS
CVS
Services
Služby
Index  »  Projects  »  phpMyEdit  »  Forum  »  New option... Javascript onClick

phpMyEdit Features     New option... Javascript onClick
Post new topic   Reply to topic    
 
lukechiam     Joined: 05 Dec 2004   Posts: 5  
Post Posted: 2004-12-05 06:59
Back to top  Reply with quote     

Using URL and URLtarget requires me to open a page and then in that page open another and close the previous just to have a small customised window.

I am adding new feature to the class... Javascript onClick option.

Anyone see a need for this?

 
hbernard     Joined: 23 Mar 2003   Posts: 159   Location: FRANCE
Post Posted: 2004-12-05 14:18
Back to top  Reply with quote     

Certainly, but are you speaking of link clic events (basic url 'javascript:foo()', or are you speaking of field clic events ?

_________________
hbernard - phpMyEdit updater.
 
lukechiam     Joined: 05 Dec 2004   Posts: 5  
Post Posted: 2004-12-06 05:09
Back to top  Reply with quote     

I am talking about link click events; <a href="#" onClick='javascript:foo();'>

I read thru onlin doc and faq but didnt find anything similar to what I needed so I add to the script...

'URL' => '#',
'URLonClick' => 'javascript;popup( blah blah blah );'

now it is possible to directly popup a customised window providing "popup" function is added to the generated phpMyEdit script for the table.

Is that a hack job you think?

 
hbernard     Joined: 23 Mar 2003   Posts: 159   Location: FRANCE
Post Posted: 2004-12-06 06:13
Back to top  Reply with quote     

What's the difference with :

'URL' => 'javascript:popup( blah blah blah );'
which should work...

(No?)

_________________
hbernard - phpMyEdit updater.
 
lukechiam     Joined: 05 Dec 2004   Posts: 5  
Post Posted: 2004-12-06 06:43
Back to top  Reply with quote     

Apparently thats the old style, non compliant to html 4... may cause issues with some browser.

Luke

 
hbernard     Joined: 23 Mar 2003   Posts: 159   Location: FRANCE
Post Posted: 2004-12-06 07:21
Back to top  Reply with quote     

lukechiam wrote:
Apparently thats the old style, non compliant to html 4... may cause issues with some browser.


Interesting.
Do you have a link for this ?
This is how current tab switch is done inside PME.

the $opts['fdd']['foo']['js']['onClick'] seems a right API to me.

You may report a feature request inthe bugtracker.

Thanks.


--Hugues

_________________
hbernard - phpMyEdit updater.
 
lukechiam     Joined: 05 Dec 2004   Posts: 5  
Post Posted: 2004-12-06 11:57
Back to top  Reply with quote     

I saw it on Expert Exchange http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_20915622.html
but it is not definative nor did it says "non-compliance". Do you know of any issue with javascript in href?

 
lukechiam     Joined: 05 Dec 2004   Posts: 5  
Post Posted: 2004-12-06 12:05
Back to top  Reply with quote     

http://groups.google.com.au/groups?hl=en&lr=&safe=off&selm=pkoi9.495%24BT5.33384707%40newssvr21.news.prodigy.com [url][/url]

 
jiliray916@     Joined: 01 Nov 2023   Posts: 563  
Post Posted: 2024-01-06 09:58
Back to top  Reply with quote     

Emotional attention, self-control, approval, adhere to, patience but also security. These are typically among the issues that Tang Soo Can do, most of the Thai martial art attached to self defense purposes, can show buyers plus instilling in your soul the means not just to maintain with your own eyes on the competency on the very first real danger stains to cure confrontation all in all. roof cleaning bristol

 
QADIRSEO     Joined: 29 Dec 2023   Posts: 1168  
Post Posted: 2024-01-08 11:21
Back to top  Reply with quote     

Informative Site&#8230; Hello guys here are some links that contains information that you may find useful yourselves. It&#8217;s Worth Checking out&#8230;. shillong teer result

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Odkazový formulár · Application form · Prihláška
Report bug on PLATON.SK website · Upozorniť na chybu na PLATON.SK webstránke · Terms of use · Podmienky použitia · Privacy policy · Ochrana osobných údajov