HTML Code ClinicDo 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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
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.
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:
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.