Screen shaking example using the Spry Javascript library.
Please login to see this link.
Thanks to Andrew from Gwerdy for this.
More examples showing Vitalize and Javascript intergration will be happening soon.
Don't have an account yet? Then register once and completely free of charge and use our wide range of topics, features and great options. As a registered member on our site, you can use all functions to actively participate in community life. Write posts, open topics, upload your pictures, put your videos online, talk to other members and help us to constantly improve our project and grow together! So, what are you waiting for? Become a part of us today!
Login or registerTo get support for a technical issue such as installing the software, to query a purchase that you've made/would like to make, or anything other than using our software, please visit our Customer Service Desk:
Open a TicketScreen shaking example using the Spry Javascript library.
Please login to see this link.
Thanks to Andrew from Gwerdy for this.
More examples showing Vitalize and Javascript intergration will be happening soon.
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.
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.
in the first example, using firefox 1.5.. well its all screwed up... fixed in firefox 2.x / 3.x anyone ?
by first, i mean Jeffs, the shake
First example works fine 3.x for me. 1.5 is way outdated
Works fine in Firefox 2.x too
The problem is probably due to the script used in this page to shake the screen.
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
Quotethere needs to be global value protection for scores and such so that not all global vales / strings can be changed via JS
There is an "Enable scripting features" option in the properties of the application. Just unselect it.
but I mean for some values, like if the score is stored in one value and its submitted via JS or something, anyone can take the HTML and change the code so it always sets the score to an extremely high number
If you submit the score via Javascript or anything else you should encrypt it with a private key so that nobody can change it easily.
Very Cool, this should be stickied after there are 2 pages, though.
It keeps shaking and when it shakes i loose the ball
That's the whole point. Read the first post!
Quote from AndrewExample 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.
Don’t have an account yet? Register yourself now and be a part of our community!
Almightyzentaco (Fusion 2.5 Tutorials)
Captain Quail (Firefly Tutorials)