Go Back   SitePoint Forums > Forum Index > Design Your Site > Web Page Design
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
Reply
 
Thread Tools Display Modes
Old Apr 23, 2002, 12:13   #1
Muscle Croc
SitePoint Enthusiast
 
Join Date: Apr 2002
Posts: 26
How would i make a pull down menu/one from top one from left?

Basically, here is my site im designing:

http://www.whackystories.com/

I want it like this:


The top options, i would have options such as:

Stories Section | Sound Clips | Jokes Section | Whacky Pictures | Whacky Games | Links


When you hover over each a drop down menu appears, IE stories will show the 10-12 or whatever different sections for stories.

Down the left i would like a similar style but of course from the left.


How is this done? i see it on many websites and would love to do it myself. I have php access, i can do anything with my host but no ASP.


Thanks
Muscle Croc is offline   Reply With Quote
Old Apr 23, 2002, 13:30   #2
samsm
SitePoint Wizard
 
samsm's Avatar
 
Join Date: Nov 2001
Location: Atlanta, GA, USA
Posts: 5,059
When I have made those sorts of drop down menus it has been using layers and prepackaged javascript from GoLive or Dreamweaver.

Alternately, the javascript could be hand coded or taken from a free javascript site.

Anyway, once you have the static structure for the drop-down taken care of, you can use php to dynamically populate the layers.

Alright, does that make any sence? There are really two things that have to happen for this to work:
1. PHP grabs info from database, constructs page.
2. Javascript on page allows for user to interact with page.

If you have more specific how-to questions, please post again
samsm is offline   Reply With Quote
Old Apr 24, 2002, 05:35   #3
Muscle Croc
SitePoint Enthusiast
 
Join Date: Apr 2002
Posts: 26
TBH that all went over my head
Muscle Croc is offline   Reply With Quote
Old Apr 24, 2002, 08:58   #4
samsm
SitePoint Wizard
 
samsm's Avatar
 
Join Date: Nov 2001
Location: Atlanta, GA, USA
Posts: 5,059
Ok, lets say that you are making a static website and you want those hoover-activated drop down menus.

This is simular to the turorial that taught me how to do it. This will make it very clear how to do it with GoLive, give you the general idea of how to do it with Dreamweaver.

Understanding Drop-Down Menu Effects, by Bahadir Cinar
http://www.ripplestorm.com/pages/tut..._down_tut.html

Here's a link to a non-Gui method of making a DHTML popup menu.
http://www.twinhelix.com/dhtml/scripts/popup.html
http://www.twinhelix.com/dhtml/scripts/dhtml.zip

Hope that starts you in the right direction!
Post again if you need more help!
samsm is offline   Reply With Quote
Old Apr 24, 2002, 11:45   #5
Muscle Croc
SitePoint Enthusiast
 
Join Date: Apr 2002
Posts: 26
thanks mate im gonna look over this tonight, i appreciate it


While im here, this is a major problem for me at the moment and my main priority, without this i cant do anything.


http://sitepointforum.com/showthread...threadid=57317



Thanks again
Muscle Croc is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread | Next Thread »

Thread Tools
Display Modes

 
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
Sponsored Links
 
Forum Jump


All times are GMT -7. The time now is 17:38.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved