Hi NCs,

This tip explains how to design a youtube like pagination for video page, photo page etc. or more in general to split a long list of contents in more pages. I hope it's a perfect pagination style. 

Instruction: Just copy and paste the code into Advanced CSS box.

The Code

.pagination li{
text-shadow: 0 1px 0 #fff;
background-color: #e0e0e0;
-moz-box-shadow: inset 0 0 1px #fff;
-ms-box-shadow: inset 0 0 1px #fff;
-webkit-box-shadow: inset 0 0 1px #fff;
box-shadow: inset 0 0 1px #fff;
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#fffafafa,EndColorStr=#ffdcdcdc);
background-image: -moz-linear-gradient(top,#fafafa 0,#dcdcdc 100%);
background-image: -ms-linear-gradient(top,#fafafa 0,#dcdcdc 100%);
background-image: -o-linear-gradient(top,#fafafa 0,#dcdcdc 100%);
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0,#fafafa),color-stop(100%,#dcdcdc));
background-image: -webkit-linear-gradient(top,#fafafa 0,#dcdcdc 100%);
background-image: linear-gradient(to bottom,#fafafa 0,#dcdcdc 100%);
}
.pagination li a {
border-color: #ccc #ccc #aaa!important;
color: #333333;
}
.pagination li span {
border: solid 1px;
padding: 5px 10px;
color: #333333;
border-color: #888 #aaa #ccc;
-moz-box-shadow: inset 0 1px 5px rgba(0,0,0,0.25),0 1px 0 #fff;
-ms-box-shadow: inset 0 1px 5px rgba(0,0,0,0.25),0 1px 0 #fff;
-webkit-box-shadow: inset 0 1px 5px rgba(0,0,0,0.25),0 1px 0 #fff;
box-shadow: inset 0 1px 5px rgba(0,0,0,0.25),0 1px 0 #fff;
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffc8c8c8,EndColorStr=#ffe6e6e6);
background-image: -moz-linear-gradient(top,#c8c8c8 0,#e6e6e6 100%);
background-image: -ms-linear-gradient(top,#c8c8c8 0,#e6e6e6 100%);
background-image: -o-linear-gradient(top,#c8c8c8 0,#e6e6e6 100%);
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0,#c8c8c8),color-stop(100%,#e6e6e6));
background-image: -webkit-linear-gradient(top,#c8c8c8 0,#e6e6e6 100%);
background-image: linear-gradient(to bottom,#c8c8c8 0,#e6e6e6 100%);
}

Want to give a different look to your ning site?  Mail me at bernardmax2@gmail.com 

Live Example: Here

Example:

Tags: Cool, Tip:, Youtube, like, pagination

Views: 1657

Reply to This

Replies to This Discussion

You are most welcome Pastor G.

Awesome tip Bernard! Very clean looking and just what I was looking for. Great job!

Glad to know about it...Thanks

looks awesome with my existing design much better then what i had already

Finally my tip works for you lol. And glad you liked it.

Count me in among the grateful.  Thanks Bernard

Had to take it back out.  I'm running too close to the 15,000 character limit

i use an external fike i went way over the limit li[ong ago u can create a css file then upload it and link to it  use the ads above or ads below the header box for the link code that way it loads at an early part of page load

I tried that once on my network.  The CSS didn't seem to get loaded.

I was using an example from Creators.

Technically, It should load. Because many webmasters use external files for their websites.

Yeah soringeagle has rightly said about using external css file. 

I'm grateful I can help others. Thanks John.

RSS

Latest Activity

Joe Fulton replied to Jared's discussion 'Leaving members, deleting content, Archive feature'
"No response from Allison or Eric as of yet.  I had sent Eric Seuez an e-mail and expected…"
1 hour ago
Rosemary Burns joined Allison Leahy's group
Thumbnail

The Sandbox

Join The Sandbox to experiment with Ning 3.0 now!The Ning Team will be triaging bug reports and…See More
3 hours ago
Profile IconNing via Facebook
Thumbnail

The Ning Platform explained in a bakers dozen of pretty slides. Enjoy!…

See More
Facebook4 hours ago · Reply
Allison Leahy joined arqueologiadigital.com's group
Thumbnail

Criadores Brasileiros - Brazilian Creators

Grupo para todas as redes Brasileiras do Ning. (Group for all Ning Brazilian Networks).See More
4 hours ago
Elshara Silverheart replied to Elshara Silverheart's discussion 'Free Site Promotion'
"Like before, remember to include the full web address of your network so that it can get properly…"
4 hours ago
Strumelia replied to Elshara Silverheart's discussion 'I am A Little Upset'
"I feel for you Elshara, it must have been upsetting.  But this is a good example of why we…"
5 hours ago
Sylvia Hysen replied to Sylvia Hysen's discussion 'Great Slider- must see!'
"Thx Where Women Blog... I did the graphic design in Photoshop and I hired a pro to do the…"
6 hours ago
Michelle Duchemin replied to Phil McCluskey's discussion 'Mini Release: CSS classes and bug fixes'
"Hi All, Just a quick question: Where can I find this document that has all the up to date CSS…"
6 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service