PDA


View Full Version : javascript not working on front page for vba


apokalupsis
11-14-2005, 10:36 PM
Site: http://www.onlinedebate.net/forums/index.php?styleid=24

How can I get the java script for "Quick Links" (in the upper right) and "Search" (on the main nav bar) to work?

They work fine while on the forumhome page...but not on vba. I've tried to hardcode the link to the vbulletin_menu.js and vbulletin_global.js in the headerinclude template, that didn't work.

I tried to just copy the .js files to the root and even the style folders...that didn't work.

What am I doing wrong?

The navigation is in the header, not in the navbar template btw.

Brian
11-15-2005, 01:15 PM
Seems to be working fine for me...

apokalupsis
11-15-2005, 10:18 PM
The link above is the for the FORUM HOME page. I should have linked to the front page, the vba page.

www.onlinedebate.net

The javascript is not working there.

apokalupsis
11-16-2005, 10:29 PM
bumpage

Brian
11-17-2005, 01:00 PM
You need to move the <div> tags that contain those menus from your navbar template to your header template. Since you've moved those links to your header template and have the navbar turned off on your homepage, the code for those menus will not show up on the page.

apokalupsis
11-17-2005, 11:31 PM
but I think the "div" tags are there. They work fine when using it from the /forum/ directory...just not the root.

Also, if they aren't there, I'm not exactly sure WHAT to move as I never moved anything to begin with...this is the way the skin came when I bought it.

I noticed that it DID work on the root page when I enabled the navbar from the vbcmps cp, but it looks tacky when displayed so I really prefer not to have it on the front page. I just don't know how to have both the navbar NOT show up and the javascript to work properly.