Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-20-2011, 09:12 AM   PM User | #1
Feenie
New to the CF scene

 
Join Date: Sep 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Feenie is an unknown quantity at this point
html code for tumblr help

http://welcomebacktoreality.tumblr.com/

When I click the next button it doesn't take me to the next page.
I tried fiddling around with the pagination and permalinkpagination but being the complete amateur that I am, I had no idea what I was doing so I couldn't get it to link to the next pages.

Is there anyway someone could help me out?

Here's the html code:


{block:Pagination}
<div class="pagination">

<a href="{PreviousPage}" class="previous{block:PreviousPage} active{/block:PreviousPage}"> Previous</a>

<a href="{NextPage}" class="next{block:NextPage} active{/block:NextPage}">Next »</a>

<div class="pages">Page {CurrentPage} of {TotalPages}</div>

</div>

<br class="clear" />

{/block:Pagination}


And here are some of my noob attempts:

{block:Pagination}
<div class="pagination">

<a href="{PreviousPage}" class="previous{block:PreviousPage} active{/block:PreviousPage}"> Previous</a>
<br />
<a href="{NextPage}" class="next{block:NextPage} active{/block:NextPage}">Next »</a>

<div class="pages">Page {CurrentPage} of {TotalPages}</div>

</div>

<br class="clear" />

{/block:Pagination}
{block:PermalinkPagination}
{block:PreviousPost}
<a class="back" href="{PreviousPost}">»</ a>
{/block:PreviousPost}
<br />
{block:NextPost}
<a class="forward" href="{NextPost}">»</ a>
{/block:NextPost}

</div>
Feenie is offline   Reply With Quote
Old 09-21-2011, 06:53 AM   PM User | #2
Major Payne
Regular Coder

 
Join Date: Aug 2005
Location: MS
Posts: 745
Thanks: 7
Thanked 65 Times in 63 Posts
Major Payne is an unknown quantity at this point
Don't use Tumblr, but might help...

"Next Page" and "Previous Page" Links: http://answers.yahoo.com/question/in...2233910AAmUDYK

Code:
{block:Pagination} <div id="classic-pagination">

{block:PreviousPage} <a href="{PreviousPage}" id="prev-page">Previous Page</a {/block:PreviousPage}
{block:NextPage} <a href="{NextPage}" id="next-page">Next Page</a>{/block:NextPage}

</div><!-- #classic-pagination -->{/block:Pagination}
__________________
☠ ☠RON☠ ☠
Major Payne is offline   Reply With Quote
Old 09-21-2011, 07:43 AM   PM User | #3
Feenie
New to the CF scene

 
Join Date: Sep 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Feenie is an unknown quantity at this point
I have seen that link but the problem is that it changes the appearance of the button when I use that code.

Thanks though
Feenie is offline   Reply With Quote
Old 09-21-2011, 08:09 AM   PM User | #4
Major Payne
Regular Coder

 
Join Date: Aug 2005
Location: MS
Posts: 745
Thanks: 7
Thanked 65 Times in 63 Posts
Major Payne is an unknown quantity at this point
Change the class/ids of the divs in the code I gave to the class/ids of the code you have. If you don't use the same classes/ids, the CSS styling will not be the same.
__________________
☠ ☠RON☠ ☠
Major Payne is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:03 PM.


Advertisement
Log in to turn off these ads.