Jump to content

Trying to make a simple horizontal sliding websites with jquery


blowfly123

Recommended Posts

I like the sliding in this site:

http://www.charliegentle.co.uk/

 

but he's got each link hard-coded into the javascript and I want to create a wordpress-friendly jquery script where I can slide over to posts and pages using their post ID numbers for the anchor links. Therefore all I really need is a slide script that says "slide to this href anchor" and not "when clicking the photo link slide to the photo anchor, when clicking the web link slide to the web anchor, etc..." I don't really know jquery and am working through various demos and tutorials but I feel like the answer has got to be much easier than when I'm encountering.

 

Basically I want to end up with this:

 

></pre>
<ul>

Home
Web
Contact

</ul>
<br><br><div>HOME
Content for home blah blah blah
</div>
<br><br><div>WEB
Content for web blah blah blah
</div>
<br><br><div>CONTACT
Content for contact blah blah blah
<

 

...and then horizontally slide from one of the other on menu clicks. That way whenever I add a new page to wordpress it'll get its own post ID and will work nicely... (hopefully)

 

Any suggestions?

 

Thanks in advance!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...