i add java script but i m facing problems....help please....

Discussion in 'JavaScript' started by i_am_dhaval, Jul 12, 2007.

  1. #1
    i_am_dhaval, Jul 12, 2007 IP
  2. WebGyver

    WebGyver Guest

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hello there,

    Nice work, unfortunately, you are using a table-based layout for everything. Of course, if you expand the content that is above your "red rectangle" image, everything below will get pushed down. That's the way it's supposed to work.

    If you don't want this to happen, you should put your menu inside a <DIV>, right above the image. You could then set up the image to stay in a fixed position, regardless of how much your menu expands & collapses.

    Check out the following links for some ideas:

    http://www.n2kdesign.co.uk/viewarticle.aspx?aID=56

    http://aariadne.com/accordion/

    http://developer.yahoo.com/yui/examples/treeview/check.html
     
    WebGyver, Jul 14, 2007 IP
  3. i_am_dhaval

    i_am_dhaval Well-Known Member

    Messages:
    1,364
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    138
    #3
    thanks
    now it's working..

    close the topic....

    thanks once again....
     
    i_am_dhaval, Jul 16, 2007 IP