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 :milonic.com
aI("text= goto milonic.com website for dhtml samples;");
how to make hyperlink in menu (imagemap sample)
Re: how to make hyperlink in menu (imagemap sample)
crz wrote:If i have this text how do i make sure that when I click on it links to say :milonic.com
aI("text= goto milonic.com website for dhtml samples;");
Code: Select all
aI("text=goto milonic.com website for dhtml samples;url=http://milonic.com/;");
John
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://milonic.com/;text=http://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.
but have another question, what i tried with out succes is this:
aI("text=goto:;url=http://milonic.com/;text=http://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.
If you are actually trying to put a hyperlink into the aI, then you just put a normal link and put in type=html. Though I'm not sure why you want to do that. If you put in 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
Code: Select all
aI("text=goto:<a href="http://websites.milonic.com/milonic.com>milonic.com</a>;type=html;");
Code: Select all
aI("text=goto: milonic.com;url=http://milonic.com/;");
Ruth