moving button


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: moving button

  1. #1
    Join Date
    Sep 2003
    Posts
    3

    moving button

    Hello,
    maybe someone can help me:
    At the page:
    http://www.kissmyfloppy.com/pages/jokes.php?id=24
    I found as a joke a moving button, a button that always moves away, that you can never touch him with your cursor.
    I think this is an java applet - I am not sure.
    For some reasons I would like to integrate this moving button joke in my homepage. I wrote the owner of this webpage long time ago, but never got an answer.
    Does anybody know about this "moving button" applet and how to integrate it in a web side?
    Please excuse my english, it is not my mother language
    Thank you
    Soojeeta

  2. #2
    Join Date
    Mar 2003
    Posts
    834
    It is an applet. To add it to your own website, include the following in one of your webpages:

    <APPLET codeBase="../data/" height=200 width=550 code=q.class>
    <PARAM NAME="codeBase" VALUE="../data/">
    <PARAM NAME="height" VALUE="200">
    <PARAM NAME="width" VALUE="550">
    <PARAM NAME="code" VALUE="q.class">
    </APPLET>

    ...and find "q.class" on your harddrive and put it in the same directory as the web page.
    ArchAngel.
    O:-)

  3. #3
    Join Date
    Sep 2003
    Posts
    3

    q.class

    Thank you,
    but can you explain me, how to find q.class on my harddrive? There is no q.class on my harddrive, which I could upload to the directory where the Applet Code will be.
    Soojeeta

  4. #4
    Join Date
    Mar 2003
    Posts
    834
    "but can you explain me, how to find q.class on my harddrive?"

    It depends upon what operating system you're using, but I'm assuming you're using windows, in which case click 'Start' and then select 'Search' (or 'Find' if you've an older version of windows) and then 'Files or Folders' and then enter 'q.class' under file name

    "There is no q.class on my harddrive, which I could upload to the directory where the Applet Code will be."

    If you have run the applet, there has to be.
    ArchAngel.
    O:-)

  5. #5
    Join Date
    Sep 2003
    Posts
    3
    Thank you for your assistance

    I also found another interesting solution for this moving button here:

    http://java.searchrealm.com/javaandc...vingButton.TXT

    This is no applet it`s a javascript
    Soojeeta

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center