> Thanks Isaac..I'll try that on the select boxes... but I'd
> really appreciate
> it if you can get me the specifics on the positioning of
> the menu.
Hey Tim...
I use this to get the width of the client window from either Netscape or IE
..
The _trim() function is part of the qFormsAPI and can probably be
eliminated.
if (_trim(navigator.appName).toUpperCase()=="NETSCAPE") { var toFit =
window.innerWidth; }
else { var toFit = document.body.clientWidth; }
Once you know this, you can then set the left positioning of the menu to
place it in the center or relative to the center...
if (_trim(navigator.appName).toUpperCase()=="NETSCAPE") {
var center = window.innerWidth/2;
mymenu.left = center - mymenu.width/2;
} else {
var center = document.body.clientWidth/2;
mymenu.style.pixelWidth = center - mymenu.pixelWidth/2;
}
or something to that effect... now when the browser is resized, of course
the menu will move... In Explorer you can place this above code in a
function and specify it in the window.onscroll event... I don't remember how
to accomplish that in Netscape ... come to think of it I don't think I ever
did...
hth -- sorry I couldn't be more helpful.
Isaac
Certified Advanced ColdFusion 5 Developer
www.turnkey.to
954-776-0046
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists