thinbegin
03-13-2006, 08:31 PM
Script: AnyLink
http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.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:
<a href="javascript:confirmExitSetup('./some_page.php');">some page</a>
in the AnyLink array, i have plugged it in like so [trying to excape some quotes]:
menu1[0]='<a href="javascript:confirmExitSetup(\'./some_page.php\');">some page</a>'
thnx a lot!
http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.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:
<a href="javascript:confirmExitSetup('./some_page.php');">some page</a>
in the AnyLink array, i have plugged it in like so [trying to excape some quotes]:
menu1[0]='<a href="javascript:confirmExitSetup(\'./some_page.php\');">some page</a>'
thnx a lot!