Difference between revisions of "Talk:IGB Javascript Methods"

From Backstage Lore Wiki
Jump to: navigation, search
m
m (Protected "Talk:IGB Javascript Methods" [edit=sysop:move=sysop])
(No difference)

Revision as of 07:06, 14 October 2009

data type of expected arguments should be included. Also examples and a proper method signature notation. The current representation is not a proper method signature. <font="green">-- Fixed</font>



There is no :: operator in JavaScript.

This is a syntax error:

<button type="button" onClick="Client.ShowRouteTo(30003276::30000380)">Show Route</button>

Is the example missing quotes?

<button type="button" onClick="Client.ShowRouteTo('30003276::30000380')">Show Route</button>

I'd prefer if ShowRouteTo would just support two parameters (and was probably renamed to reflect the order of arguments):

<button type="button" onClick="Client.ShowRouteFromTo(30003276, 30000380)">Show Route</button>

--Haskell 14:37, 5 October 2009 (UTC)

Ship DNA?

The Fitting ID in the ShowFitting() method is using the Ship DNA Format. I've written up a short article on how to put it together but we really need what you expect.

  • Is there a specific format or order?
  • Whats with the two empty modules at the end?
  • If we throw modules in the wrong order will that error out?
  • If we throw in drones and charges will that error out?

Need Fleet Interaction Functions

In the old IGB you could click on a link to a fleet and join that fleet. Now that the old-style links are not being implemented, there needs to be a javascript function to implement joining a fleet. I'd suggest a leave fleet counterpart as well. There are a lot of corporations and alliances using fleet management IGB sites that require the ability to have a link to the fleet to really fulfill their purpose. --Twistalous 08:57, 9 October 2009 (UTC)

Personal tools
Namespaces

Variants
Actions
Navigation
Tools