34 posts
  • Has been part of the Envato Community for over 6 years
  • Has sold $100+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ChordsofLife says

The issue isn’t really tabs, per se. I have basically pagination going on, except just numbers 1-2 right now. It defaults to 1. When I click 2, it hides the first div and slides the next in from the right. On THAT div, I have links that go to separate pages completely.

I want to be able to page back from the page you click to, to the div you see if you press 2.

426 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has sold $5,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+3 more
vasilios says

From what I’m understanding, you could probably do that by setting a cookie and checking it when the page with pagination gets loaded. If the cookie is set and it isn’t the first page, you can start with the tab that has an index which is the same as the cookie’s value.

I haven’t used the cookie plugin for jQuery at all, so I can’t help with the actual code.

2023 posts Review Manager
  • Has referred 10+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+12 more
jremick Envato team says

You should be able to use one of these plugins to accomplish this.

http://plugins.jquery.com/project/history or http://plugins.jquery.com/project/jHistory

However, I think you might be going about this in the wrong way. Why not use something like this: http://flowplayer.org/tools/demos/tabs/ajax-history.html which has the feature you need built right in. Essentially what you’re doing is building your own tabbed environment from what I understand.

34 posts
  • Has been part of the Envato Community for over 6 years
  • Has sold $100+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
ChordsofLife says

Cookies sound like a viable option, but I’m not very familiar with using them. I think I have once or twice ever, so I’m going to try that method last.

xmdsys, that’s exactly what I’m looking for, but the design aspect is significantly different since the page is already designed for the client. I’m going to try the history plugin, hopefully I can get it working with my limited js knowledge.

Thanks! I really appreciate the responses.

by
by
by
by
by
by