Congratulations to AcaCandy on her 100,000th post!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot bsod computer connection crash css dell driver drivers email error ethernet excel firefox firefox 3 hard drive internet internet explorer itunes laptop linux malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express partition password printer problem router slow software sound spyware trojan usb video virus vista windows windows xp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
CSS List Menu's


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
matt-h's Avatar
Computer Specs
Senior Member with 315 posts.
 
Join Date: Apr 2006
Location: Warks, ENGLAND
07-May-2007, 12:06 PM #1
CSS List Menu's
Hi, I am upgrading my site to use php, which means I can ditch my complicated JS menu for a easier to manage CSS menu.

I have been using
http://alistapart.com/articles/horizdropdowns
as the guide. If there is a better one more suited to my needs, just point me in the right direction.

My Site with PHP
Original Site

But I am having problems with them popping out. How do I sort the third tier out? All the LI's and UI's in the code confuse me.

Also, how do I set a different colour for hovering (like on the old JS menu)?

I have been mucking around with the code but cant work it out.

Also, there is apparently a IE problem according to the tutorial site, but I think I know how to fix it, having used the code before with a much simpler menu.

Thanks in advance.
deepdiver01's Avatar
Senior Member with 729 posts.
 
Join Date: Dec 2004
Location: Cairns, Australia
Experience: Intermediate
08-May-2007, 04:55 AM #2
There are many scripts out there for horizontal and vertical pop out menus. Just google css drop down menus and take your pick.

I haven't used any so I cannot state which one works best. Sorry.

In regard the different link colors, use use the following in your css. In this instance, I am changing the color on hover and also underlining the link only when you hover as well

Code:
a {
  color: #000000;
  text-decoration: none;
}

a:hover {
  color: #FF0000;
  text-decoration: underline;
}

Deep
__________________
Six mumfs ago I coodnt spel injineer. Now I are wun.

Domain Names, Web Hosting
Free Online Games | Free Flash Games
Australian Domain Names
Motor Finance Wizard Information Base
MMJ's Avatar
MMJ MMJ is offline
Distinguished Member with 3,247 posts.
 
Join Date: Oct 2006
08-May-2007, 11:59 AM #3
php and js do two different things.

How does "upgrading my site to use php" allow you to "ditch my complicated JS menu"?
matt-h's Avatar
Computer Specs
Senior Member with 315 posts.
 
Join Date: Apr 2006
Location: Warks, ENGLAND
08-May-2007, 01:29 PM #4
Because before I had a complicated JS menu, because I wanted a menu that was manageable from one file. Now I use PHP, so I can use a single and seperate PHP file, ie. every page refers to it by using this code:
Code:
("http://www.agsvi.co.uk/phptest/inc/menu.php"); ?>
I am using a different menu, which is working quite well. However there are a few noticeable problems. I am trying to sort it out.

Text size is screwed up in IE7.
I would like the arrows (which are part of the background) to only appear if there is a submenu for that selection. Is there anything I can do with the CSS to do this, or shall I just include the image in the html?

EDIT: I am using yet another one which solves the arrow problem. Still WIP atm

Last edited by matt-h : 08-May-2007 03:32 PM.
MMJ's Avatar
MMJ MMJ is offline
Distinguished Member with 3,247 posts.
 
Join Date: Oct 2006
08-May-2007, 04:02 PM #5
Oh, ok.
Sequal7's Avatar
Computer Specs
Distinguished Member with 2,369 posts.
 
Join Date: Apr 2001
Location: Around the corner!
Experience: Including today?
08-May-2007, 05:14 PM #6
It is amazing how many think that server side scripting languages are required to use server side includes.

There is no need to do this using php, you can use a simple file extension change to .shtml (instead of html) to include server side language and your page can include it as;

<!--#include virtual="yourpage.htm"-->

Sample of this
__________________
Good Luck on your fix

My real hobby..JoyCo
My real Job..(Second Hobby) IAFF Local 1865
Like the sites? My hobby is the one that created them!
matt-h's Avatar
Computer Specs
Senior Member with 315 posts.
 
Join Date: Apr 2006
Location: Warks, ENGLAND
09-May-2007, 03:54 PM #7
OK, I have been playing around with the menu loads and it works exactly as I want in Firefox 2 and Internet Explorer 7 at both 1024x768px and 800x600px. I think the site is pretty much bug free now. Any advice and critique is still welcome. One problem is that IE renders images strangely, for instance the #CC0000 red in the images actually appears as #C60000 in IE7 for some strange reason.
matt-h's Avatar
Computer Specs
Senior Member with 315 posts.
 
Join Date: Apr 2006
Location: Warks, ENGLAND
09-May-2007, 04:09 PM #8
ARGHHH - Problem - The Javascript slideshow appears above the menu when you go through to a third tier. Haven't got a clue where to start with this.
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:14 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.