Replies

Jul 7, 2019 6 years ago
Jigglypuff
attended a Subeta meetup!
User Avatar

does anyone know of any code that stops the training page from automatically scrolling to the pet you just trained? i know it’s supposed to be a qol improvement but it really bothers me :’D lmk and thank you!


wl // shop

Jul 9, 2019 6 years ago
Elementary, my dear
Written
User Avatar

I'm afraid I don't have a coding solution to this, but my workaround is to order pets based on their training needs, then I put them into training one by one, but hitting ESC after every click so that the page doesn't load. I go down the page to take them out of training, and then when I get to the last pet, I allow the page to load (don't hit ESC), and go back to the training center by clicking the button. I'm now on the last pet, and I can go back up the page following the same method to put them back into training. When I get to the first pet, I let the page load and hit the alert button. Then I double check to make sure everyone got into training who is supposed to be, and no one is training who isn't supposed to be, and that's that. :)

Can I ask why you want a workaround to this problem? My solution works for me, but you may need something different depending on how you train your pets and what this page jump is preventing you from doing. :)

The past is written, but the future is left for us to write. ~ Picard

Jul 9, 2019 6 years ago
Solsticesprite
cleans up nicely
User Avatar

when this was first implemented there were objectors as there always are when something battle-related gets changed.

My suggestion is to ask in Battle Chat and see if there's a specific solution, second then to look in Profiles & Graphics forums and then General to see if someone has something like this already made.

Jul 11, 2019 6 years ago
Jigglypuff
attended a Subeta meetup!
User Avatar

ya! i actually only train one pet and she happens to be on top. its more that bc the page takes a second to actually scroll to the pet, if i start trying to click somewhere else it just drags me down to where she is. and again since i only train the one pet.. there's like no point in actually scrolling back down there. it's just a nuisance really :')

i'll look into that, ty :)


wl // shop

Jul 11, 2019 6 years ago Official
Bug
User Avatar
Segfault

I've gone ahead and added a separate link without the scroll. Now, you will see two links:

Quote
Back to Training Center
Back to Training Center (No Auto-Scroll)

The second link won't automatically scroll you down to where you were in the page. The first link still auto-scrolls for those who find it convenient.

I hope this helps :)

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Jul 11, 2019 6 years ago
Solsticesprite
cleans up nicely
User Avatar

Yay! Thank you for taking time out from your big projects.

Jul 11, 2019 6 years ago
Jigglypuff
attended a Subeta meetup!
User Avatar

Thanks so much!! I really appreciate you taking the time to do this :)


wl // shop

Jul 12, 2019 6 years ago
Flying Ace
Speiro
User Avatar

New problem: Is there an easy way to hide one of the links? Having two of the same thing is going to trip me up when I only plan to ever use one of them (the non-scrolling one).


Jul 12, 2019 6 years ago
Elementary, my dear
Written
User Avatar

I totally agree - it is a bit weird to have them so close together and similarly named. If they were labelled - like as a span or a div - then one or the other could be vanished with CustomCSS. Is that a possibility, ? :) If they both had a label, then people could choose which one they wanted to show up and could hide the other if they wanted.

The past is written, but the future is left for us to write. ~ Picard

Jul 12, 2019 6 years ago
Bug
User Avatar
Segfault

Sure, it's no problem. Done.

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Jul 12, 2019 6 years ago
Flying Ace
Speiro
User Avatar

Thank you :D


Jul 12, 2019 6 years ago
Elementary, my dear
Written
User Avatar

Thank you! That was fantastic and swift. ^_^

The past is written, but the future is left for us to write. ~ Picard

Please log in to reply to this topic.