Can I do this without Javascript?

Discussion in 'Websites' started by mnymkr, Jun 9, 2006.

  1. #1
    http://www.modernskirts.net/

    I like the way the top does not have to refresh for the bottom to change. Can this be done without javascript?
     
    mnymkr, Jun 9, 2006 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,842
    Likes Received:
    4,543
    Best Answers:
    123
    Trophy Points:
    665
    #2
    I would have thought you could put it in a div, set the attributes and let it roll.

    try

    <DIV style="DISPLAY: block; OVERFLOW: auto; WIDTH: 100%; POSITION: relative; HEIGHT: 216px">chuck lots of stuff here</div>
    Code (markup):
     
    sarahk, Jun 9, 2006 IP
  3. mnymkr

    mnymkr Well-Known Member

    Messages:
    2,328
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    120
    #3
    but would that let the top set still and the bottom protion change?
     
    mnymkr, Jun 9, 2006 IP
  4. sarahk

    sarahk iTamer Staff

    Messages:
    28,842
    Likes Received:
    4,543
    Best Answers:
    123
    Trophy Points:
    665
    #4
    If you put the bottom in the div and the top outside and above it would. Have a play with a test page ;)
     
    sarahk, Jun 9, 2006 IP
  5. asfi

    asfi Peon

    Messages:
    110
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Put still into the <div> and change content into the other..

    Try it
     
    asfi, Apr 20, 2007 IP