how: closable javascript announcement on page like one on digg

Discussion in 'HTML & Website Design' started by byoung, Aug 29, 2006.

  1. #1
    Just wondering if anyone knows how to easily acheive the same 'notice' type affect digg.com has with their 'annoucing digg swarm', then when you close it the rest of the content moves up the page.

    Its kinda like a dhtml popup but is integrated with page content.
     
    byoung, Aug 29, 2006 IP
  2. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #2
    mad4, Aug 29, 2006 IP
  3. jeremyweber

    jeremyweber Peon

    Messages:
    112
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    jeremyweber, Aug 29, 2006 IP
  4. Jordash

    Jordash Peon

    Messages:
    181
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    probably a combination of Javascript and DHTML, the entire thing is enclosed in a div with an ID, and the ID's innerHTML attribute is overwritten with no HTML to some HTML and vica versa, not to hard.
     
    Jordash, Aug 29, 2006 IP