dhtml question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • az
    Moderator
    • Feb 2001
    • 9336

    #1

    dhtml question

    Quick dhtml question:

    Is there a way to do the following?

    Have an inline-block div replaced with another onclick, then with yet another on the next click, and back to the first on the third click.

    TYVM

    AZ
    There's an Opera in my macbook.
  • Guru
    Super MURCer
    • Nov 1999
    • 6018

    #2
    Look here www.dynamicdrive.com if they have the solution
    According to the latest official figures, 43% of all statistics are totally worthless...

    Comment

    • VJ
      Moderator
      • Mar 2001
      • 9733

      #3
      Most dhtml things are: having something appear on the first click, and have it disappear on the second. I suspect that with a small function you could easily sort it out (keep a counter that holds which of the three is currently shown, onclick increment the counter (modulo 3), run a couple of if-test to see what number the counter is).


      Jörg
      pixar
      Dream as if you'll live forever. Live as if you'll die tomorrow. (James Dean)

      Comment

      Working...