|
|
#1 (permalink) |
|
Narumon Z
Join Date: Jan 2006
Posts: 78
|
This may be a duplicate, but nevertheless:
I have enough trouble trying to keep track of ~140 "Want to Watch" anime by title alone. It would be nice if the disabled episode count select element would show the total number of episodes for "Want to Watch" anime, and then revert the value to "Eps" when the status changes as appropriate. This way users can make an additional determination about what I want to watch next by total episode count, which conveniently uses existing information and can be readily implemented with a javascript event handler and requires no changes to the page content or appearance. After all, sometimes you may want to watch a short series, and sometimes you'd prefer a longer one... UPDATE I forgot to mention this but given that the anime status is "Want to Watch" I don't think there would be any confusion with having a non-"Eps" episode count set, especially if it remained disabled. I'd just take note of the fact that it was still yellow... UPDATE 2 In the interim, I've come up with a bit of javascript to do this for the current page only. As such, the above proposal is still preferrable, but this will work in the interim. However, given that it would have to be repeated for each subsequent page I find it works best by showing all and doing it once. Code:
var s = document.getElementsByTagName('select');
for (var i=0;i<s.length;i++) if (s[i].className == 'episodes')
s[i].value=s[i].options[s[i].options.length-1].value;
javascript:void(above code to go here on a single line); HTH UPDATE 3 The working one-liner javascript: Code:
javascript:void(eval('s=document.getElementsByTagName("select"); for (var i=0;i<s.length;i++) if (s[i].className == "episodes") s[i].value = s[i].options[s[i].options.length-1].value'));
Last edited by eibwen; 10-24-2007 at 02:45 PM. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|