HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 16th, 2012, 02:15 PM
|King |King is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2012
Posts: 7 |King User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 51 m 50 sec
Reputation Power: 0
What Am I Doing Wrong?

In the code below towards the top you will see where the code calls for two tabs, Used and New however I cant seems to get the code to allow a user to selected between the two options, what am I doing wrong?


<div class="search-box">

<!-- tabs -->

<table class="search">

<tbody>

<tr class="head-tab">

<td class="field">Search</td>

<td class="value">

<ul class="search_tabs">

<li class="first active">New</li><li class="last">Used</li>

</ul>

</td>

</tr>

</tbody>

</table>

<!-- tabs end -->

<div class="search_tab_area" style="display: block;">

<form action="http://www.agentauto.com/autos/search-results.html" method="post">

<input type="hidden" value="search" name="action">

<input type="hidden" value="listings_tab1" name="post_form_key">

<input type="hidden" value="1" name="f[condition]" class="search_tab_hidden">

<!-- fields block ( for search ) -->

<table class="search">

<tbody>

Reply With Quote
  #2  
Old November 16th, 2012, 04:22 PM
MrFujin's Avatar
MrFujin MrFujin is offline
Lord of the Dance
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Oct 2003
Posts: 3,161 MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 1 Day 13 h 39 m 41 sec
Reputation Power: 1736
New and Used are only inserted as a listed information. If you want to let the user select one of them, you have to add something that make them selectable; this can for example be done by creating them as links or radio-buttons.

Reply With Quote
  #3  
Old November 16th, 2012, 04:25 PM
AndrewSW's Avatar
AndrewSW AndrewSW is offline
JavaScript is not spelt java
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2011
Location: Landan, England
Posts: 743 AndrewSW User rank is First Lieutenant (10000 - 20000 Reputation Level)AndrewSW User rank is First Lieutenant (10000 - 20000 Reputation Level)AndrewSW User rank is First Lieutenant (10000 - 20000 Reputation Level)AndrewSW User rank is First Lieutenant (10000 - 20000 Reputation Level)AndrewSW User rank is First Lieutenant (10000 - 20000 Reputation Level)AndrewSW User rank is First Lieutenant (10000 - 20000 Reputation Level)AndrewSW User rank is First Lieutenant (10000 - 20000 Reputation Level)AndrewSW User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Weeks 1 Day 23 h 14 m 42 sec
Reputation Power: 164
I don't know what you mean by "tabs"; you have two list items (li). So in what sense can they be "selected", other than dragging the mouse over their text??

Reply With Quote
  #4  
Old November 21st, 2012, 09:49 PM
|King |King is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2012
Posts: 7 |King User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 51 m 50 sec
Reputation Power: 0
Here is what I am refering too -

http://blog.agentauto.com/bozeman-car-dealerships/

When you click on the tabs on the top left search area they do not work. Its stationary.

Reply With Quote
  #5  
Old November 22nd, 2012, 03:31 AM
MrFujin's Avatar
MrFujin MrFujin is offline
Lord of the Dance
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Oct 2003
Posts: 3,161 MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 1 Day 13 h 39 m 41 sec
Reputation Power: 1736
I suggest you find a tutorial explaining how to insert radio buttons.

Reply With Quote
  #6  
Old November 23rd, 2012, 03:38 AM
casand casand is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2012
Location: jersey city
Posts: 30 casand User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 36 m 9 sec
Reputation Power: 2
Quote:
Originally Posted by |King
In the code below towards the top you will see where the code calls for two tabs, Used and New however I cant seems to get the code to allow a user to selected between the two options, what am I doing wrong?


<div class="search-box">

<!-- tabs -->

<table class="search">

<tbody>

<tr class="head-tab">

<td class="field">Search</td>

<td class="value">

<ul class="search_tabs">

<li class="first active">New</li><li class="last">Used</li>

</ul>

</td>

</tr>

</tbody>

</table>

<!-- tabs end -->

<div class="search_tab_area" style="display: block;">

<form action="http://www.agentauto.com/autos/search-results.html" method="post">

<input type="hidden" value="search" name="action">

<input type="hidden" value="listings_tab1" name="post_form_key">

<input type="hidden" value="1" name="f[condition]" class="search_tab_hidden">

<!-- fields block ( for search ) -->

<table class="search">

<tbody>


I think this giving a Apt definition, http://blog.agentauto.com/bozeman-car-dealerships/
__________________
Free Antivirus

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > What Am I Doing Wrong?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap