Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:08

Adding a Target to the links in menu_data.js


Poster: Tagg3rx
Dated: Tuesday April 18 2006 - 18:57:26 BST

hello could someone please help me figure this out -

I have added AJAX functionality to my page using:
http://www.dynamicdrive.com/dynamicinde ... ontent.htm

It basicaly loads external html pages inside a named <DIV> tag

Now I need to modify my links in the menu_data.js file to point to the DIV name. The formats listed on dynamicdrive are as follows:

Normal link:

<a href="javascript:ajaxpage('test.htm', 'contentarea');">test</a>
<div id="contentarea"></div>

or static load

<script type="text/javascript">
ajaxpage('test.htm', 'rightcolumn') //load "test.htm" into "rightcolumn" DIV
</script>

the link in menudata.js reads:
aI("text=linkname;url=link.html");

Please help

Thankyou


Poster: Tagg3rx
Dated: Tuesday April 18 2006 - 19:03:43 BST

Scratch the req for help

I just got it

Link as follows in the .js file


aI("text=Link;url=javascript:ajaxpage('link.html', 'main')");

Awesome menu systems!


Poster: Ruth
Dated: Tuesday April 18 2006 - 21:47:00 BST

Hi,

Glad you got it. It is a terrific systems isn't it? I just love that you can personalize the design so much!

Ruth