Pager Widget

If you are looking for a way to quickly add a pager to your web app and you don't want to write several lines of code then look no further.

The new Pager Widget is exactly what you're looking for. It's simple and easy to use. Just follow the steps below and you will be up and running in no time:

Step 1: Download and extract the Pager Widget zip file

Step 2: Copy the pager.php file to the raxan/ui/widgets folder

Step 3: Add the following code to your html code

    <div id="pager1"
         xt-ui="Pager"
         xt-ui-pagerSize="6"
         xt-ui-totalPages="50"
         xt-ui-itemClass="rax-glossy rax-active-pal"></div>

Step 4: Add the following code to you web page or css theme:

<style type="text/css">
    .rax-pager a {
        width:25px;
        height:20px;
        display:inline-block !important;
        display:inline; /* for  ie 6 */
        line-height: 20px;
        text-align: center;
        margin: 0 2px;
        vertical-align: middle;
        border: solid 1px #ccc;
    }
</style>

Step 5: Add the following code to your Page Controller Class

<?php
    Raxan::loadWidget('pager');
?>

Step 6: View the page within the browser and you should be the Pager Widget

To listen to the pagechange event add the following attribute to your pager element:

xt-bind="pagechange,updateDisplay"

Then add the following event code to your page controller class:

<?php
    public function updateDisplay($e,$page) {
        $this->append("You have selected Page # ".$page);
    }
?>
Pager Widget

There are lots of way you can customize the pager widget so be sure to check out the available options.

See it in Action:
DEMO  DOWNLOAD


Widget Properties
Name Description Default Value
Properties    
currentPage Current selected page 1
totalPages Total number of pages 10
pagerSize Number of pages to shown on pager. 5  
truncateSize Number of pages to truncate 0
truncateOffset Pager truncate offset 0
delimiter Delimiter to be used when rendering page items  
showPrevNext Shows the Next and Previous buttons 0
baseClass Main css class for the widget rax-pager
itemClass CSS class to be assigned to a page item rax-inactive-pal
selectedItemClass CSS Class to be assigned to the selected page item rax-selected-pal
prevNextClass CSS class to be assigned to the Next and Previous buttons rax-inactive-pal
enableAjaxMode Enable Ajax Mode 0
     
Methods    
     
Events    
pagechange Page Change Event.
Event Handler Syntax: function($e,$page)
 
Kapri
Posts: 2758
Comment
Son of a gun, this i
Reply #9 on : Fri March 03, 2017, 14:39:22
Son of a gun, this is so <a href="http://ehzbsue.com">hefulpl!</a>
Roberta
Posts: 2758
Comment
Wow, that's a really
Reply #8 on : Fri March 03, 2017, 14:39:26
Wow, that's a really clever way of <a href="http://wmailoffxv.com">thikinng</a> about it!
Janessa
Posts: 2758
Comment
Re: Pager Widget
Reply #7 on : Wed March 08, 2017, 21:34:35
college football jerseys cheap nfl elite jerseys
wholesale
Satchel
Posts: 2758
Comment
Ab fab my <a href="h
Reply #6 on : Fri March 10, 2017, 00:06:00
Ab fab my <a href="http://xqpyxspimdo.com">gooldy</a> man.
Suevonne
Posts: 2758
Comment
Too many <a href="ht
Reply #5 on : Thu April 13, 2017, 22:32:50
Too many <a href="http://tlxosdm.com">coempimlnts</a> too little space, thanks!
Chubby
Posts: 2758
Comment
What a great <a href
Reply #4 on : Thu April 13, 2017, 22:33:07
What a great <a href="http://nefixckre.com">recurose</a> this text is.
Elyza
Posts: 2758
Comment
This makes <a href="
Reply #3 on : Sat April 15, 2017, 18:08:59
This makes <a href="http://xwvabwdr.com">evnirthyeg</a> so completely painless.
Lotta
Posts: 2758
Comment
Gee whiz, and I <a h
Reply #2 on : Sat April 15, 2017, 18:08:59
Gee whiz, and I <a href="http://iaqwyuw.com">thuohgt</a> this would be hard to find out.
seo plugin
Posts: 2758
Comment
Tattoo43
Reply #1 on : Sun May 28, 2017, 05:03:40
Hello Web Admin, I noticed that your On-Page SEO is is missing a few factors, for one you do not use all three H tags in your post, also I notice that you are not using bold or italics properly in your SEO optimization. On-Page SEO means more now than ever since the new Google update: Panda. No longer are backlinks and simply pinging or sending out a RSS feed the key to getting Google PageRank or Alexa Rankings, You now NEED On-Page SEO. So what is good On-Page SEO?First your keyword must appear in the title.Then it must appear in the URL.You have to optimize your keyword and make sure that it has a nice keyword density of 3-5% in your article with relevant LSI (Latent Semantic Indexing). Then you should spread all H1,H2,H3 tags in your article.Your Keyword should appear in your first paragraph and in the last sentence of the page. You should have relevant usage of Bold and italics of your keyword.There should be one internal link to a page on your blog and you should have one image with an alt tag that has your keyword....wait there's even more Now what if i told you there was a simple Wordpress plugin that does all the On-Page SEO, and automatically for you? That's right AUTOMATICALLY, just watch this 4minute video for more information at. <a href="http://www.SEORankingLinks.xyz">Seo Plugin</a>
seo plugin http://www.SEORankingLinks.xyz
First | Previous | Showing comments 2721 to 2729 of 2729

Leave a Comment

Required fields are marked with *.
If you have trouble reading the code, click on the code itself to generate a new random code.