Jump to content

Recommended Posts

Posted

Hello All ,

            I cant get my schedules to paginate

$(document).ready(function() {

    $("table")

    .tablesorter({widthFixed: true, widgets: ['zebra']})

    .tablesorterPager({container: $("#pager")});

})

added to header.tpl  but doesnt work  , any help would be great 

http://www.airindiavirtual.net

Posted

Hi Nabeel ,

                yes they are

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title><?php echo $title; ?></title>

<link rel="stylesheet" media="all" type="text/css" href="<?php echo SITE_URL?>/lib/skins/aiv/styles.css" />

<?php

Template::Show('core_htmlhead.tpl');

?>

<script type="text/javascript">

$(document).ready(function() {

    $("table")

    .tablesorter({widthFixed: true, widgets: ['zebra']})

    .tablesorterPager({container: $("#pager")});

})

</script>

</head>

thats the extract from the header.tpl 

Posted

you mean like this ?

<script type="text/javascript">

$(document).ready(function() {

    $("table")

    .tablesorter({widthFixed: true, widgets: ['zebra']})

})

</script>

also the earlier Edit in the header Blanked out the online Map

  • Administrators
Posted

It looks like you're missing the core_htmlhead.tpl include, but there's no jquery loaded in there or the tablesorter jquery plugin (the <script src="" /> portion)

Posted

<head>

<script type="text/javascript">

$(document).ready(function() {

    $("table")

    .tablesorter({widthFixed: true, widgets: ['zebra']})

    .tablesorterPager({container: $("#pager")});

})

</script>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title><?php echo $title; ?></title>

<link rel="stylesheet" media="all" type="text/css" href="<?php echo SITE_URL?>/lib/skins/crystal/styles.css" />

<?php

Template::Show('core_htmlhead.tpl');

?>

</head>

thats the head right there , the call to the core's in there , thats where its condensing the 3 jquery, js files right ?  what am I overooking ???

  • Administrators
Posted

On localhost it's possible it will give errors. Some javascript will not run off of localhost.

Can you give me the link to the exact page? I'll try to find some time to look in more detail tomorrow

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...