anyone know how to create a permenant bar at the bottom of the page ? example, look at http://www.italylettings.com/
Just use CSS on a DIV no need for JavaScript:
#bottom-bar {
position: fixed;
bottom: 0px;
left: 0px;
width: 100%;
height: 50px;
}
Update
It works for me.
An easy way with mootools to fade out is to use the fade
function:
$("bottom-bar").fade('toggle');
@joshperry : the toogle isn't working.. is there a # sign there since it uses id ?
hi joshperry, when i integrate into mootool , it won't workand gives an error as below in IE8: But in FF it wotks fine
(pls replace httppp to http for the error below)
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDS) Timestamp: Sun, 22 Aug 2010 18:28:27 UTC
Message: Invalid argument. Line: 2200 Char: 3 Code: 0 URI: httppp://dev.bluechipvacations.com/plugins/system/mootools1.2/mootools.js.php?compat=1&nc=1
Message: Object doesn't support this property or method Line: 2908 Char: 3 Code: 0 URI: httppp://dev.bluechipvacations.com/plugins/system/mootools1.2/mootools.js.php?compat=1&nc=1
Any idea?