Call Advanced Layer Popup with JavaScript
Question:
I want to address Advanced Layer Popup with JavaScript using on href instead of onClick.
How can I do this?
Answer:
Try the following syntax:
<a href="javascript: (function(){dmxAdvLayerPopup(.....);})();">
Link Text</a>
For example:
<a href="javascript: (function(){dmxAdvLayerPopup('DMXzone.com','http://www.dmxzone.com',
'','','Nova','center','center',640,480,0,true,true,true,60,
'SlideInRight','FastSlow',2,false,'SlideOutBottomLeft',
'SlowFast',2,false,'',1,5,true,true,'#00FF00');
})();">DMXzone.com</a>
Comments
Be the first to write a comment
You must me logged in to write a comment.