[jQuery] Re: Has anybody managed to print a sorted table using table sorter?

2009-01-29 Thread livewire9174

not yet, I would like to know if its possible

On Jan 29, 12:10 am, Ricardo Tomasi ricardob...@gmail.com wrote:
 Have you?

 On Jan 28, 6:52 pm,livewire9174markmch...@gmail.com wrote:

  Hi,
  I've got table sorter, has anybody tried to print a table after
  sorting it ?

  Thanls


[jQuery] Re: Has anybody managed to print a sorted table using table sorter?

2009-01-29 Thread livewire9174

the problem is, i dont want to print the whole page, I just want to
print the sorted table, is this possible?

On Jan 29, 10:40 am, Fisher Ning ning...@gmail.com wrote:
 I just gave a try. The page can be printedwith sorted list.

 Fisher Ningwww.21show.com

 2009/1/29 livewire9174 markmch...@gmail.com



  not yet, I would like to know if its possible

  On Jan 29, 12:10 am, Ricardo Tomasi ricardob...@gmail.com wrote:
   Have you?

   On Jan 28, 6:52 pm,livewire9174markmch...@gmail.com wrote:

Hi,
I've got table sorter, has anybody tried to print a table after
sorting it ?

Thanls


[jQuery] Has anybody managed to print a sorted table using table sorter?

2009-01-28 Thread livewire9174

Hi,
I've got table sorter, has anybody tried to print a table after
sorting it ?


Thanls


[jQuery] Re: table sorter issue, how do i sort these as a currency

2008-12-22 Thread livewire9174

I'm still trying to get this working, has anybody tried anything like
this before?

On Dec 15, 6:16 pm, livewire9174 markmch...@gmail.com wrote:
 here is the code, I need to stop the execution somewhere I guess ? I
 am using ajax calls to put data into to table, so I guess I cant
 attach the tablesorter script until the ajax calls have fully
 finished ?

 [code]
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN 
 http://www.w3.org/TR/html4/loose.dtd;
 ?php
 header(Expires: Mon, 26 Jul 1997 05:00:00 GMT);

 // always modified
 header(Last-Modified:  . gmdate(D, d M Y H:i:s) .  GMT);

 // HTTP/1.1
 header(Cache-Control: no-store, no-cache, must-revalidate);
 header(Cache-Control: post-check=0, pre-check=0, false);
 header(Cache-Control: public);
 // HTTP/1.0
 header(Pragma: no-cache);

 session_start();
 ?
 head
 title/title
 script type=text/javascript src=jquery-latest.js/script

 script type=text/javascript
 function ajaxFunction()

 {

   var xmlHttp=null;
 try
   {

   // Firefox, Opera 8.0+, Safari
   xmlHttp=new XMLHttpRequest();
   xmlHttp1=new XMLHttpRequest();
   xmlHttp2=new XMLHttpRequest();
   xmlHttp3=new XMLHttpRequest();
   xmlHttp4=new XMLHttpRequest();
   xmlHttp5=new XMLHttpRequest();
   xmlHttp6=new XMLHttpRequest();
   xmlHttp7=new XMLHttpRequest();
    xmlHttp8=new XMLHttpRequest();
   }
 catch (e)
   {
   // Internet Explorer
   try
     {
     xmlHttp=new ActiveXObject(Msxml2.XMLHTTP);
         xmlHttp1=new ActiveXObject(Msxml2.XMLHTTP);
         xmlHttp2=new ActiveXObject(Msxml2.XMLHTTP);
         xmlHttp3=new ActiveXObject(Msxml2.XMLHTTP);
         xmlHttp4=new ActiveXObject(Msxml2.XMLHTTP);
         xmlHttp5=new ActiveXObject(Msxml2.XMLHTTP);
         xmlHttp6=new ActiveXObject(Msxml2.XMLHTTP);
         xmlHttp7=new ActiveXObject(Msxml2.XMLHTTP);
         xmlHttp8=new ActiveXObject(Msxml2.XMLHTTP);
     }
   catch (e)
     {
     try
       {
       xmlHttp=new ActiveXObject(Microsoft.XMLHTTP);
           xmlHttp1=new ActiveXObject(Microsoft.XMLHTTP);
           xmlHttp2=new ActiveXObject(Microsoft.XMLHTTP);
           xmlHttp3=new ActiveXObject(Microsoft.XMLHTTP);
           xmlHttp4=new ActiveXObject(Microsoft.XMLHTTP);
           xmlHttp5=new ActiveXObject(Microsoft.XMLHTTP);
           xmlHttp6=new ActiveXObject(Microsoft.XMLHTTP);
       xmlHttp7=new ActiveXObject(Microsoft.XMLHTTP);
           xmlHttp8=new ActiveXObject(Microsoft.XMLHTTP);

           }
     catch (e)
       {
       alert(Your browser does not support AJAX!);
       return false;
       }
     }
   }

     xmlHttp.onreadystatechange=function()
     {
     if(xmlHttp.readyState==4)
       {

            document.getElementById('resulta').innerHTML =
 xmlHttp.responseText;
           document.getElementById('showMessagea').style.display='none';
       }
     }

   xmlHttp1.onreadystatechange=function()
     {
     if(xmlHttp1.readyState==4)
       {
            document.getElementById('resultb').innerHTML =
 xmlHttp1.responseText;

           document.getElementById('showMessageb').style.display='none';
       }
     }

 xmlHttp2.onreadystatechange=function()
     {
     if(xmlHttp2.readyState==4)
       {
            document.getElementById('resultc').innerHTML =
 xmlHttp2.responseText;
           document.getElementById('showMessagec').style.display='none';
       }
     }

 xmlHttp3.onreadystatechange=function()
     {
     if(xmlHttp3.readyState==4)
       {
            document.getElementById('resultd').innerHTML =
 xmlHttp3.responseText;
           document.getElementById('showMessaged').style.display='none';
       }
     }

 xmlHttp4.onreadystatechange=function()
     {
     if(xmlHttp4.readyState==4)
       {
            document.getElementById('resulte').innerHTML =
 xmlHttp4.responseText;
           document.getElementById('showMessagee').style.display='none';
       }
     }

         xmlHttp5.onreadystatechange=function()
     {
     if(xmlHttp5.readyState==4)
       {
            document.getElementById('resultf').innerHTML =
 xmlHttp5.responseText;
           document.getElementById('showMessagef').style.display='none';
       }
     }

         xmlHttp6.onreadystatechange=function()
     {
     if(xmlHttp6.readyState==4)
       {
            document.getElementById('resultg').innerHTML =
 xmlHttp6.responseText;
           document.getElementById('showMessageg').style.display='none';
       }
     }

         xmlHttp7.onreadystatechange=function()
     {
     if(xmlHttp7.readyState==4)
       {
            document.getElementById('resulth').innerHTML =
 xmlHttp7.responseText;
           document.getElementById('showMessageh').style.display='none';
       }
     }

         xmlHttp8.onreadystatechange=function()
     {
     if(xmlHttp8.readyState==4)
       {
            document.getElementById('resulti').innerHTML =
 xmlHttp8.responseText;
           document.getElementById('showMessagei').style.display='none';
       }
     }

   xmlHttp.open(GET,http://www..com/1.php,true

[jQuery] table sorter issue, how do i sort these as a currency

2008-12-15 Thread livewire9174

Hi,
I am using this to initialise the page

SCRIPT type=text/javascript
$(document).ready(function() {
$(#tableOne)
.tablesorter({ debug: false, sortList: [[0, 0]], 
widgets:
['zebra'] })
.tablesorterPager({ container: $(#pagerOne),
positionFixed: false })
  });

/SCRIPT


I have a row in the table which is a european currency, how do I sort
by this?



[jQuery] Re: table sorter issue, how do i sort these as a currency

2008-12-15 Thread livewire9174
=Click here 
/a/
td
 /tr


/TBODY
  TFOOT
  TR id=pagerOne
TD style=BORDER-RIGHT: #7f7f7f 3px solid colSpan=4IMG
class=first
  src=sort2_files/first.png IMG class=prev src=sort2_files/
prev.png
  INPUT class=pagedisplay IMG class=next src=sort2_files/
next.png IMG
  class=last src=sort2_files/last.png SELECT class=pagesize
OPTION
value=10 selected10/OPTION /SELECT Results per page/TD/
TR/TFOOT/TABLE


/body

/html
[/code]

On Dec 15, 2:37 pm, MorningZ morni...@gmail.com wrote:
 Showing the init code doesn't really help others help you...

 Got an example of the HTML you are trying to sort?

 On Dec 15, 7:01 am, livewire9174 markmch...@gmail.com wrote:

  Hi,
  I am using this to initialise the page

  SCRIPT type=text/javascript
          $(document).ready(function() {
              $(#tableOne)
                          .tablesorter({ debug: false, sortList: [[0, 0]], 
  widgets:
  ['zebra'] })
              .tablesorterPager({ container: $(#pagerOne),
  positionFixed: false })
            });

  /SCRIPT

  I have a row in the table which is a european currency, how do I sort
  by this?


[jQuery] Slide in - slide out not working, am i silly?

2008-11-20 Thread livewire9174

Hi,
No idea what I'm doing wrong, I hope its not something very simple

I want to be able to click on the button with class btn slide and
expand the extra Div, here is the CSS for hextra

.extra{
overflow:hidden;
color:#349ACB;
clear:both;
font-family:Verdana, Arial, Helvetica, sans-serif;
background-color:#E6EBF1;
border:2px solid #2297D5;
*float:left;
display: none;

}


here is the JS

here is my code

script src=js/jquery.js type=text/javascript/script
script type=text/javascript
$(document).ready(function(){

$(.btn-slide).click(function(){
$(#extra).slideToggle(slow);
$(this).toggleClass(active); return false;
});


});
/script



+ html

  div class=waffless-resturentimg src=image/plua2.jpg
class=btn-slide alt= /nbsp;testspan class=waffless-
resturent2nbsp;nbsp;nbsp;119 sdfdf/span/div
  div class=crok3Dubdfdfdf2/div
  div class=crok101 554556663/div
  div class=crok2American/div
  div class=crokimg src=image/star2.jpg alt=
width=31 height=16 //div
  div class=crok4img src=image/my.jpg alt= width=16
height=17 //div
  div class=frends0/div
  div class=extra
  div id=img-map
div class=img-viwnbsp;img src=image/zoom.jpg
alt=click here /
div class=map-deractionImg/div
/div
div class=img-viw2nbsp;img src=image/zoom.jpg
alt=click here /
div class=map-deraction Map + Directions/div
/div
div class=view-more-imagea href=#VIEW MORE IMAGES
+/a/div
div class=view-more-image2a href=#VIEW LARGE MAP
+/a/div
  /div
  div id=opning-hours
div class=hours-opning-timeOpening Hoursbr /
span class=hours-opning-time2Lunch: Mon-Sun
12.00-16.00br /
  Evening:18.00-21.30br /
  /span/div
div class=hours-opning-time-menuView menu amp; Our
news:/div
div class=images-menuimg src=image/menus.jpg
alt=menu width=48 height=31 //div
div class=images-menuimg src=image/news.jpg
alt=news width=48 height=31 //div
div class=hours-opning-time-menuWebsite:span
class=hours-opning-time2www.123.ie/span/div
div class=clear/div
div class=hours-opning-time-menuCapacity: 40/div
div class=clear/div
div class=hours-opning-time-
menuFacilitiesnbsp;nbsp;nbsp;/div
div class=faclities-friendimg src=image/frend.jpg
alt=friends //div
div class=faclities-friendimg src=image/somking.jpg
alt=smoking //div
div class=faclities-friendimg src=image/bar.jpg
alt=bars //div
div class=faclities-friendimg src=image/card.jpg
alt=Card //div
div class=faclities-friendimg src=image/outside.jpg
alt=out side //div
!-- div class=faclities-friendimg src=image/
plan.jpg alt=plan //div --
  /div
/div


Please help if you can, I'm desperate!!!


[jQuery] Issues with the paging button when using table sorter

2008-11-04 Thread livewire9174

Hi,
When using the pager option when using the table sorter, has anybody
managed to put the buttons above the table?

It just wont work for me when above it.


[jQuery] Tablesorter issue, can find images for the header.

2008-11-04 Thread livewire9174

Hi,
I'm messing about with the tablesorter. The issue i am having is I
cant seem to find the images on the header.

If i do a save as complete page from I.E. 6 and upload to my
webserver, it still does not work.

Here is the page I have done the Save as from

http://tablesorter.com/docs/example-pager.html

everything works fine, but the images are nowhere, any ideas ?


[jQuery] Table sorter issue - trying to stop a field from sorting

2008-11-04 Thread livewire9174

Hi,
Here is my code, I want to prevent the first field from being a sort
option, can somebody help?

--
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
  http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en-us
head
titlejQuery plugin: Tablesorter 2.0 - Pager plugin/title
link rel=stylesheet href=jq.css type=text/css media=print,
projection, screen /
link rel=stylesheet href=style.css type=text/css media=print,
projection, screen /
script type=text/javascript src=jquery-latest.js/script
script type=text/javascript src=jquery.tablesorter.js/script
script type=text/javascript src=jquery.tablesorter.pager.js/
script
script type=text/javascript src=js/chili/chili-1.8b.js/script
script type=text/javascript src=js/docs.js/script
script type=text/javascript
$(function() {
$(table)
.tablesorter({widthFixed: true, widgets: ['zebra']})
.tablesorterPager({container: $(#pager)});

});
/script
/head
body
div id=main

table cellspacing=1 class=tablesorter
thead
tr
 th class={sorter: false}discount/th
thQuote/th
thType/th
thTo View Details/th

/tr
/thead

tbody
tr
tdStudent01/td
tdLanguages/td
tdmale/td

td80/td
/tr
tr
tdStudent02/td

tdMathematics/td
tdmale/td
td90/td

/tr
tr
tdStudent03/td
tdLanguages/td
tdfemale/td
td85/td
/tr
tr
tdStudent04/td
tdLanguages/td
tdmale/td

td60/td
/tr
tr
tdStudent05/td

tdLanguages/td
tdfemale/td
td68/td

/tr
tr
tdStudent06/td
tdMathematics/td
tdmale/td
td100/td
/tr
tr
tdStudent07/td
tdMathematics/td
tdmale/td

td85/td
/tr
tr
tdStudent08/td

tdLanguages/td
tdmale/td
td100/td

/tr
tr
tdStudent09/td
tdMathematics/td
tdmale/td
td80/td
/tr
tr
tdStudent10/td
tdLanguages/td
tdmale/td

td85/td
/tr
tr
tdStudent11/td

tdLanguages/td
tdmale/td
td86/td

/tr
tr
tdStudent12/td
tdMathematics/td
tdfemale/td
td100/td
/tr
tr
tdStudent13/td
tdLanguages/td
tdfemale/td

td100/td
/tr
tr
tdStudent14/td

tdLanguages/td
tdfemale/td
td50/td

/tr
tr
tdStudent15/td
tdLanguages/td
tdmale/td
td95/td
/tr
tr
tdStudent16/td
tdLanguages/td
tdfemale/td

td100/td
/tr
tr
tdStudent17/td

tdLanguages/td
tdfemale/td
td80/td

/tr
tr
tdStudent18/td
tdMathematics/td
tdmale/td
td30/td
/tr
tr
tdStudent19/td
tdLanguages/td

[jQuery] Is there a plugin to sort a table with scrollbars?

2008-11-03 Thread livewire9174

Hi,
I am looking for a script that will sort a table when a user clicks on
a table header, I would like this table to have a scrollbar also, does
such a thing exist?



thanks


[jQuery] Using jquery with thickbox causes I.E. 6 to lose scrollbar

2008-10-17 Thread livewire9174

Hi,
Has anybody tried this yet? When i use the latest jquery + thickbox,
when i display a modal window, i.e. 6.0 loses its scrollbar, to the
content appears to move, does anybody have a solution?