Log in

View Full Version : Frames and floating menus



latendresse76
12-14-2010, 12:47 AM
I'm working on redoing navigation on a site and it uses frames. the left frame is the navigation and what i want is to do an on mouse over for the links.

what i was wondering is can a floating menu like i used in the trial float over a different frame?

should i scrap it?

jscheuer1
12-14-2010, 04:55 AM
I'd say scrap it. Use a server side or AJAX include. However, if you want to stick with it, this:

http://www.dynamicdrive.com/forums/showthread.php?p=184270#post184270

By another member of these forums might work out for you.

latendresse76
12-16-2010, 10:57 AM
you are the first of three people that have said ajax so i'm looking that way. i just wish i had stuck with HTML in 1999 when i learned most of what i know. there is a lot more to it now and i would know a lot more if i didn't take a 8 year break.

thanks for the pointers

jscheuer1
12-16-2010, 11:54 AM
Using an include can get tricky insofar as the code that's imported becomes a part of the 'top' page. So paths on the import, if relative, become relative to the 'top' page. When importing one should make every effort not to import additional <DOCTYPE>, <html>, <head>, or <body> tags. AJAX is even trickier because its content arrives after page load, and therefore <script> and <style> tags become at best problematic, and at worst useless. With a server side include, at least it arrives in 'real time', as the page is loading.