[SOLVED] Fly-out menu problems

This is a discussion on "[SOLVED] Fly-out menu problems" within the Web Page Design section. This forum, and the thread "[SOLVED] Fly-out menu problems are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 28th, 2008, 14:58
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] Fly-out menu problems

Me and relative/absolute position don't really get along lately

* removed link since it's solved *

If you hover over "Informations" or "Locations" in the menu, you *should* notice a box at the top of the screen ... that's my drop-down/fly-out menu that copied from

http://www.cssplay.co.uk/menus/pro_d..._dropdown.html

But because of the absolute positioning here

Code: Select all
#navigation ul :hover .sub {
height:25px;
display:block; 
position:absolute;
float:left;
top:28px; 
left:0; 
text-align:center;
}
I'm having a really hard time getting that hover box to show in the light green section ....

Help!?

Last edited by karinne; Jan 30th, 2008 at 13:28.
Reply With Quote

  #2 (permalink)  
Old Jan 28th, 2008, 16:43
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Fly-out menu problems

In your CSS, the #navigation div has position:relative commented out.

You would need to make #navigation position:relative so that the abolutely positioned .sub elements are absolute based on the #navigation div. As it stands, they are absolutely position based on the main parent body tag.
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
Reply With Quote
  #3 (permalink)  
Old Jan 28th, 2008, 17:12
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Fly-out menu problems

bah ... of course! That worked!

Now ... why isn't mine working in IE6?
Reply With Quote
  #4 (permalink)  
Old Jan 28th, 2008, 17:17
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Fly-out menu problems

Not working? Is it the hovering or the link not showing?
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
Reply With Quote
  #5 (permalink)  
Old Jan 28th, 2008, 17:22
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Fly-out menu problems

The submenu isn't showing up at all in IE6 ... don't know if it works or not in IE7 as I don't have it here.
Reply With Quote
  #6 (permalink)  
Old Jan 28th, 2008, 17:25
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: Fly-out menu problems

It does work in IE7 Karinne.
Looks like you'll have to use IE conditionals.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #7 (permalink)  
Old Jan 28th, 2008, 17:29
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Fly-out menu problems

Hmmm... Thanks for checking Alex.

Ugh! I hate IE6.
Reply With Quote
  #8 (permalink)  
Old Jan 28th, 2008, 17:36
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Fly-out menu problems

Is it completely CSS based? If it is, IE6 does not support the :hover pseudo class on anything but links
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
Reply With Quote
  #9 (permalink)  
Old Jan 28th, 2008, 17:38
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Fly-out menu problems

It's completely css based however ... if you look at the link from cssplay in original post, you'll notice that that one works
Reply With Quote
  #10 (permalink)  
Old Jan 28th, 2008, 17:48
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Fly-out menu problems

I had a look at their code and it's riddled with conditional comments for IE 6 & 7 That would be why, unless you're using the same HTML exactly.
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
Reply With Quote
  #11 (permalink)  
Old Jan 28th, 2008, 17:49
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Fly-out menu problems

I'm using the same HTML
Reply With Quote
  #12 (permalink)  
Old Jan 30th, 2008, 12:59
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Fly-out menu problems

Nevermind. ... I got it working but I don't know what I did to fix it.

I just re-copied the code from cssplay and it worked

Last edited by karinne; Jan 30th, 2008 at 13:28.
Reply With Quote
  #13 (permalink)  
Old Jan 30th, 2008, 13:43
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: [SOLVED] Fly-out menu problems

LOL.. I forgot to reply but I had both menus lined up in front of me, yours and the CSS sites and they looked structurally identical but yours just wasn't working..

Sorted now though, yay!
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
Reply With Quote
  #14 (permalink)  
Old Jan 30th, 2008, 13:45
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: [SOLVED] Fly-out menu problems

Yeah ... I'm not sure ... probably some CSS part I deleted Oh well ... it works now! I can finally get on with that site and launch it!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Menu problems CSS danny322 Web Page Design 1 Feb 22nd, 2008 19:49
Having problems with a drop down menu eminee JavaScript Forum 7 Jan 8th, 2008 17:29
Problems with menu Francesca15 Web Page Design 2 May 10th, 2007 15:19
Menu problems in IE7 alsdevelopments Web Page Design 6 Apr 5th, 2007 15:57
html menu problems chobo Web Page Design 14 Mar 2nd, 2004 07:47


All times are GMT. The time now is 16:37.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43