Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:38
Trouble adding OnClick to AI()
Poster: jbruso
Dated: Thursday July 14 2005 - 22:21:19 BST
I need to set a cookie and send the user to a URL when clicking on the link. What is the best way to do this?
How do I do what I'm doing in this image map, in the Milonic code??
<area shape="rect" alt="Sheridan College Home Page" coords="0,0,208,18" href="/index_live.asp" onClick="javascript:StorelocationSelection('Sheridan');">
Thanks!
Sorry if that was unclear
Poster: jbruso
Dated: Thursday July 14 2005 - 23:42:55 BST
Not sure if that was clear enough... this might make my question more clear:
This is what I have so far, but it isn't working... Am I using the onFunction with correct syntax??
aI("image=/images/tabs_eserv_new.gif;overimage=/images/tabs_eserv_new_over.gif;url=/eservices/;onfunction=javascript:StorelocationSelection('Sheridan');");