Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
can you call a div id with a button
Old 01-24-2009, 06:32 AM can you call a div id with a button
ericson3000's Avatar
Experienced Talker

Posts: 40
Name: Bob Davis
Location: Los Angeles, CA
Trades: 0
i am working on a site where each product page has tabs to the different areas of info for that product. the tabs are created using basic javascript and are styled using css. each tab has an id.

when the viewer chooses to go to my products page from my main menu, there is a default tab that is the open tab on the products page. it has a class attached to it (.active_tab). what i'm looking to do is have a button on another page that will send the viewer to my products page, but not to the default tab, but to a specific other tab.

my question is: can i have a button that sends the viewer to my page with a specific tab already open? but not the default tab.

any direction would be greatly appreciated.
ericson3000 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-24-2009, 06:39 AM Re: can you call a div id with a button
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
can i have a button that sends the viewer to my page with a specific tab already open?
The answer is yes.

pass a parameter in a querystring to indicate which tab to open.

BTW you do realise that generating product pages by javascript makes them totally invisible to search engines.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to can you call a div id with a button
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30856 seconds with 12 queries