Script: AnyLink
http://www.dynamicdrive.com/dynamici...pmenuindex.htm
hey there. does anybody know how i can pass the following syntax correctly? i am having trouble with the quotes. the idea [probably obviously] is to output a link that calls another javascript function through the href. thnx.
this syntax works inside a normal [non 'AnyLink"] anchor:
in the AnyLink array, i have plugged it in like so [trying to excape some quotes]:Code:<a href="javascript:confirmExitSetup('./some_page.php');">some page</a>
Code:menu1[0]='<a href="javascript:confirmExitSetup(\'./some_page.php\');">some page</a>'
thnx a lot!



Reply With Quote


Bookmarks