Wolfey offers Tygra a crystal ball and asks if they will let me know when they spot Uppy lol.
He may be over in the corner by the wooden rocking horse's pile of poop.
Just kidding Chris mate lol.
![]() |
|
|||||||
| Web Design - "a:hover" posted in the Web & Networking forums; Wolfey offers Tygra a crystal ball and asks if they will let me know when they spot Uppy lol. He may be over in the corner by the wooden rocking ... |
|
|
|
#8 |
|
Tech Support Team
![]() Join Date: Nov 2006
Location: In the Slaughtered Lamb having a pint.
Posts: 4,484 PC Experience: Smarter than the average Bear
|
__________________
|
|
|
|
| Advertisement - Register to Remove | |
|
|
|
#9 |
|
Silver Member
![]() Join Date: Dec 2007
Posts: 137 PC Experience: Experienced
|
Has Upgrader taken some time off or something?
Wolfeymole, is there any chance you could get DarkLord to come over here and help me out please? |
|
|
|
|
|
#10 |
|
Tech Team Leader
![]() ![]() Join Date: Sep 2008
Location: Heart of the US Midwest
Posts: 6,179 PC Experience: Perpetual Student
|
Tygra,
I've just had DarkLord on IM. He'll get to you as soon as he gets a break at work.
__________________
DCiAdmin PCHF Rules / PreWork / AfterWork / PCHF Downloads / System File Checker Thank you for entrusting your system to PCHF! |
|
|
|
|
|
#11 |
|
Web Developer
![]() ![]() Join Date: Sep 2005
Location: West Palm Beach, FL
Posts: 1,814 PC Experience: Of Epic Proportions
|
Hey Tygra,
DCiAdmin informed me ya needed some help with CSS flyout menus. Looking at the link you posted on the previous page, I can see where you get confused, the code isn't exactly user-friendly, and is actually a pretty poor example of CSS usage. What exactly is confusing you? Would you like me to write an easier to read and understand example? Also, by CSS popout, you mean a static menu? i.e. Link 1 Link 2 --Link 2.1 --Link 2.2 ----Link 2.2.1 Link 3
__________________
Custom WordPress, ZenCart, Joomla, vBulletin, etc installs and skinning, PM/E-Mail for a quote
|
|
|
|
|
|
#12 |
|
Silver Member
![]() Join Date: Dec 2007
Posts: 137 PC Experience: Experienced
|
Hi DarkLord.
I get confused basically when it starts going like this... div#menu ul ul li:hover ul {display: block;} div#menu ul ul ul, div#menu ul ul li:hover ul ul {display: none;} div#menu ul ul li:hover ul {display: block;} div#menu ul ul ul, div#menu ul ul li:hover ul ul {display: none;} div#menu ul ul li:hover ul, div#menu ul ul ul li:hover ul {display: block;} I think I understand the reason why "display: none, and display: block" are in there, but I don't understand why there are "4 ul's" in the CSS and the order they are going in with the li:hover. Last edited by Tygra; 1 Week Ago at 06:04 PM. |
|
|
|
|
|
#13 |
|
Web Developer
![]() ![]() Join Date: Sep 2005
Location: West Palm Beach, FL
Posts: 1,814 PC Experience: Of Epic Proportions
|
Ah.. alright, here's how it works:
When you have nested elements such as: Code:
<div>
<div>
<a>Link 1</a>
</div>
<a>Link 2</a>
</div>
Code:
div div a { css stuff }
Code:
div a { css }
So let's take a look at the CSS example: div#menu ul ul li:hover ul That means you're going into the div of ID menu, and looking at the UL that's inside the LI, which is inside 2 more ULs, so the code you're referencing is as follows: Code:
<div id="menu">
<ul>
<ul>
<li>
<ul>
This UL is the one referenced
</ul>
</li>
</ul>
</ul>
</div>
I hope this help clear it up a bit for you, if not, let me know and I'll show you a different example.
__________________
Custom WordPress, ZenCart, Joomla, vBulletin, etc installs and skinning, PM/E-Mail for a quote
Last edited by DarkLord7854; 1 Week Ago at 08:30 PM. |
|
|
|
|
|
#14 |
|
Silver Member
![]() Join Date: Dec 2007
Posts: 137 PC Experience: Experienced
|
Thanks DarkLord for your help.
![]() I thought I understood what you told me and I tried adding an extra ul into the list, but I made a total mess of it, and it did'nt come out right. Here's what I tried with the CSS... #menu ul ul ul ul {position: absolute; top: 0; left: 100%; width: 100%;} div#menu ul ul ul ul {display: none;} div#menu ul ul li:hover ul ul ul {display: block;} div#menu ul ul ul ul, div#menu ul ul li:hover ul ul ul {display: none;} div#menu ul ul li:hover ul ul ul{display: block;} div#menu ul ul ul ul, div#menu ul ul li:hover ul ul ul {display: none;} div#menu ul ul li:hover ul ul ul, div#menu ul ul ul li:hover ul ul {display: block;} div#menu ul ul ul ul, div#menu ul ul ul ul li:hover ul {display: none;} div#menu ul ul ul ul, div#menu ul ul ul ul li:hover ul {display: block;} Hope you can help! |
|
|
|
![]() |
| Bookmarks |
| Tags |
| ahover, Open: |
| Thread Tools | |
| Display Modes | |
|
|































Linear Mode

