473,394 Members | 1,875 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

"YouTube-style" Tabbed Menu w/ Sublinks?

Hey TheScripts,

I am new to the forum. Thanks for taking the time to read my first post!

Anyway, I'm pretty fluent in XHTML and CSS. However, when it comes to PHP, I'm a n00b for sure.

I'm working on a site that needs a tabbed interface with sublinks (similar to YouTube). See below:



I think the code I'm looking for would be something like,

if currentPage = blah, then include xxx.php. Seems like a simple conditional include?

Is this the correct way to implement this, or is there a simpler way? Basically, the system needs to be smart enough to know that "sublink X means stay on main tab X." Kind of a Parent --> Child deal...

Thanks in advance...
Oct 24 '06 #1
4 2076
Anybody have an idea?
Oct 24 '06 #2
ronverdonk
4,258 Expert 4TB
There are solutions available that are almost entirely made up of HTML and CSS. Have a look at the site of CSS guru Stuart Nicholls. It will show you dozens of examples for menus. Look at Stu Nicholls Menu demos

Ronald :cool:
Oct 24 '06 #3
http://www.dynamicdrive.com/dynamici...axtabscontent/
The new norm....

gee no php required.
If you are dying to use php for some reason within your interface logic - drive the links with GET vars and use a switch case to choose the include statement.
That's the standard.
Oct 24 '06 #4
Thanks, guys. I've looked at the CSS Play site before and AListApart.com's Sliding Doors. However, I'm looking for something that is a little more static and that will alow me to designate which tab is active.

I'll do some research on PHP's GET function.
Oct 24 '06 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: thermate | last post by:
Dr.Bricmont, We are extremely proud of you for your brilliant analysis and courage to come out and say it. Your article brings out not one but several key concepts, worth close reading. The...
0
by: 2Barter.net | last post by:
Date: Feb 24, 2007 12:12 PM Subject: Re: " Skit Kittie Cat Skit " On "CLICK" to see laughing, chuckling, chortling, guffawing, giggling, tittering, twittering, cackling, sniggering; informal...
0
by: 2Barter.net | last post by:
newsmail@reuters.uk.ed10.net Fwd: Money for New Orleans, AL & GA Inbox Reply Reply to all Forward Print Add 2Barter.net to Contacts list Delete this message Report phishing Show original
0
by: 2Barter.net | last post by:
Date: Jul 8, 2007 9:50 AM Subject: Faith is like? To: http://video.google.com/videoplay?docid=-6593906684323060189 Cc: http://www.youtube.com/watch?v=1tCUeAAK9fg Bcc:...
3
by: =?Utf-8?B?ZG5vcnJpcw==?= | last post by:
I have an application containing WMP and I'd like to create an "online" version of it. I believe that this used to be accomplished with activex in VB 6. How would I go about recreating it for use...
0
by: Serge Rielau | last post by:
http://www.youtube.com/user/channeldb2 ....time to padlock my cube... ;-) -- Serge Rielau DB2 Solutions Development IBM Toronto Lab
2
by: Dan | last post by:
Hello, all! New here, so please forgive if this has been answered before. I use MySQL most often, and can use the commands: show tables in ; show columns in ; which lists all the tables in...
2
by: MLH | last post by:
I have an A97 form with Allow Edits, Allow Deletions and Allow Additions properties set. Scrolling through records will eventually take me to the end of the records and one more PgDn will take me...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.