|
||
| Inside Technique : WebFX DHTML Demos : DHTML Favorite Bar This favorite bar enables you to create a user-interface just like the Internet Explorer 4.0 favorite bar. (Explorer 5 changed the scroll mechanism to ordinary scrollbars). It is written entirely in HTML, or to be exact in HTML, CSS and Javascript for Explorer 4 or better. The favorite bar is designed so that you can quickly and easily it in your HTML documents easy. Just follow the instructions below:
Building the MenuThe menu is built up of <div class="topFolder" id="test">This is a folder</div> <div class="sub" id="testSub"> <div class="subItem">This is a sub item</div> </div> To make a folder inside another folder just move this code inside a folder and change the The icons are maybe one of the easiest part but it enhances the look a lot. Just add an image and add the Adding links and actions. All you need to do is to add the attribute You can as with all elements add the attribute Here is a bigger sample code: <div class="topFolder" id="sample_1"><img class="icon" src="images/foldericon.gif">Internet Explorer</div> <div class="sub" id="sample_1Sub"> <div class="subFolder" id="sample_2"><img class="icon" src="images/foldericon.gif">IE 5</div> <div class="sub" id="sample_2Sub"> <div class="subItem" href="http://www.microsoft.com/ie/ie5/"><img class="icon" src="images/htmlicon.gif">MS IE5</div> </div> <div class="subItem" href="http://www.microsoft.com/ie/ie4/"><img class="icon" src="images/htmlicon.gif">MS IE4</div> </div> <div class="subItem" href="http://www.microsoft.com/ie/"><img class="icon" src="images/htmlicon.gif">MS IE</div> Below is more complex menu. Open the "Documents" folder and any sub folder within to try the scroll bars Favorite Bar UI Demonstration requires Internet Explorer 4.0 or later Page 1:WebFX DHTML Demos © 1997-2000 InsideDHTML.com, LLC. All rights reserved. |