PDA

View Full Version : Dynamic Ajax Content HELP! :)



SirPedroEC
04-02-2008, 05:51 AM
1) Script Title: Dynamic Ajax Content, AnyLink Drop Down Menu

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) Describe problem: When the "AnyLink Drop Down Menu" links are supposed to run the "Dynamic Ajax Content" script, both scripts completely die on me.

Code:
var menu1=new Array()
menu1[0]='<a href="javascript:ajaxpage('test.htm', 'contentarea');">LOAD CONTENT</a>'
menu1[1]='<a href="javascript:ajaxpage('test.htm', 'contentarea');">LOAD CONTENT</a>'
menu1[2]='<a href="javascript:ajaxpage('test.htm', 'contentarea');">LOAD CONTENT</a>'
menu1[3]='<a href="javascript:ajaxpage('test.htm', 'contentarea');">LOAD CONTENT</a>'


any input on why the script dies? or a re-write of both scripts put together. Is there any other way to call the content? I'm really stumped on this one! Please help! Thanks!

SirPedroEC
04-02-2008, 06:55 PM
anyone? anyone? bueler? :)