1 Adding A Floating Menu! Fri Mar 05, 2010 11:23 pm
Joel
Registered Member
Its simple:) Just add this to your Homepage Message
Questions? PM me! By the way, all credits goes to Forum Tutorials and Mystic_gohan!
- Code:
<style type="text/css">
#topbar{
position:absolute;
padding: 2px;
border-right: #455690 1px solid;
border-top: #B9C9EF 1px solid;
border-left: #B9C9FF 1px solid;
border-bottom: #455690 1px solid;
background-color: #E0E9F8;
width: 200px;
height: 115px;
visibility: hidden;
z-index: 100;
background-image: url(http://i85.photobucket.com/albums/k57/RoNo1/bg_bluegrad2.jpg);
}
</style>
<script type="text/javascript">
/***********************************************
* Floating Top Bar script- Dynamic Drive (www.dynamicdrive.com)
* Sliding routine by Roy Whittle (http://www.javascript-fx.com/)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
var persistclose=1 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 7 //set x offset of bar in pixels
var startY = 7 //set y offset of bar in pixels
var verticalpos="frombottom" //enter "fromtop" or "frombottom"
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document)
Questions? PM me! By the way, all credits goes to Forum Tutorials and Mystic_gohan!