This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes javascript contention Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript contention" Watch "javascript contention" New topic
Author

javascript contention

kim gick
Greenhorn

Joined: Feb 21, 2002
Posts: 16
i have 2 javascripts that are competing for display on a html page.
the first is a navigator bar and the second is a slideshow
when i comment out the slideshow the navigator bar appears but when i un-comment out the slideshow it appears but the navigation bar disappears ... is there something that iim missing
thanks in advance
i dont know if this matters but im calling both scripts via include files
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
reasons for this is, multiple onload tags, same global variables used.
THis is a common problem among scripts, if you show me them, I can help you out to find the problems
Eric
kim gick
Greenhorn

Joined: Feb 21, 2002
Posts: 16
im having one heck of a time trying to put the code in here ...
8(
ive tried everything and keep getting the same message about onload and <
ive cut and pasted the code into a word editor and did the find replace but i still cant get past that screen
can i possibly email them 2 you?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Either Email them to me @ Pascarello@javaranch.com
or even easier
use this tool I have built and post them on this site. The form will remove all of the tags that give problems and replace them with the ascii code which displays properly.
http://www10.brinkster.com/A1ien51/JavaRanch/escaper.htm
Eric
kim gick
Greenhorn

Joined: Feb 21, 2002
Posts: 16
Sorry, your post appears to have an illegal HTML tag. Often this is because the post contains a "<" character instead of the equivalent HTML escape sequence "<"
You can fix this by replacing every "<" in your post with "<".
The specific error message is: EVAL
� Please use your browser's back button to return.

i tried the escaper but still received that msg
ill send the code snippets to your email
thanks again!!
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I will look at it when I get home from work tonight
Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javascript contention