• Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting two scripts to work on the same page  RSS feed

 
Robert Anthony
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm messing around with some java scripts that I found. They both work great by themselves, but when on the same page together one of them does not work. I found on one webpage that it could be the onload event handler. I tryed what it said to do (which was to put both onload event in the body tag and remove the existing ones) but I kept getting errors. Here's a link to the page if someone would like to try and help. The one that doesn't work is the top image which is supposed to give a ripple effect in the reflection. Thanks for any help

http://www.scorpionsofbaghdad.net/other/pictures/lora/Lora.htm
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

"Java" and "JavaScript" actually share very little except a few syllables in the name. They're completely separate technologies. You're talking about JavaScript, but this (Java in General (Beginner)) is for Java.

We do actually have a forum where JavaScript discussion is on-topic: it's our HTML and JavaScript forum. I'll move this topic over there for you, where it can continue.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!