iJS is your new friend! It GREATLY speeds up developing, and helps save a lot of coding. Here's a comparison:
Regular JavaScript: var thethingy = document.getElementById("emubody"); thethingy.innerHTML="Hi!";
iJS: $_headersDeclare(); $_bodySet("Hi!");
It can also generate embed codes for flash as well as images. It will be coming out shortly.
Offline
dvd4 wrote:
IJS code is really hard to understand...
Really?
I dont see how it's hard, look:
Code:
$_headersDeclare()
It basically tells iJS that there is a div with the id of "emubody" on the page, and you can use that to print stuff on.Code:
$_headersDeclare("manual","id of the div to print stuff on")
It basically tells iJS that instead of a div with emubody, there is a custom div.
Code:
$_bodySet("blah blah")
Set's the text in the body to blah blah now the the emubody is set.Code:
$_bodyAdd("blah blah")
Adds blah blah to what is currently in the emubody
Now, I keep referring to emubody. Emubody stands for Emulator Body. Now, since people sometimes DON'T include a body tag, javascript falls back to document.write. One thing., it is HORRENDOUS. It replaces EVERYTHING on the page. An emulator body is basically a div where anything iJS needs to write can write to.
However, you can use other tags that are similar:
$_elementAdd(elementasobject,"blah blah");
Adds blah blah to the defined element as an object.
There is A LOT more to iJS, as you will soon see!
Offline
Servine wrote:
dvd4 wrote:
IJS code is really hard to understand...
Really?
I dont see how it's hard, look:Code:
$_headersDeclare()
It basically tells iJS that there is a div with the id of "emubody" on the page, and you can use that to print stuff on.Code:
$_headersDeclare("manual","id of the div to print stuff on")
It basically tells iJS that instead of a div with emubody, there is a custom div.Code:
$_bodySet("blah blah")
Set's the text in the body to blah blah now the the emubody is set.Code:
$_bodyAdd("blah blah")
Adds blah blah to what is currently in the emubodyNow, I keep referring to emubody. Emubody stands for Emulator Body. Now, since people sometimes DON'T include a body tag, javascript falls back to document.write. One thing., it is HORRENDOUS. It replaces EVERYTHING on the page. An emulator body is basically a div where anything iJS needs to write can write to.
However, you can use other tags that are similar:
$_elementAdd(elementasobject,"blah blah");
Adds blah blah to the defined element as an object.
There is A LOT more to iJS, as you will soon see!
oh,I see
Offline