Jump to content


Photo

Auction Bidding Screen


3 replies to this topic

#1 sackdaddy

sackdaddy

    Veteran

  • Members
  • PipPipPip
  • 69 posts
  • Gender:Male

Posted 16 March 2018 - 03:32 PM

Fairly certain I already know the answer to this, but thought I'd ask the smart people anyway...

 

On the Auction bidding screen (O=43), is there any way via css or javascript to put the 'Bid Amt.' column on the left side directly by the players name? I often have owners mistakenly bid on the wrong player because they put it in the wrong box on the opposite side of the page.

 

Appreciate any help I can get fellas, you guys are rock stars.



#2 sackdaddy

sackdaddy

    Veteran

  • Members
  • PipPipPip
  • 69 posts
  • Gender:Male

Posted 17 May 2019 - 05:23 PM

A new offseason so we’ve been running into this problem again. Any way to move the Bid column from the right side of the table to the left, by the players names? Thanks!

#3 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,364 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 19 May 2019 - 02:37 PM

This can easily be done using jQuery , make sure you have a jQuery library loaded in your header

 

In the footer add this script , adjust it depending on how many columns your table has.

 

My demo is showing a total of 7 columns in that table. 1st Column is 0 - last column is 6

 

In the script i'm moving column 6 in front of column 1 "  jQuery.moveColumn(tbl, 6, 1);  "   - so if your table has more or less columns , adjust the numbers

 

<script type="text/javascript">
jQuery.moveColumn = function (table, from, to) {
    var rows = jQuery('tr', table);
    var cols;
    rows.each(function() {
        cols = jQuery(this).children('th, td');
        cols.eq(from).detach().insertBefore(cols.eq(to));
    });
}
$(document).ready(function() {
    var tbl = jQuery('#body_options_43 form table.nocaption');
    jQuery.moveColumn(tbl, 6, 1);
});
</script> 

 

 

1-test.jpg

 

 

 

 

 

 

2-test.jpg


FREE Player Cuts Collection
https://www.nitrogra...om/player-cuts/


#4 sackdaddy

sackdaddy

    Veteran

  • Members
  • PipPipPip
  • 69 posts
  • Gender:Male

Posted 20 May 2019 - 06:58 PM

TOS! You. Are. The. Man! Thank you so much, knew you guys would come to the rescue.



Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users