File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javascript contention

 
kim gick
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I will look at it when I get home from work tonight
Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic