Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 5th, 2003, 02:02 PM
Registered User
 
Join Date: Jun 2003
Location: Sloatsburg, NY, USA.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Navigation

I would like to make a nav bar which looks like and has similar functionality as the on on this page: http://www.webscribble.com
I am not sure how to accomplish this, should i use Frames or is there another way to have the tabs change appearance from page to page.

Thanks,
Jon
Reply With Quote
  #2 (permalink)  
Old July 6th, 2003, 05:33 AM
Imar's Avatar
Wrox Author
Points: 72,045, Level: 100
Points: 72,045, Level: 100 Points: 72,045, Level: 100 Points: 72,045, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,083
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

As far as I can see, this is not too difficult. There is no need for frames; all you need to do is display the correct images in each page, for example:

{page1.html}
imgTab1_On.gif
imgTab2_Off.gif
imgTab3_Off.gif

{page2.html}
imgTab1_Off.gif
imgTab2_On.gif
imgTab3_Off.gif

{page3.html}
imgTab1_Off.gif
imgTab2_Off.gif
imgTab3_On.gif

On the first page, imgTab1 is selected (the _On.gif image). The same is true for the second page with the second tab and so on.

So all you need to do is display the "selected" tab with an image on the page the user has browsed to. You can even do this with a server side technology like ASP or PHP etc and then use the QueryString to determine which tab to select.

HtH

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Navigation sg48 ASP.NET 2.0 Basics 2 February 13th, 2008 12:18 PM
Navigation volsha Dreamweaver (all versions) 1 July 20th, 2007 03:19 PM
navigation nidheeshkayal ASP.NET 2.0 Basics 0 March 16th, 2006 07:05 AM
How do I get a menu/navigation look like this? R/O LuxeGirl Classic ASP Basics 4 January 22nd, 2005 08:04 PM
Page Navigation surendran PHP How-To 1 August 2nd, 2004 12:57 PM



All times are GMT -4. The time now is 12:31 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.