Sidharth wrote:
This is AWESOME, except for the fact that it just opens a blank page ...
Am I doing something wrong here?
http://i.imm.io/5FCI.jpeg
Hehe I forgot the <body> tag, but it still doesn't work.
You need the | end web script | block before the compile one.
Can someone upload this to SourceForge or 4shared please? My web filter blocks it.
Offline
Nope, someone will now. >:)
Last edited by rdococ (2011-05-15 13:20:13)
Offline
Last edited by johnnydean1 (2011-05-15 13:34:07)
Offline
I haven't used it yet, but it looks good.
Offline
Ok, BTW I have done a download for Claw too.
Offline
johnnydean1 wrote:
You forgot end web script!
I added it, and also added the HEAD tag. I get a wrong HTML page as there are some missing characters, i.e. quotes around value of the SRC attribute of IMG tag (quotes should be always output around values of attributes) and a space after the value of the SRC attribute:
<doc type=XHTML 1.0 Strict>
<html >
<head>
<title>Test</title>
<head>
<body >
<img src=http://goldprice.org/images/gold/maple-leaf.gifwidth= 10 height= 10 />
</body >
</html ><br />
BTW, great mod! Go ahead!
Last edited by s_federici (2011-05-17 03:36:42)
Offline
s_federici wrote:
johnnydean1 wrote:
You forgot end web script!
I added it, and also added the HEAD tag. I get a wrong HTML page as there are some missing characters, i.e. quotes around value of the SRC attribute of IMG tag (quotes should be always output around values of attributes) and a space after the value of the SRC attribute:
<doc type=XHTML 1.0 Strict>
<html >
<head>
<title>Test</title>
<head>
<body >
<img src=http://goldprice.org/images/gold/maple-leaf.gifwidth= 10 height= 10 />
</body >
</html ><br />
BTW, great mod! Go ahead!
Quotes have to be used as a double ' (so its ''). This is because Scratch compiles it weird.
Offline
johnnydean1 wrote:
Quotes have to be used as a double ' (so its ''). This is because Scratch compiles it weird.
I see. But why not to automatically add quotes to the HTML output? It would be better if, for example, the img block would already contain the double quotes, that is
<img src='' _ '' width = 10 height = 10>
so that the quotes will be added to the output without the user having to actually tyoe them.
Offline
I already tried that and I cant get it working. Squeak uses 'string' for stings. Thus I can't use ' for blocks.
Offline
johnnydean1 wrote:
I already tried that and I cant get it working. Squeak uses 'string' for stings. Thus I can't use ' for blocks.
It's '''' that makes ". '' makes ' in Squeak.
Offline
Haven't worked on it in a while... Feel free to take over...
Offline
johnnydean1 wrote:
Haven't worked on it in a while... Feel free to take over...
Hey, since Hamachi crashed for you a while back, what are you using now?
Last edited by ProgrammingFreak (2011-05-19 16:03:52)
Offline
ProgrammingFreak wrote:
johnnydean1 wrote:
Haven't worked on it in a while... Feel free to take over...
Hey, since Hamachi crashed for you a while back, what are you using now?
Nothing. I just use forums/Claw Chat (Claw Chat is currently down however.
Offline
johnnydean1 wrote:
ProgrammingFreak wrote:
johnnydean1 wrote:
Haven't worked on it in a while... Feel free to take over...
Hey, since Hamachi crashed for you a while back, what are you using now?
Nothing. I just use forums/Claw Chat (Claw Chat is currently down however.
Claw Chat? One for your mod? Cool.
Offline
It just got past 42 replies!
OFFTOPIC: I noticed it was time 18:42, and "Seat 42" in train.
Offline