≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Issues getting JavaScript to work in RocketCake
Posted by:
(you are not logged in)
Enter the missing letter in: "Internati?nal"
(you are not logged in)
Text:
[quote][b]jomash[/b] wrote: I have managed to get a few simple JavaScripts into RocketCake but I am struggling with many. For example: <HTML> <HEAD> <SCRIPT> function changecolor(code) { document.bgColor=code } </SCRIPT> </HEAD> <BODY> <form> <input type="button" name="Button1" value="RED" ="changecolor('red')"> <input type="button" name="Button2" value="GREEN" ="changecolor('green')"> <input type="button" name="Button3" value="BLUE" ="changecolor('blue')"> <input type="button" name="Button4" value="WHITE" ="changecolor('white')"> </form> </BODY> </HTML> I added the script to the header and then created the form, adding the in the HTML of the button. That didn't work. I also tried just copying all of it into a HTML Code box and that didn't work either. Any ideas of how to get the code to work (it works when using Notepad outside of RocketCake)? The specific code doesn't matter too much - I want to learn how to actually get the code in generally.[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact