fullyloaded Posted May 29, 2009 Share Posted May 29, 2009 hi anyone know of any tuts or how i can make a simple tool bar like the one on facebook? well i have my own tool bar i have made but my problem is getting it to stay at the bottom like the one on facebook so when i scroll down on my website page the tool bar will be visable at all times thanks... Link to comment https://forums.phpfreaks.com/topic/160090-javascript-ajax-tool-bar/ Share on other sites More sharing options...
Ken2k7 Posted May 29, 2009 Share Posted May 29, 2009 Just use CSS. Just do something like: #somediv { position: fixed; bottom: 0; } That would put it at the bottom and stay there. The rest is up to you. And if you want, add in a z-index. Link to comment https://forums.phpfreaks.com/topic/160090-javascript-ajax-tool-bar/#findComment-844651 Share on other sites More sharing options...
fullyloaded Posted May 30, 2009 Author Share Posted May 30, 2009 ok im having a problem i have this code witch will put the bar at the bottom but if you view it in 800 x 600 you can only see half of it but if you view it in 1024 x 786 you can see all of t is there anyway to fix this problem? thanks... <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Bar</title> <style type="text/css"> body { margin: 0px; padding: 0px; overflow: hidden; } #page { margin: 10px; overflow: auto; height: 93%; } #bottom { width: 100%; background: #18f8f8; text-align: center; } </style> </head> <body> <div id="page"> Other stuff on page </div> <div id="bottom">Bottom stuff goes here</div> </body> </html> Link to comment https://forums.phpfreaks.com/topic/160090-javascript-ajax-tool-bar/#findComment-845459 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.