Jump to content

Drop-down menu/Slideshow


the.shadw.dragn

Recommended Posts

Hey, I am working on my first clients website. He wants a slideshow as well as a drop-down menu navigation bar. I know you can achieve both of these effects without javascript, I was just wondering which way is ultimately better (faster, cleaner etc). And if javascript is better, could you point me in the direction of a script/tutorial for both of these tasks. Thanks

 

David

Link to comment
Share on other sites

Hi, just css is better because it always works, JavaScript is better because it normally makes it look and act cooler. So it depends on your perspective.

 

Menu...

 

Here is a css drop down. Adding js basically just makes it fade in out slower.

http://www.visibilityinherit.com/code/drop-down.php

 

Photo gallery...

 

Here is a typical representation of what you will get with just css

http://www.visibilityinherit.com/code/the-jamieruth.php

 

Here is a typical representation of what you will get with javascript.

http://www.visibilityinherit.com/code/the-photo-gallery/gallery.php

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...