Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Need help getting a better method to do this.

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38400
    MarkTopper
    Member

    Greetings.

    I was thinking if it somehow was possible to replace this code with a better code.

    My current code:

            	

    What it does:
    Currently it change the image into a text.

    What I don’t like about it:
    I don’t like that it comes instantly on the page, it would be nice if it somehow could fade in.
    But what is the most annoying is that it jumps to the top of the page when I click on it.

    Demo:
    http://www.marktopper.dk/goo/
    NOTE: Up in the top-left corner I have a transpirant image (size 10×10 pixels) which you can click on to se this.

    Does anyone have any ideas for a better method to do this?

    #104082
    amoss
    Participant
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.