WithMyTes…
KPCKevin Powell - Community
•Created by WithMyTes… on 7/27/2024 in #back-end
redundant code?
I have a page (#options_07) that contains all of the rosters in my fantasy football league. I want the script to parse through the player links to identify the team name, player first/last name, position, and team bye so that i can reformat them. Can you help me understand why the bye week div is not being parsed correctly in this example?
https://codepen.io/tvu1313/pen/rNEWpxz
1 replies
KPCKevin Powell - Community
•Created by WithMyTes… on 6/22/2024 in #front-end
tr background image
Is there a way to apply a tr image to the row just once without it adding the image to every td within the tr?
https://codepen.io/tvu1313/pen/vYwjGOj
7 replies
KPCKevin Powell - Community
•Created by WithMyTes… on 6/19/2024 in #front-end
How to add Gap to Grid Elements that are "Display: Contents:
I'm trying to have the team sections separated by a few px but im struggling with the current structure of my setup. Do I need to change my HTML to achieve what i'm looking for? I was using the display:contents on the team section so that i could put a team background image in each section.
https://codepen.io/tvu1313/pen/NWVyXGE
4 replies
KPCKevin Powell - Community
•Created by WithMyTes… on 6/17/2024 in #back-end
Dynamically Changing Charts
I'm trying to dynamically change some charts on Myfantasyleague.com based on the team names and colors. I can get this code to work when I'm testing via a local server on VS code, but when I load the code onto the live site, it doesn't function correctly. Can anyone tell me what I'm missing as to why these charts are not being reformatted?
Script I'm using
https://codepen.io/tvu1313/pen/vYwpwEP
Live Site
https://www45.myfantasyleague.com/2024/options?L=59840&O=207
apologies in advance for the team names haha.
13 replies
KPCKevin Powell - Community
•Created by WithMyTes… on 10/30/2023 in #front-end
all td cells the same height?
https://www45.myfantasyleague.com/2023/options?L=59840&O=113&CMD=GRID&DISPLAY=LEAGUE&ARCHIVE=*
In the above site, I have a bunch of rows with data. In some cases there are tables within td elements. When that happens, it makes the td’s with only one draft pick stretch to reach the height of the entire tr. how can I make it so those td elements with one draft pick stay at a specific height and align to the top of other td elements within the row?
2 replies
KPCKevin Powell - Community
•Created by WithMyTes… on 8/17/2023 in #front-end
Borders on Table Rows with spacing between rows?
13 replies
KPCKevin Powell - Community
•Created by WithMyTes… on 6/6/2023 in #front-end
Struggling with Sub Menu Script
I'm trying to make my sub menu collapsible, but can't get the code to do what I need it to do. the CSS is pretty large but this troubleshooting should be limited to the section "/* primary-header */". anyone know why I can't get the sub menu list to display as block on click?
https://codepen.io/tvu1313/pen/LYXYVjq
5 replies