I've gotten AnythingSlider working just fine but I'm looking to be able to provide text links at the top of my page to the exact slide. I've found other posts that suggest ways to do it but I think my method adds more complexity that I'm not understanding how to address.
I have a link at the top of my page like so:
<a href="#learn</>Learn More</a>
I have created the anchor for the part of the page where the slider is as so:
<a id="learn"></a>
Immediately below this is the AnythingSlider
<div id="slider">
<div>Slide 1</div>
<div>Slide 1</div>
<div>Learn More Slide</div>
</div>
What I'm looking to do is have the link take the user to the anchor section of the site like you would expect but then also have the correct slide, in this case #panel1-3, loaded up at the same time.
I know the slide is panel1-3 because if I leave the hashTags AnythingSlider option to "true" the address bar refreshes and shows me the URL is www.mysite.com/&#panel1-3.
Is what I'm trying to do possible?
Here's one of the posts I tried working from: Clicking link changes url in browser bar, but doesn't actually load URL (may be AnythingSlider related)
First off, the link above appears malformed. It should look like this:
Then, in your case, I wouldn't use the default
hashTagsmethod because you'll need a custom one. Check out this demo, it's from the Home wiki page of the documents (fourth link under "Navigation", but I've updated it using your layout), and it uses this code:HTML
Script