nestorj
09-18-2006, 10:46 AM
1) Script Title: AnyLink Vertical Menu
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/anylinkvertical.htm
3) Describe problem:
I need to find a way to run a function instead of a simple html link (see example below). Anyone has any idea how this can be done?
instead of:
menu1[1]='<a href="test.html">TEST </a>'
use something in the line of:
menu1[1]='<a href="javascript:changetwo('images/titles_23.gif', 'test.html')">TEST </a>'
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/anylinkvertical.htm
3) Describe problem:
I need to find a way to run a function instead of a simple html link (see example below). Anyone has any idea how this can be done?
instead of:
menu1[1]='<a href="test.html">TEST </a>'
use something in the line of:
menu1[1]='<a href="javascript:changetwo('images/titles_23.gif', 'test.html')">TEST </a>'