Alright, so I have some of the “simple jquery” dropdown code now in place and I’ve gotten varied results with different browsers, (obviously).
For the most part, the way I put it together was have the entire body of content appear within a <div> tag with the “page-wrap” id that is shown in the jquery tutorial. Within that, I also have nested <div> tags for the menu buttons and also the visible/invisible hidden layers. I gave each of these their own specific “page-wrap” id and since the menu buttons are nested together with the drop-down hidden layers, they match position perfectly since they always follow each other no matter how large or small the browser window is.
Another important matter is that these drop-downs partially float over a flash intro that appears only on the index page.
In Safari, this looks great, except for the “long” extra vertical scroll available about twice the size of my body content. This apparently occurs due to the <div> tag being in place, though I don’t know which one is affecting it, nor how to remedy the situation since the buttons all appear to be working fine.
Firefox appears to have no problem whatsoever. The menus and hidden layers follow each other when you make the browser window larger and smaller and there’s no extra scroll or anything. Ideally, this is how I’d like it to function in every browser.
With Opera, on my main desktop it’s apparently crashing the browser while loading the page. That could maybe be the Flash .swf, but I’m not certain. On my laptop, it works a little better but what happens with the layers is while mousing over the drop-down menu, the areas that float over the .swf file tend to have the background color of the layer disappear. I would love to be able to fix this, of course.
Internet Explorer is a whole different story. For starters, I’m on a mac, so I’m testing it in IE 5.04. Unfortunately Microsoft hasn’t updated IE for the mac side in a LONG time. Since installing it, I needed to install the Flash Player in order to view my intro, however going to the Adobe site to acquire the plug-in, one of the “Continue” buttons is done with Flash so since I don’t already have it, (but trying to get it ironically), clicking on it doesn’t do anything.
At least testing it in IE without Flash, I get a vertical as well as a horizontal scroll about double the size of my body content. In addition, my menu buttons don’t even appear. This part is a huge headache because even though I’m on a mac and having problems with this, chances are there will be more users viewing this site with IE on a PC.
I feel like I’m really close with the exception of how it’s functioning in Opera and IE. No vertical scroll on Safari would be nice, too.
I’m including the files on my web server so that they can be viewed as well as downloaded and tested. I appreciate any help or direction I can get.
Download here:
http://www.ghcreativemedia.com/dropBox/site_090209.zip
View in browser here:
http://www.ghcreativemedia.com/testFiles/site_090209/
Thanks.