Java script help please
Results 1 to 7 of 7

Thread: Java script help please

  1. #1
    Member
    Join Date
    Dec 2001
    Posts
    84

    Java script help please

    A few years ago I had a script that would make a button on my web page move away from the mouse so you couldn't click on it. I lost the script and can't find it anywhere. I've been searching google and free java script websites for the last 2 hours.
    If anyone knows how to do this could you please post the code or link me to it.

    What I'm trying to make is a joke web page......( To get your Christmas bonus, click here... and the button moves away from the cursor........)

    Help please.......Thanks.
    You can\'t squeeze cheese from a goat before it\'s hatched.............

  2. #2
    Banned
    Join Date
    Sep 2004
    Posts
    305
    It's actually a Java applet, not a script, and you find a copy of the class file here: http://www.fortunecity.com/skyscrape.../824/e/q.class

    and a copy of the working thing here: http://www.fortunecity.com/skyscrape...4/e/button.htm

  3. #3
    Member
    Join Date
    Dec 2001
    Posts
    84

    YES!

    this is exactly what I was looking for..........I downloaded the calss file and have no idea what that is..... how can I get the applett?
    You can\'t squeeze cheese from a goat before it\'s hatched.............

  4. #4
    Banned
    Join Date
    Sep 2004
    Posts
    305
    Make an HTML file and put this:

    Code:
    <applet codebase="classes" code=q.class width=600 height=300> </applet>
    in the body of the page. Save it in the same place where you saved the q.class file.

  5. #5
    Member
    Join Date
    Dec 2001
    Posts
    84

    applett failed

    uploaded the file.pasted the code.and just get a java window on the page with an applett failed error
    You can\'t squeeze cheese from a goat before it\'s hatched.............

  6. #6
    Banned
    Join Date
    Sep 2004
    Posts
    305
    My bad, get rid of the codebase="classes", otherwise it should work... works for me. =)

  7. #7
    Member
    Join Date
    Dec 2001
    Posts
    84

    nope

    no luck.............I'll try again tommorow....thanks
    You can\'t squeeze cheese from a goat before it\'s hatched.............

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •