Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

javascript contention

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I will look at it when I get home from work tonight
Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic