• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Sliding Menus

A cool feature of Internet Explorer 4+, Netscape 6+, and standards-compliant browsers is the way that elements can be added into the middle of a page (using JavaScript) and the browser can reflow text around them. Script 15.2 demonstrates this for these browsers, and offers a simple workaround for alternate browsers (such as those people still using Netscape 4.x).

Script 15.2. You can make text appear and disappear with this script.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint