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