Help - Search - Members - Calendar
Full Version: More than one Javascript?
xFX JumpStart Public Forums > DHTML Menu Builder > Generic Problems > JavaScript Errors
snatchman2008
Does more than one Javascript mean problems?  I uploaded everything to my web server, and my dhtml menu isn't coming up.  If anyone has time, please take a look at the source code and tell me what I'm doing wrong.  I've tried a lot of different things, to no avail...

www.cultureshot.com

Many thanks,
David
xfx
This is often caused by a conflict between two or more javascript functions where both of them are trying to use the onload event.

To fix this problem you'll have to locate this code on your page:
CODE
function populate(){
if (iedom){


And change it for this code:
CODE
function populate(){
f5();
if (iedom){
Leventcos21
I tried adding the
CODE
f5();
into my function but I get an error.  Did you get yours to work?
xfx
Leventcos21,

Try using this code instead:

CODE
if(typeof(f5)=="undefined") {
SetupToolbar();
else
f5();
}
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.