Javascript example

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Example 1

    Using JavaScript to pass information in to an application to change the background colour (sets global values which the app then uses to set the background colour). Also shows resizing of the application via a container div tag.

    Please login to see this link.

    Example 2

    Example using JavaScript to pass information in and out of multiple Vitalize applications:

    Url: Please login to see this link.
    Code: Please login to see this link.

    Example 3

    Vitalize application controlling Google Maps via JavaScript.

    Url: Please login to see this link.
    Code: Please login to see this link.


    Notes

    Use view source in your browser to grab a copy of the Html / JavaScript.

  • Some excellent examples =) I loved using the Google Maps one with you this evening; great being able to click your name and to view what you were looking at in real time.

    Multimedia Fusion 2 Developer

  • Yes, forgot to mention in the GoogleMaps, double click another users name to view what they are looking at.

    You can set a home location with the Set Home button, view others home by selecting the name from the user list then 'View Home' button.

  • Is build 247 required ? 'cos in Andrew's first example, all the vitalize! object events are... non existant and it just shows the bullet points
    EDIT: ah yeh, b247 fixes it :)
    EDIT2: think I found a bug, in IE, using the JS code it will pickup the vitalize ID fine (ID: 2 (object Vitalize2)) but using firefox, it will not pick it up unless the ID to search for in the JS is 0, which doesn't work for IE... bug with firefox (1.5) or what ;s?
    And one final thing: there needs to be global value protection for scores and such so that not all global vales / strings can be changed via JS

  • Quote from Andrew

    Example 1

    Using JavaScript to pass information in to an application to change the background colour (sets global values which the app then uses to set the background colour). Also shows resizing of the application via a container div tag.

    Please login to see this link.
    ...

    Has anyone got a copy of the pages linked to above? These links are dead.

    Andy H @ Please login to see this link. - Please login to see this link.
    Retro Gaming @ Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!