Announcement

Collapse
No announcement yet.

dhtml question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #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


    • #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...
      X