| Author |
Message |
ccb
Joined: 16 Mar 2010 Posts: 2 Location: Ohio
|
Posted: Tue Mar 16, 2010 9:26 pm Post subject: How to make a call to javascript in tree |
|
|
I have a chunk of javascript that loads seperate html pages in a hidden iframe. Is it possible to execute javascript from tree menu items.
Standard page link looks like this:
<a href="testpage.html" onclick="return dw_loadExternal(this.href)">Test Page</a>
How do I get that to work in Tree Node?
API: jsPath feature looks promising, but I can't figure out how to implement it . Yes, I am running the Professional version.
Your help is appreciated. |
|
| Back to top |
|
 |
ccb
Joined: 16 Mar 2010 Posts: 2 Location: Ohio
|
Posted: Tue Mar 23, 2010 7:17 pm Post subject: |
|
|
After looking around a little harder, I found this example - that works:
["My Node", "javascript:void(My Javascript('URL.htm'))", null], |
|
| Back to top |
|
 |
|