I have two links on my present site for disabled users. They allow for the alteration of text between lge txt and std txt.
One of the two links looks like this:
a href="#" onClick="setActiveStyleSheet('standard'); return false;"
and calls a javascript file into action.
How can I include this type of link into the Milonic Menu?
linking to a js file action
Hi muscroft,
Load the .js file containing the definition for your setActiveStyleSheet() function as you normally would. To call the function from a menu item, do the following:
Hope that helps,
Kevin
Load the .js file containing the definition for your setActiveStyleSheet() function as you normally would. To call the function from a menu item, do the following:
Code: Select all
aI("text=Standard Text;url=javascript:setActiveStyleSheet('standard');");
Kevin
JS call works OK
Thanks Kevin.
I have put your quoted text in place and all works as planned.
Many thanks for responding so quickly and efficiently.

I have put your quoted text in place and all works as planned.
Many thanks for responding so quickly and efficiently.
