Advanced Layer Popup Support Product Page
This topic was archived
open Advanced Layer Popup with JS instead onclick
Asked 27 Mar 2007 10:04:48
1
has this question
27 Mar 2007 10:04:48 Egon Pescollderungg posted:
how is it possible to open the Advanced Layer Poup with a JS command in the "a href" command without the onclick command?<pre id=code><font face=courier size=2 id=code>
<a href="#" onClick="dmxAdvLayerPopup('Flash video','video/video.inc.php','video','','OS_Look','center','center',300,200,0,true,false,true,60,'','Linear',2,true,'','Linear',2,true,'',1,5,true)">video</a> </font id=code></pre id=code>
Thank you
Replies
Replied 27 Mar 2007 15:20:45
27 Mar 2007 15:20:45 Georgi Kralev replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> how is it possible to open the Advanced Layer Poup with a JS command in the "a href" command without the onclick command? <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
I do not see any reason for using href instead onclick. But if you really need it, try the following code:
<pre id=code><font face=courier size=2 id=code>
<a href="javascript : (function(){dmxAdvLayerPopup('Flash video','video/video.inc.php','video','','OS_Look','center','center',300,200,0,true,false,true,60,'','Linear',2,true,'','Linear',2,true,'',1,5,true)})();">video</a> </font id=code></pre id=code>
Regards,
Georgi Kralev
----------------------------------
Support - www.DMXzone.com
I do not see any reason for using href instead onclick. But if you really need it, try the following code:
<pre id=code><font face=courier size=2 id=code>
<a href="javascript : (function(){dmxAdvLayerPopup('Flash video','video/video.inc.php','video','','OS_Look','center','center',300,200,0,true,false,true,60,'','Linear',2,true,'','Linear',2,true,'',1,5,true)})();">video</a> </font id=code></pre id=code>
Regards,
Georgi Kralev
----------------------------------
Support - www.DMXzone.com
Replied 27 Mar 2007 17:15:04
27 Mar 2007 17:15:04 Egon Pescollderungg replied:
Thank you,
i need a href links why i generate dynamic navmenus from DB and i have not plan onclick events.
i need a href links why i generate dynamic navmenus from DB and i have not plan onclick events.
Replied 27 Mar 2007 17:43:37
27 Mar 2007 17:43:37 Georgi Kralev replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> i need a href links why i generate dynamic navmenus from DB and i have not plan onclick events.<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
I see. I hope you find the above code useful.
Regards,
Georgi Kralev
----------------------------------
Support - www.DMXzone.com
I see. I hope you find the above code useful.
Regards,
Georgi Kralev
----------------------------------
Support - www.DMXzone.com