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:23
how to make hyperlink in menu (imagemap sample)
Poster: crz
Dated: Sunday June 20 2004 - 14:02:27 BST
hi , i try to make a hyperlink of one of the menuitems in the imagemap sample, but for some reason it aint working. Their appears to be an error cause MY way result in the not rendering of the menu. So can anyone tell me what is wrong here:
example: (from the menu_data.js file)
If i have this text how do i make sure that when I click on it links to say :www.milonic.com
aI("text= goto milonic.com website for dhtml samples;");
Re: how to make hyperlink in menu (imagemap sample)
Poster: John
Dated: Sunday June 20 2004 - 16:57:31 BST
crz wrote:
If i have this text how do i make sure that when I click on it links to say :www.milonic.com
aI("text= goto milonic.com website for dhtml samples;");
aI("text= goto milonic.com website for dhtml samples;");
Code:
aI("text=goto milonic.com website for dhtml samples;url=http://www.milonic.com/;");
Looks like some reading is in order. See http://milonic.com/forum/viewtopic.php?t=2981.
Poster: crz
Dated: Sunday June 20 2004 - 21:46:35 BST
sorry, ifor that (minites after posting i notice the faq's ;(
but have another question, what i tried with out succes is this:
aI("text=goto:;url=http://www.milonic.com/;text=http://www.milonic.com;");
but in this way the "goto" text is not shown, how do it solve this,
So in general have a line of text and in that line of text one hyperlinked word.
Poster: Ruth
Dated: Sunday June 20 2004 - 23:41:12 BST
If you are actually trying to put a hyperlink into the aI, then you just put a normal link and put in type=html.
Code:
aI("text=goto:<a href=http://www.milonic.com>milonic.com</a>;type=html;");
Though I'm not sure why you want to do that. If you put in Code:
aI("text=goto: milonic.com;url=http://www.milonic.com/;");
That makes the menu item a link. If you are trying to do that to meet the provide a link requirement that doesn't meet the requirement. The link must be on the page, not in the menu.
Ruth