CSS drop down menu not working (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


tjpitches -> CSS drop down menu not working (10/5/2006 12:56:47)

some time ago i created a REAL NEAT css drop down menu based on the stu nichols site. i was very happy with it and tested it in several browsers with much success.
now i want to use that menu as an INCLUDE in FP2003, and have not had luck.
i have created a page with table ... top, three middle columns, and bottom.
i want to use the CSS menu as an INCLUDE in the top section.

when i select INSERT, COMPONENT, PAGE, and the css menu file, it DOES insert it ... but all of the cool formating is gone.
all i get is blue text, hyperlinks.

you can see the menu at www.sunnyridge.org/default.htm

any suggestions?
thanks.
tj




Tailslide -> RE: CSS drop down menu not working (10/6/2006 2:47:09)

The formatting looks fine to me in FF and IE6 - the dropdowns aren't working in IE6 though, was there a Javascript element to the menu to force it to work in Incompetent Explorer?




treetopsranch -> RE: CSS drop down menu not working (10/6/2006 9:34:00)

TJ - That menu doesn't work in Netscape either (at least not in the version I tested)




tjpitches -> RE: CSS drop down menu not working (10/6/2006 10:57:54)

yikes! sorry -- that was an older version.
if you'll exuse the obnoxious colors ... here's the version that was working in IE6 ...

www.sunnyridge.org/defaultORANGE.htm

thanks, guys.




jaybee -> RE: CSS drop down menu not working (10/6/2006 16:25:30)

Working fine in IE and Firefox. Oh sorry, was that not the question? [&:]

What's your host? Unix, windows?




jaybee -> RE: CSS drop down menu not working (10/6/2006 16:31:38)

You can't just include the whole page.

Take a look in the tutorials up the top on the blue bar. It explains about includes. You'll also need to get all that css out into a separate file. If you get stuck, shout.




tjpitches -> RE: CSS drop down menu not working (10/13/2006 15:10:44)

hi jaybee!
first off, how fast is a speeding banana?

but now on to businesss! well, i've studied the tutorial on INCLUDES. great and helpful. but i'm stuck on this: the tutorial says:

"When an FP include is added to your final page, only the content between the <body> and </body> tags is included. In the normal run of things this has little significance, but if you are using a JavaScript in your include page it becomes important. Most JavaScripts will have a portion that goes in the <head></head> part of the page, or will require a link to an external script in the head of the page. Since this part of the page is left behind in the case of an include, it must either be placed in the head of the final page or moved to the body part of the include page.

Similarly any part of the script that goes within the <body> tag itself must be added to the <body> tag of the final page."

Question: it didn't say anything about fancy CSS drop down menus ... just "JavaScript" ... but how much do i need to "peel" away at the CSS menu page in order to make it work as an include? all of the CSS is in the HEAD section, not the body.
here's my guess:
1. pull out all the CSS out of the HEAD section and call it "menu.css" (this is my external style sheet?)
2. save the actual menu "tree" or navigation as "menu.html" and have use the external style sheet in it ("menu.css")
3. include the page "menu.html" in my header of my main or "finished" page??

tell me if i'm on the road ????
thanks.
tj




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
4.699707E-02