By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,494 Members | 1,957 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,494 IT Pros & Developers. It's quick & easy.

floating menus

P: 74
can someone tell me how floating menu's work such as on this site. is it all in css?

cheer
philleep
Apr 13 '07 #1
Share this Question
Share on Google+
4 Replies


jhardman
Expert 2.5K+
P: 3,405
can someone tell me how floating menu's work such as on this site. is it all in css?

cheer
philleep
No, it's all javascript. I'm not going to try to dig reallydeep, but essentially as your mouse passes over a certain point, a hidden menu appears. The reason the code isn't apparent is that it's all in another file linked to in these lines:
[html]<SCRIPT language=JavaScript src="http://www.candlelighters.org/js/menu_cccf.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="http://www.candlelighters.org/js/mmenu.js" type=text/javascript></SCRIPT>
[/html]There are simpler ways to do this same effect. I don't think you can do it all with css.

Jared
Apr 14 '07 #2

drhowarddrfine
Expert 5K+
P: 7,435
Yes, you can do it in all CSS, and I can supply a link if needed.
Apr 14 '07 #3

P: 74
Yes, you can do it in all CSS, and I can supply a link if needed.
a link would be good please!
Apr 16 '07 #4

drhowarddrfine
Expert 5K+
P: 7,435
CSSPlay is a great site. He tends to experiment a lot so don't get tangled up in anything too complicated.
Apr 18 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.