RigorMortis wrote:
How do you know it's a nice and easy addition? It's a nice and easy concept, but very rarely does an easy concept translate to easy coding.
That said, it would be nice to have these.
well changing the configuration of the GUI would be alot more dificult than appending a line of code to either the <href> or <input> destiations of the button class that dan is using, and javasctipt:void(0) simply stops page refresh - its basically a lowjak version of save state - so it isnt going to interfere with functionality.
and since - and im guessing here - the tabel data holding / referencing all of our ship mods is paginated, with what i would assume is a javascript library of sorts, most likely either jquery or mootools, Dan could probably just add that code right in.
as a stand alone function it would look something like:
Code:
- doc ready, or whatever -
....
getElementybyClass(.button).href=this + javascript:void(0);
....
Now javascript is not my strong language so if thats incorrect then sorry, but a quick google search would provide acurate code, im on my phone right now or i'd provide it.