includes/clientside/static/paginate.js
changeset 420 301f546688d1
parent 387 92664d2efab8
child 550 685e839d934e
equal deleted inserted replaced
419:b8b4e38825db 420:301f546688d1
   267   }
   267   }
   268 }
   268 }
   269 
   269 
   270 function paginator_goto(parentobj, this_page, num_pages, perpage, url_string)
   270 function paginator_goto(parentobj, this_page, num_pages, perpage, url_string)
   271 {
   271 {
   272   var height = $(parentobj).Height();
   272   var height = $dynano(parentobj).Height();
   273   var width  = $(parentobj).Width();
   273   var width  = $dynano(parentobj).Width();
   274   var left   = $(parentobj).Left();
   274   var left   = $dynano(parentobj).Left();
   275   var top    = $(parentobj).Top();
   275   var top    = $dynano(parentobj).Top();
   276   var left_pos = left + width ;
   276   var left_pos = left + width ;
   277   var top_pos = height + top;
   277   var top_pos = height + top;
   278   var div = document.createElement('div');
   278   var div = document.createElement('div');
   279   div.style.position = 'absolute';
   279   div.style.position = 'absolute';
   280   div.style.top = top_pos + 'px';
   280   div.style.top = top_pos + 'px';
   305   Fat.fade_element(div.id,30,2000,from,Fat.get_bgcolor(div.id));
   305   Fat.fade_element(div.id,30,2000,from,Fat.get_bgcolor(div.id));
   306   */
   306   */
   307   
   307   
   308   fly_in_bottom(div, false, true);
   308   fly_in_bottom(div, false, true);
   309   
   309   
   310   var divh = $(div).Width();
   310   var divh = $dynano(div).Width();
   311   left_pos = left_pos - divh;
   311   left_pos = left_pos - divh;
   312   div.style.left = left_pos + 'px';
   312   div.style.left = left_pos + 'px';
   313 }
   313 }
   314 
   314 
   315 function paginator_submit(obj, max, perpage, formatstring)
   315 function paginator_submit(obj, max, perpage, formatstring)