troubleshooting Question

JQuery Tabs URL Link to select tab

Avatar of petewinter
petewinterFlag for United Kingdom of Great Britain and Northern Ireland asked on
5 Comments3 Solutions740 ViewsLast Modified:
I am using the below JQuery code for my tabs.

$(function () {
	var tabContainers = $('#Content > div');
	$('#Services_Tabs a').click(function () {
		$('#Services_Tabs li').removeClass('Current_Services_Tab');
		return false;

HMTL below:

<div id="Services_Tabs">

<li><a href="#first">Extentions &amp; Conversion</a></li>
<li><a href="#second">Refurbishment &amp; Maintenance</a></li>
<li><a href="#third">Kitchens &amp; <br /> Bathrooms</a></li>
<li><a href="#forth">Plumbing &amp; <br /> Damp proofing</a></li>
<li><a href="#fifth">General building, Electrical &amp; Decorating</a></li>


<div id="Content">

<div id="first">


<div id="second">


<div id="third">


<div id="forth">


<div id="fifth">




How can I link to a particular tab from another page. i.e. Instead of when the page opens it shows particular tab instead of just the first one.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 3 Answers and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros