SixServe - Free No Ads cPanel Web Hosting: pagination - SixServe - Free No Ads cPanel Web Hosting

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

pagination

#1
User is offline   deathwish 

  • Advanced Member
  • Group: Staff
  • Posts: 651
  • Joined: 13-September 11
  • Locationparkersburg, wv
how do i do pagination on html?

i want to make a blog page in html and have the next and page numbers and last work like pagination on wordpress.

i have the basic set up but don't know how to set t up tho.
Posted Image
0

#2
User is offline   Patryk Moura 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 67
  • Joined: 14-February 12
  • LocationRio de Janeiro
idk wut u meant... pagination in javascript?
Cheers,
Patryk Moura.
0

#3
User is offline   Patryk Moura 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 67
  • Joined: 14-February 12
  • LocationRio de Janeiro
Or u wanna do this?
http://html5doctor.com/nav-element/
Cheers,
Patryk Moura.
0

#4
User is offline   deathwish 

  • Advanced Member
  • Group: Staff
  • Posts: 651
  • Joined: 13-September 11
  • Locationparkersburg, wv
like how on wordpress if you click next or 1, 2, 3 it goes to another page like but doesn't change url but changes the display option.

like this: http://d-scribe.de/w...emo_options.htm this is somewhat i am looking for but instead for a blog page doesn't matter if its html or javascript or php if i have to php then i will.
Posted Image
0

#5
User is offline   Patryk Moura 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 67
  • Joined: 14-February 12
  • LocationRio de Janeiro
i don“t like that jquery way...
my tip is:
create an php, that makes the query, with limit and offset (please!!! jquery loads all the data... think about 1M of data =p)...
create an ajax and return via json_encode to ur jquery
and then use the jquery solution...

got it?
Cheers,
Patryk Moura.
0

#6
User is offline   deathwish 

  • Advanced Member
  • Group: Staff
  • Posts: 651
  • Joined: 13-September 11
  • Locationparkersburg, wv
huh i don't know much about php or javascript i just know html.

sorry. i am mostly looking for guides or scripts or how to get scripts to work. i found some but don't know how to make them work.
Posted Image
0

#7
User is offline   JoshuaDeacon 

  • SixServe Staff
  • Group: Staff
  • Posts: 124
  • Joined: 31-December 11
  • LocationNorth Carolina

View Postdeathwish, on 03 March 2012 - 02:50 AM, said:

huh i don't know much about php or javascript i just know html.

sorry. i am mostly looking for guides or scripts or how to get scripts to work. i found some but don't know how to make them work.


post the ones that you found if you will :P ill take a look for you
0

#8
User is offline   deathwish 

  • Advanced Member
  • Group: Staff
  • Posts: 651
  • Joined: 13-September 11
  • Locationparkersburg, wv
http://www.dynamicdr...lpagination.htm

http://www.dynamicdr...inate/index.htm

blog what i want is to make the numbers at the end of the last post to be like a link to another page but stay on same page and doesn't really load or go to another page.
Posted Image
0

#9
User is offline   Patryk Moura 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 67
  • Joined: 14-February 12
  • LocationRio de Janeiro
oh man, this is not a pagination, this is a nav-bar...

where are you experiencing difficulties to build the code?
Cheers,
Patryk Moura.
0

#10
User is offline   deathwish 

  • Advanced Member
  • Group: Staff
  • Posts: 651
  • Joined: 13-September 11
  • Locationparkersburg, wv
no its not a navbar its a pagination like on wordpress wherer if you click the <<1 2 3 4 5 >> part like if i click on 3 it would load up another page but same page with different results on it.

like this link: http://sixserve.com/...er__all__st__30 (second page with more topics)

http://sixserve.com/...opicfilter__all original page (first page with topics)

i want it where instead of showing a big page of items i want it cut down to where it shows up like 3 or 4 per page then it shows next page or 1 3 4 with prev and next button at the end of the page.
Posted Image
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Squidix Web Hosting