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
| FAQ | Members List | 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 August 11th, 2005, 09:45 PM
Authorized User
 
Join Date: Jul 2003
Location: , , .
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help with tab page

I want to design a tab page,like follows:
___________
|Tab1 | Tab2|
--------------------
|¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡|
|¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡|
---------------------

The color of Tab1 and Tab2 are black,when I click Tab1,the Tab1 change color from black to white,when I click Tab2,the Tab2 change color from black to white and the Tab1 restore its color to black at the same time.

I don't know how to realize it. Would you give some example code? My code is follows:
<table width="100%" height="60" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="25" valign="bottom" bgcolor="#2E5B78">
<table width="400" height="25" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="75" align="center" bgcolor="#FFFFFF"><a href="main.htm" target="mainFrame" class="BLink">Tab1</a></td>
<td width="75" align="center"><a href="main2.htm" target="mainFrame" class="CLink">Tab2</a></td>
</tr>
</table>
</td>
</tr>
</table>

Any idea will be appreciated!

Reply With Quote
  #2 (permalink)  
Old August 12th, 2005, 05:01 AM
Friend of Wrox
 
Join Date: May 2003
Location: Delhi, Delhi, India.
Posts: 230
Thanks: 0
Thanked 0 Times in 0 Posts
Default

A simple search on google will return the following :

http://www.alistapart.com/articles/slidingdoors/

http://labs.silverorange.com/archive.../updatedsimple

http://www.clagnut.com/sandbox/cssta...ngtext=csstabs



Charul Shukla
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
Cross-tab running off the page sanjumodgil ASP.NET 1.0 and 1.1 Basics 0 January 19th, 2007 12:41 PM
Hiding tab page headings badgolfer VS.NET 2002/2003 1 June 15th, 2005 04:29 PM
Print Dialogue for Forms per tab/page jaip2p Access VBA 1 November 20th, 2003 12:33 PM
Tab page soccers_guy10 Pro VB.NET 2002/2003 1 October 21st, 2003 04:01 AM
Tab page problem melvik C# 0 September 23rd, 2003 09:10 AM



All times are GMT -4. The time now is 05:07 AM.


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