floating menu script - please help

admin

Administrator
Staff member
hi - heres part a script i'm using to create a floating menu on the left of my webpage. The only problem is when i check my webpage at 800*600 res - it shifts my menu to an "undesired" position covering part of my top banner, i was hoping someone could help me construct an if statement in here to check the resolution of the users screen and then make a decision on which starting point to use. i've highlighted where i think the conditional statement should go (cause its the only part ive changed to move the layer up/down the screen). Thanks for any help ...
---------------------------------------------
<script type="text/javascript">

var verticalpos="frombottom"

if (!document.layers)
document.write('</div>')

function JSFX_FloatTopDiv()
{
var startX = 0,
startY = 400;
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
function ml(id)
{
 
Back
Top