http://scratch.mit.edu/projects/Kao/2972902
Scratch Code Brower is an "internet" browser, which displays pages by analyzing the source code. It means, that all the pages are programmed in a special language. You
can learn this language (it's pretty easy) and make your own pages, then send me the code so I can add your page to this project so everyone can see what you've done.
How to make your own page:
Open the list called "CODE" and scroll down to the bottom. Add new line and write something like this:
<PID=xxxxx>
xxxxx means your page's ID. Now scroll upwards a bit and check the last page's ID. Your ID should be bigger by one so for example if last page's ID looks like this:
<PID=00014>
then your page's ID should look like this:
<PID=00015>
Next thing to do is to write an adress of your page. Add a new line to the code and write your page's adress like this:
<URL=www.something.com>
You also must add this adress to the "Pages List" (but without any formula, just only adress).
In the next line you need to choose background color. Write this:
<BGC=y>
y means any number from 1 to 9 (for example 1 is white and 4 is yellow).
Before you'll add any stuff to your page you should first add an ending command to your code:
<END>
Just leave it as it is. Any content you want to add to your page must be between 3rd and 4th line of your code (I mean between the command that gives your background
the right color and the ending command <END>)
Adding content:
1. Adding text:
Add new line in the code and write this:
<TXT="here is your text">
To put the text in next line (On the page itself, not in the code) just add next line in the code.
Important note: There are NO capital letters and not every character is supported.
2. Leaving a line empty (and going to the next line):
Just write this:
<NXT>
3. Splitting your page:
Use this commmand:
<SPL=xxx>
xxx means the color of the line that splits your page (for example 000 is blue and 050 is purple)
4. Adding links:
Use this command:
<LNK="text that displays on the screen"[xxxxx]>
xxxxx means the ID of the page you want the link to lead to.
How to check the ID of the page:
Open the list called "Pages List". The page at the top has ID 00000. The next one has ID 00001. The next one has ID 00002 etc.
Important note: Before posting your code at this thread make sure to write the adress of the page the link leads to in the code (in the same line where the link is).
Example page:
<PID=00003> <URL=www.example.com> <BGC=5> <TXT="hello everybody!"> <NXT> <TXT="how are you?"> <SPL=000> <LNK="just link"[00000]> <END>
And it looks like that:
So please post your page's codes at this thread! I'm waiting for your ideas!
Also feel free to ask here if you have problems with creating your page.
Last edited by Kao (2012-12-11 10:41:36)
Offline