You are here:  » Placing focus on price page tabs

Active Forum Topics


Placing focus on price page tabs

Submitted by ChrisNBC on Fri, 2014-04-11 10:41 in

Hi David,

Hope all is well. I'm doing the final tidy up of the site I have been working on and wondered if you might be able to give me some advice re two issues...

The first is that I currently have the products split into three types and the price results are displayed on one of three tabs within the pricing page. The problem is that when the back/forward page links are clicked at the bottom of say the second tab, the display refreshes but jumps back to the first tab. I'm guessing this is because I have used the same code within each of the three tabs but I wondered if you might be able to tell me what I would need to change to keep the focus on the selected tab until the user selected one of the other tabs?

Secondly, I wondered if you could suggest how I might be able to include a 'filter reset' button on the filter section of the page to reset all the filters back to their original state?

{link saved}

Thanks in advance.

Regards
Chris

Submitted by support on Fri, 2014-04-11 11:09

Hi Chris,

Could you let me know a deep link (product page) URL showing the problem and I'll check it out for you...

Thanks,
David.
--
PriceTapestry.com

Submitted by ChrisNBC on Fri, 2014-04-11 12:26

Hi David,

Thanks, an example is:

{link saved}

If you select the 2nd tab and select the link at the bottom to advance the pages the page refreshes but the focus jumps to the 1st tab.

Thanks in advance.

Regards
Chris

Submitted by support on Fri, 2014-04-11 13:27

Hello Chris,

Whilst I see that switching is achieved by an onpage anchor link to, for example

www.example.com/search.php?q=testing&page=2#tabs-2

If I open an new browser window, and then request that URL (include the #tabs-2) directly, the page still opens with the first tab in focus.

Does the CSS/DHTML library that you're using to generate the tabs have a method to set one to be the default view - for example by reading the #tabs-2 from the request?

Cheers,
David.
--
PriceTapestry.com