View previous topic :: View next topic |
Author |
Message |
TobyF 1st Lieutenant
Joined: 22 Dec 2001 Posts: 37 Location: Erding
|
Posted: Mon Feb 11, 2002 11:09 am Post subject: |
|
|
Hi!
Whats about a pulldown menu in the fleet section in which you have all your contacts from the comlist and maybe others, which you can add by hand?
This would be more comfortable!
MfG
Toby |
|
Back to top » |
|
|
admin Board Admin
Joined: 09 Jan 2002 Posts: 2938
|
Posted: Mon Feb 11, 2002 4:24 pm Post subject: |
|
|
nice idea, we think about it |
|
Back to top » |
|
|
admin Board Admin
Joined: 09 Jan 2002 Posts: 2938
|
Posted: Wed Jun 19, 2002 12:31 am Post subject: |
|
|
i think, this would be a candidate for a game extension javascript, because it would be too much traffic, if you load the whole com list entrys everytime you reload the fleet screen |
|
Back to top » |
|
|
admin Board Admin
Joined: 09 Jan 2002 Posts: 2938
|
Posted: Wed Jun 19, 2002 6:52 am Post subject: |
|
|
i will start programming that..... |
|
Back to top » |
|
|
admin Board Admin
Joined: 09 Jan 2002 Posts: 2938
|
Posted: Wed Jun 19, 2002 7:52 am Post subject: |
|
|
it works (on MSIE)
you can download the script fleets_top.js
at
http://www.spacetrace.org/javascripts/
just save it in your spacetrace directory and insert all the coords, you need (open it with NOTEPAD or Homesite)
then you will have a Pulldown menu in the fleets screen. just klick the target coords box of the fleet, you want to insert the coords and then select the target |
|
Back to top » |
|
|
Dougster 1st Rear Admiral
Joined: 14 Apr 2002 Posts: 251
|
Posted: Wed Jun 19, 2002 8:22 am Post subject: |
|
|
should I have it in c:/spacetrace/sounds
cos I downloaded it into spacetrace and nothing seems to have happened. |
|
Back to top » |
|
|
Dougster 1st Rear Admiral
Joined: 14 Apr 2002 Posts: 251
|
Posted: Wed Jun 19, 2002 8:27 am Post subject: |
|
|
ok, answered my own question, it is sounds
but its got two co ords black hole and nobody.
Havent quite got it figured out yet. |
|
Back to top » |
|
|
admin Board Admin
Joined: 09 Jan 2002 Posts: 2938
|
Posted: Wed Jun 19, 2002 3:25 pm Post subject: |
|
|
yes, that's an example
copy the sentence wit the black hole in the script and change name and coords - you will see |
|
Back to top » |
|
|
Bilerator 1st Rear Admiral
Joined: 10 Jan 2002 Posts: 203 Location: Germany
|
Posted: Wed Jun 19, 2002 3:38 pm Post subject: |
|
|
what is the index.js good for `? |
|
Back to top » |
|
|
Bilerator 1st Rear Admiral
Joined: 10 Jan 2002 Posts: 203 Location: Germany
|
Posted: Wed Jun 19, 2002 4:45 pm Post subject: |
|
|
ah, I know now
|
|
Back to top » |
|
|
admin Board Admin
Joined: 09 Jan 2002 Posts: 2938
|
Posted: Wed Jun 19, 2002 8:06 pm Post subject: |
|
|
now you can generate the code for your fleets_top.js script in the search screen, if you paste your comlist there |
|
Back to top » |
|
|
Lord Philemon Vice Admiral
Joined: 12 Mar 2002 Posts: 556 Location: Germany
|
Posted: Thu Jun 20, 2002 10:25 am Post subject: |
|
|
Quote: | copy the sentence wit the black hole in the script and change name and coords - you will see |
Copy which sentence into which screen?
And what is the index.js good for? |
|
Back to top » |
|
|
Dougster 1st Rear Admiral
Joined: 14 Apr 2002 Posts: 251
|
Posted: Thu Jun 20, 2002 11:02 am Post subject: |
|
|
you open the fleet.js file in notepadand copy and change this line
document.write('<option value="500/500/50">500/500/50 - blackhole</option>'); |
|
Back to top » |
|
|
CKork 2nd Lieutenant
Joined: 18 Jun 2002 Posts: 11 Location: Germany
|
Posted: Thu Jun 20, 2002 2:50 pm Post subject: |
|
|
wouldn't it help to be required to download all that stuff when signing up? that way everybody would have it! |
|
Back to top » |
|
|
Lord Philemon Vice Admiral
Joined: 12 Mar 2002 Posts: 556 Location: Germany
|
Posted: Wed Jun 26, 2002 8:20 pm Post subject: |
|
|
So do I have to write a new line for each coord I want to add? |
|
Back to top » |
|
|
administrator Board Admin
Joined: 05 Dec 2001 Posts: 184
|
Posted: Wed Jun 26, 2002 11:22 pm Post subject: |
|
|
exactly |
|
Back to top » |
|
|
flitze Captain
Joined: 06 May 2002 Posts: 97 Location: Northern Germany
|
Posted: Fri Jun 28, 2002 11:43 am Post subject: |
|
|
like this:
document.write('<option value="xxx/xxx/xx">xxx/xxx/xx - Peter</option>');
document.write('<option value="xxx/xxx/xx">xxx/xxx/xx - Bärbel</option>');
document.write('<option value="xxx/xxx/xx">xxx/xxx/xx - Hans</option>');
document.write('<option value="xxx/xxx/xx">xxx/xxx/xx - Jürgen</option>');
.
.
.
_________________ All my problems seem to come from a lack of solutions. Either that or spelling mistakes. |
|
Back to top » |
|
|
admin Board Admin
Joined: 09 Jan 2002 Posts: 2938
|
Posted: Wed Jan 08, 2003 4:40 am Post subject: |
|
|
if some of you know javascript, it would be easy to implement some more helpful scripts like this - any suggestions? |
|
Back to top » |
|
|
Captain Starlight Vice Admiral
Joined: 13 Sep 2002 Posts: 473 Location: Outer Space
|
Posted: Sat Jan 11, 2003 8:12 am Post subject: |
|
|
Where did it go?
_________________ _________________________**** |
|
Back to top » |
|
|
spacetrace Board Admin
Joined: 24 Dec 2001 Posts: 1624
|
Posted: Sat Jan 11, 2003 9:23 am Post subject: |
|
|
you got ot change your game-directory in [preferences] to the location whre your scripts are. |
|
Back to top » |
|
|
|