Galaxy Legion Forum
http://galaxylegion.com/forum/

Use All Button and uninstall all button
http://galaxylegion.com/forum/viewtopic.php?f=6&t=27357
Page 1 of 1

Author:  mysterion [ Thu Jul 26, 2012 3:05 pm ]
Post subject:  Use All Button and uninstall all button

Use All Button
Its been suggested before but why isnt it here? its something every game i have played has use all or a box to choose how many to use! So this is a simple ad on in the next update it will be easy if you use thousands of things at a time like brackets or something.


Uninstall all button
So this is alos been suggested before lots of times. so you can uninstall/sell all selected. again easy add on in next update it will just make life easier.

Plz support thisLike continuum parsers it took lots of support and threads to get dan to agree

Author:  Epicownage [ Thu Jul 26, 2012 4:08 pm ]
Post subject:  Re: Use All Button and uninstall all button

Wow how many uninstall threads have we seen the past week.
Anyway both would be nice especially the use all button if it was only there for ship improvements and a 'Are you sure?' box came up, I certainly don't want to sell all my helmsmen for veloxes.

Author:  mysterion [ Thu Jul 26, 2012 6:50 pm ]
Post subject:  Re: Use All Button and uninstall all button

Epicownage wrote:
Wow how many uninstall threads have we seen the past week.
Anyway both would be nice especially the use all button if it was only there for ship improvements and a 'Are you sure?' box came up, I certainly don't want to sell all my helmsmen for veloxes.

yes but this option is not gonna harm dans research on this game and how to improve it its 2 different things they wont harm him. And yeah i know i remeember how many continuum parser threads there were and finally dan changed it

Author:  elerian [ Thu Jul 26, 2012 7:39 pm ]
Post subject:  Re: Use All Button and uninstall all button

how about a solution that wouldnt eat up a bunch of Dan's time?

oh wait.... problem solved

AVERT THINE EYES OH LOWLY GAMERS THIS BE THE MYSTICAL SCRIBLINGS OF THE PROGRAMAGI !!!!!

Code:

assuming the buttons are created from a php script:
<?php
...
button -> button;
while( this button === 1 )
$pressFunction = "href=". this . ", javascript:void(0)";
...
?>


assuming a combo of html / xhtml & javascript:
...
type="submit, javscript:void(0)"
...

assuming ajax, everything would be built as an array most likely and thus appending javascript:void(0) to the end value of all array items wil solve this.

assuming xslt / xml / or Json structure, could add javascript:void(0) to the end node, or create linked child node to the end of each parent value.

Author:  varunjitsingh146 [ Thu Jul 26, 2012 8:30 pm ]
Post subject:  Re: Use All Button and uninstall all button

+1 this would be nice especially for higher ranks.

Author:  RigorMortis [ Thu Jul 26, 2012 8:57 pm ]
Post subject:  Re: Use All Button and uninstall all button

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.

Author:  mysterion [ Thu Jul 26, 2012 9:17 pm ]
Post subject:  Re: Use All Button and uninstall all button

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 he has a scrap all donut would be Made like that. And the mineral select all option and the confirmation all in 1. And elerian has its code

Author:  elerian [ Thu Jul 26, 2012 9:22 pm ]
Post subject:  Re: Use All Button and uninstall all button

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.

Author:  elerian [ Thu Jul 26, 2012 9:26 pm ]
Post subject:  Re: Use All Button and uninstall all button

mysterion wrote:
And elerian has its code


ehh... i dont have any code for the game, I was just giving quick examples.

and FYI since the game is written in web code and not flash anyone can see what makes it tick.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/