Flyout Problems....newbie

This is a discussion on "Flyout Problems....newbie" within the Web Page Design section. This forum, and the thread "Flyout Problems....newbie 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 Jun 17th, 2008, 14:00
New Member
Join Date: Jun 2008
Location: UK
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Flyout Problems....newbie

Hi guys, came across your forum awhile back whilst trying to teach myself web design.

Im currently redesigning a website for a friend www.waymillpools.co.uk but am having with producing a working flyout menu for the left side:

here is the new homepage im building
http://waymillpools.co.uk/Rebuild/index.html

Clicking on swimming pools causes the other options to appear. There is a transparent layer over the whole thing that when the user mouses over away from the main menu or the sub menu that appears should hide the sub menu. Behaviours are all correct in dreamweaver as far as I can tell but it just wont work in firefox, does work in IE. Any ideas? Treat me like a complete idiot as I am. Complete hash job but Im learning on the go im afraid.

Regards
T
Reply With Quote

  #2 (permalink)  
Old Jun 23rd, 2008, 14:11
New Member
Join Date: Jun 2008
Location: UK
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Re: Flyout Problems....newbie

ok so ive got something working:
http://waymillpools.co.uk/Rebuild/index.html
but as you can see the sub menu is appear too far to the left. And i cant for the life of me work out why.

heres the CSS im using:
Code: Select all
.menu { margin: 10px; height: 100px; font-size: 10pt; font-family: verdana; }
.menu ul { margin: 0pt; padding: 0pt; position: relative; z-index: 500; list-style-type: none; width: 11em; }
.menu li { background-color:transparent; float: left; }
.menu li.sub { background-color: #ccffff; }
.menu table { position: absolute; border-collapse: collapse; top: 0pt; left: 0pt; z-index: 100; font-size: 1em; margin-top: 0px; }
.menu a, .menu a:visited { border: 0px solid #ffffff; display: block; text-decoration: none; height: 2em; line-height: 2em; width: 11em; color: #000000; padding-left: 1em; font-weight: normal; font-style: normal; font-variant: normal; text-transform: none; }
.menu b { float: right; margin-right: 0px; }
* html .menu a, * html .menu a:visited { width: 11em; }
* html .menu a:hover { color: #000000; background-color: ransparent; position: relative; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; text-transform: none; }
.menu li:hover { position: relative; }
.menu a:active, .menu a:focus { color: #000000; background-color:transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; text-transform: none; }
.menu li:hover > a { color: #000000; background-color:transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; text-transform: none; }
.menu li ul {padding: 2em;    position: absolute;    top: -2em;    left: 7em;    background-color: transparent;    visibility: hidden;
}
.menu li:hover > ul { visibility: visible; }
.menu ul a:hover ul ul { visibility: hidden; }
.menu ul a:hover ul a:hover ul ul { visibility: hidden; }
.menu ul a:hover ul a:hover ul a:hover ul ul { visibility: hidden; }
.menu ul a:hover ul { visibility: visible; }
.menu ul a:hover ul a:hover ul { visibility: visible; }
.menu ul a:hover ul a:hover ul a:hover ul { visibility: visible; }
.menu ul a:hover ul a:hover ul a:hover ul a:hover ul { visibility: visible; }
If anyone could have a look see would be really appreciated.
Reply With Quote
  #3 (permalink)  
Old Jun 25th, 2008, 23:06
Up'n'Coming Member
Join Date: Jun 2008
Location: Australia
Posts: 80
Thanks: 0
Thanked 4 Times in 4 Posts
Re: Flyout Problems....newbie

For your class ".menu li ul{}" try setting the left attribute to a greater number like "left: 10em;"
If this moves it, just fiddle round with it to your liking.
Reply With Quote
The Following User Says Thank You to Grubious For This Useful Post:
  #4 (permalink)  
Old Jun 26th, 2008, 07:55
New Member
Join Date: Jun 2008
Location: UK
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Re: Flyout Problems....newbie

thats brilliant cheers, what a plonker i was being, thanks mate much appreciated. Actually starting to understand this CSS stuff a bit now .
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
Newbie with problems with Ap div aligment megb6806 Starting Out 4 Nov 17th, 2007 08:58
[SOLVED] Newbie having a few CSS problems!! Graeme36 Web Page Design 18 Sep 29th, 2007 16:27
Should be simple problems but im a complete newbie digi duck PHP Forum 8 Jan 8th, 2007 09:47
Newbie with binary-upload-problems martinnn Introduce Yourself 4 Nov 1st, 2006 00:49
Trying to get this flyout menu to flyout the opposite way davva Web Page Design 6 Aug 30th, 2006 19:48


All times are GMT. The time now is 05: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