Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Minor problem/question with hide/reveal content javascript

Minor problem/question with hide/reveal content javascript

Scheduled Pinned Locked Moved Web Development
questionhelpjavascripthtmldatabase
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lvq684
    wrote on last edited by
    #1

    Hi. In lack of better examples, I´ve found this javascript example which shows and hides content in a sliding way. Exactly what need. You can see the example here: http://www.dhtmlgoodies.com/index.html?whichScript=show\_hide\_content\_slide And the demo here: http://www.dhtmlgoodies.com/scripts/show-hide-content-slide/show-hide-content-slide.html Problem is, because of my text and image layout, I want the hide/reveal text to be in a dedicated cell. But this example (and all the other examples I´ve found) only works when its in the same cell. How do i fix this? Thanks alot!

    N P T 3 Replies Last reply
    0
    • L lvq684

      Hi. In lack of better examples, I´ve found this javascript example which shows and hides content in a sliding way. Exactly what need. You can see the example here: http://www.dhtmlgoodies.com/index.html?whichScript=show\_hide\_content\_slide And the demo here: http://www.dhtmlgoodies.com/scripts/show-hide-content-slide/show-hide-content-slide.html Problem is, because of my text and image layout, I want the hide/reveal text to be in a dedicated cell. But this example (and all the other examples I´ve found) only works when its in the same cell. How do i fix this? Thanks alot!

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Look at JQuery effects[^]


      I know the language. I've read a book. - _Madmatt

      1 Reply Last reply
      0
      • L lvq684

        Hi. In lack of better examples, I´ve found this javascript example which shows and hides content in a sliding way. Exactly what need. You can see the example here: http://www.dhtmlgoodies.com/index.html?whichScript=show\_hide\_content\_slide And the demo here: http://www.dhtmlgoodies.com/scripts/show-hide-content-slide/show-hide-content-slide.html Problem is, because of my text and image layout, I want the hide/reveal text to be in a dedicated cell. But this example (and all the other examples I´ve found) only works when its in the same cell. How do i fix this? Thanks alot!

        P Offline
        P Offline
        PHP_Guy
        wrote on last edited by
        #3

        I prefer 'Spry' JavaScript By Adobe Dreamweaver .. that'll avoid u falling in problems good luck ..

        L 1 Reply Last reply
        0
        • L lvq684

          Hi. In lack of better examples, I´ve found this javascript example which shows and hides content in a sliding way. Exactly what need. You can see the example here: http://www.dhtmlgoodies.com/index.html?whichScript=show\_hide\_content\_slide And the demo here: http://www.dhtmlgoodies.com/scripts/show-hide-content-slide/show-hide-content-slide.html Problem is, because of my text and image layout, I want the hide/reveal text to be in a dedicated cell. But this example (and all the other examples I´ve found) only works when its in the same cell. How do i fix this? Thanks alot!

          T Offline
          T Offline
          T M Gray
          wrote on last edited by
          #4

          Manually implement the stuff that the initShowHideDivs function does. Rather than dynamically having it change the IDs, set the IDs from the outset. Instead of dynamically adding the onclick event, put it in the question divs from the start.

          1 Reply Last reply
          0
          • P PHP_Guy

            I prefer 'Spry' JavaScript By Adobe Dreamweaver .. that'll avoid u falling in problems good luck ..

            L Offline
            L Offline
            lvq684
            wrote on last edited by
            #5

            Thanks alot, it works :)

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups