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: ![](/images/imgserve.php?url=http://aycu23.webshots.com/image/4982/2004961228680952859_rs.jpg)
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...
4 2095
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:
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.
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.
Sign in to post your reply or Sign up for a free account.
Similar topics |
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 physicists like
myself are proud to have one among us like you who seems to have an
acute sense of humanitarianism ....
=================
January 31, 2007
Resistance to Imperialism
What is the Decisive "Clash" of Our Time?
|
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 hysterics.
To: "SonyaFitzpatrick"<feedback@sonyafitzpatrick.com
Cc: http://www.youtube.com/watch?v=pIqhUCZgwXQ
Bcc: http://video.google.com/videoplay?docid=-3308763471699273011&q=sining+cats&hl=en
- Hide quoted text -
|
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
|
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: http://www.youtube.com/watch?v=-UeYkxePW2c
This is...
" Working in Faith "
Enjoy your first Net Casting Company
with " VISION "
Were if it is not good news then it is not news to?
|
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 in websites like youtube,
or other flash players? Do I have to go back to VB 6?
| |
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
|
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 the specified database, and columns/
fields in the specified table. Is there an SQL equivalent for use in
|
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 to a new record. I also have a
cmd button on the form to take me instantly to a new
record.
There are 2 controls on the form I would like disabled
whenever I'm at a new record. I want them enabled at
all other times. Which event property would...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |