liking the form update. Scratch block>>step 5 has an error though, the first radio is on the same line as the h4 text.
also, Panther block> catagory and download URL are on the same line for some reason! Both need <br /> tags.
Offline
NOOOOO! GOD.
I SAID WEDNESDAY, IF YOU USE THE DB AND STUFF NOW IT'S GONNA BE TOO HARD TO CONVERT OVER. DO YOU GUYS EVEN LISTEN TO ME?
I'm very dissapointed with you.
But really. Wednesday.
Offline
fg123 wrote:
NOOOOO! GOD.
I SAID WEDNESDAY, IF YOU USE THE DB AND STUFF NOW IT'S GONNA BE TOO HARD TO CONVERT OVER. DO YOU GUYS EVEN LISTEN TO ME?
I'm very dissapointed with you.
![]()
But really. Wednesday.
I didn't do anything.
Offline
Right. Sorry...
I anticipate many regular library contributors requesting to be moderators for the site - so before I go, here's a FINAL list of people who will be allowed moderator privilages if they wish to take them up.
fg123
MathWizz
Sparks
Magnie
Daffy22
ProgrammingFreak
meowmeow55
(if I accidentally missed someone, this is basically a list of the people working on the site. I think with 7 people working on it, we've got enough, so lets make that the final list
)
Last edited by sparks (2010-12-21 12:43:03)
Offline
sparks wrote:
liking the form update. Scratch block>>step 5 has an error though, the first radio is on the same line as the h4 text.
Same thing with the BYOB and Panther forms, but I see the Scratch form has been fixed
Offline
sparks wrote:
Right. Sorry...
I anticipate many regular library contributors requesting to be moderators for the site - so before I go, here's a FINAL list of people who will be allowed moderator privilages if they wish to take them up.
fg123
MathWizz
Sparks
Magnie
Daffy22
ProgrammingFreak
meowmeow55
(if I accidentally missed someone, this is basically a list of the people working on the site. I think with 7 people working on it, we've got enough, so lets make that the final list)
right ok
I'm currently adjusting the forms so it fits in with the websites house style and going to add some images
Offline
Daffy22 wrote:
sparks wrote:
Right. Sorry...
I anticipate many regular library contributors requesting to be moderators for the site - so before I go, here's a FINAL list of people who will be allowed moderator privilages if they wish to take them up.
fg123
MathWizz
Sparks
Magnie
Daffy22
ProgrammingFreak
meowmeow55
(if I accidentally missed someone, this is basically a list of the people working on the site. I think with 7 people working on it, we've got enough, so lets make that the final list)
right ok
![]()
I'm currently adjusting the forms so it fits in with the websites house style and going to add some images![]()
i'm on now! What can i do? It looks like you redid my form.
Offline
MathWizz wrote:
For those of you that don't check the main site, here
??
Offline
ProgrammingFreak wrote:
Daffy22 wrote:
sparks wrote:
Right. Sorry...
I anticipate many regular library contributors requesting to be moderators for the site - so before I go, here's a FINAL list of people who will be allowed moderator privilages if they wish to take them up.
fg123
MathWizz
Sparks
Magnie
Daffy22
ProgrammingFreak
meowmeow55
(if I accidentally missed someone, this is basically a list of the people working on the site. I think with 7 people working on it, we've got enough, so lets make that the final list)
right ok
![]()
I'm currently adjusting the forms so it fits in with the websites house style and going to add some images![]()
i'm on now! What can i do? It looks like you redid my form.
nope, same form. I just made look better!
Offline
Daffy22 wrote:
ProgrammingFreak wrote:
Daffy22 wrote:
right ok![]()
I'm currently adjusting the forms so it fits in with the websites house style and going to add some images![]()
i'm on now! What can i do? It looks like you redid my form.
nope, same form. I just made look better!
![]()
Thank you! I have thought of some morte things. A page that says "thank you for entering a block" type of thing.
Offline
ProgrammingFreak wrote:
Daffy22 wrote:
ProgrammingFreak wrote:
i'm on now! What can i do? It looks like you redid my form.nope, same form. I just made look better!
![]()
Thank you! I have thought of some morte things. A page that says "thank you for entering a block" type of thing.
yup thats a good idea.
I've finished the form now (check it out! http://www.block-library.freehostingcloud.com/submit/)
Offline
How can I get the code for it? I would like to work on it more! Unless you have something else for me
Offline
ProgrammingFreak wrote:
How can I get the code for it? I would like to work on it more! Unless you have something else for me
well. can you add images to the categories ect? host the images else were.
and here is the code: (don't touch the <? php ?> stuff
)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Block Library</title>
<link id="theme" rel="stylesheet" type="text/css" href="http://www.block-library.freehostingcloud.com/style.css" title="theme" />
</head>
<body>
<!-- top wrapper -->
<table width="100%" height="200" border="0">
<tr>
<td height="150" class="header">
</td>
</tr>
<tr>
<td height="50" align="center" class="nav">
<a href="http://www.block-library.freehostingcloud.com/">
<img border="0" src="http://www.block-library.freehostingcloud.com/images/home.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/homeOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/home.png';" />
</a>
<a href="http://www.block-library.freehostingcloud.com/submit">
<img border="0" src="http://www.block-library.freehostingcloud.com/images/submit.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/submitOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/submit.png';" />
</a>
<a href="http://www.block-library.freehostingcloud.com/browse">
<img border="0" src="http://www.block-library.freehostingcloud.com/images/browse.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/browseOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/browse.png';" />
</a>
<a href="http://scratch.mit.edu/forums/viewtopic.php?id=40508&p=1">
<img border="0" src="http://www.block-library.freehostingcloud.com/images/discustion.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/discustionOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/discustion.png';" />
</a>
<a href="http://www.block-library.freehostingcloud.com/contact">
<img border="0" src="http://www.block-library.freehostingcloud.com/images/contact.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/contactOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/contact.png';" />
</a>
</td>
</tr>
</table>
<!-- end top wrapper -->
<div id="wrapper">
<div id="bg">
<div id="page">
<!-- begin container -->
<div id="container">
<!-- content -->
<div id="content">
<div id="center">
<div
id="welcome"> <br /><br />
<!-- line: <div class="hr"><hr></div> -->
<!-- main body -->
<h2>Submit A Block...</h2>
<?
if ($_GET['type'] == "")
{
?>
<img src="images/step1.gif" alt="step 1 image" /><br />
<form action="#" method="get">
<select name="type">
<option value="Scratch">Scratch Block</option>
<option value="BYOB">BYOB Block</option>
<option value="Panther">Panther Block</option>
</select>
<input type="submit" name="submit" value="Next Step..." />
</form>
<?
}
if ($_GET['type'] == "Scratch")
{
?>
<!-- SCRATCH FORM -->
<div id="f1">
<form id="Scratch" method="POST" action="scratch.php">
<br /><img src="images/step2.gif" alt="step 2 image" /><br />
<b>enter your blockspec.</b><br />
<input type="text" name="blockspec" value="e.g. say %s" />
<br /><br /><img src="images/step3.gif" alt="step 3 image" /><br />
<b><a href="upload">Upload a picture of your block...</a><br />
...And enter the URL here: <br /><input type="text" name="image" /></b><br />
<br /><img src="images/step4.gif" alt="step 4 image" /><br />
<b> Which catagory does your block belong to?</b><br />
<input type="radio" name="catagory" value="Motion">Motion
<input type="radio" name="catagory" value="Control">Control<br />
<input type="radio" name="catagory" value="Looks">Looks
<input type="radio" name="catagory" value="Sensing">Sensing<br />
<input type="radio" name="catagory" value="Sound">Sound
<input type="radio" name="catagory" value="Operators">Operators<br />
<input type="radio" name="catagory" value="Pen">Pen
<input type="radio" name="catagory" value="Variables">Variables<br />
<br /><br /><img src="images/step5.gif" alt="step 5 image" /><br />
<b>What type of block is it?</b><br />
<input type="radio" name="type" value="-" /> Stack image here<br />
<input type="radio" name="type" value="r" /> Reporter image here<br />
<input type="radio" name="type" value="b" /> Boolean image here<br />
<input type="radio" name="type" value="c" /> C loop image here<br />
<br /><img src="images/step6.gif" alt="step 6 image" /><br />
<b>Who created this block?</b><br />
<input type="text" value="Scratch username" />
<br /><br /><img src="images/step7.gif" alt="step 7 image" /><br />
<b>Enter the code for your block. Test it before you submit it to make sure it works If the code needs to
go in more than one place, mark the locations of the code clearly.</b><br />
<textarea rows="10" cols="50">
e.g.
block: t1
| t2 |
^ t1 , 'gap' , t2
</textarea>
<br />
<br />
<input type="submit" value="Submit block" />
</form>
</div>
<?
}
if ($_GET['type'] == "BYOB")
{
?>
<!-- BYOB FORM -->
<div id="f2">
<form id="BYOB" method="POST" action="byob.php">
<br /><img src="images/step2.gif" alt="step 2 image" /><br />
<b><a href="upload">Upload a picture of your final block...</a><br />
...And enter the URL here: <br /><input type="text" name="image" /></b>
<br />
<br /><img src="images/step3.gif" alt="step 3 image" /><br />
<b><a href="upload">Upload a picture of how to make your block...</a><br />
...And enter the URL here: <br /><input type="text" name="image" /></b>
<br /><br /><img src="images/step4.gif" alt="step 4 image" /><br />
<b> Which catagory does your block belong to?</b><br />
<input type="radio" name="catagory" value="Motion">Motion
<input type="radio" name="catagory" value="Control">Control<br />
<input type="radio" name="catagory" value="Looks">Looks
<input type="radio" name="catagory" value="Sensing">Sensing<br />
<input type="radio" name="catagory" value="Sound">Sound
<input type="radio" name="catagory" value="Operators">Operators<br />
<input type="radio" name="catagory" value="Pen">Pen
<input type="radio" name="catagory" value="Variables">Variables<br />
<input type="radio" name="catagory" value="Variables">Other
<br />
<br /><img src="images/step5.gif" alt="step 5 image" /><br />
<b>What type of block is it?</b><br />
<input type="radio" name="type" value="-" /> Stack image here<br />
<input type="radio" name="type" value="r" /> Reporter image here<br />
<input type="radio" name="type" value="b" /> Boolean image here<br />
<input type="radio" name="type" value="c" /> C loop image here<br />
<br /><img src="images/step6.gif" alt="step 6 image" /><br />
<b>Who created this block?</b><br />
<input type="text" value="Scratch username" />
<br />
<br />
<input type="submit" value="Submit block" />
</form>
</div>
<?
}
if ($_GET['type'] == "Panther")
{
?>
<div id="f3">
<!-- PANTHER FORM -->
<form id="Panther" method="POST" action="panther.php">
<br /><img src="images/step2.gif" alt="step 2 image" /><br />
<b>enter your blockspec</b><br />
<input type="text" name="blockspec" value="e.g. say $String$" />
<br /><br /><img src="images/step3.gif" alt="step 3 image" /><br />
<b><a href="upload">Upload a picture of your block...</a><br />
...And enter the URL here:<br /> <input type="text" name="image" /></b><br />
<br /><img src="images/step4.gif" alt="step 4 image" /><br />
<b> Which catagory does your block belong to?</b><br />
<input type="radio" name="catagory" value="Motion">Motion
<input type="radio" name="catagory" value="Control">Control<br />
<input type="radio" name="catagory" value="Looks">Looks
<input type="radio" name="catagory" value="Sensing">Sensing<br />
<input type="radio" name="catagory" value="Sound">Sound
<input type="radio" name="catagory" value="Operators">Operators<br />
<input type="radio" name="catagory" value="Pen">Pen
<input type="radio" name="catagory" value="Variables">Variables<br />
<input type="radio" name="catagory" value="Variables">Other
<br />
<br /><br /><img src="images/step5.gif" alt="step 5 image" /><br />
<b>What type of block is it?</b><br />
<input type="radio" name="type" value="-" /> Stack image here<br />
<input type="radio" name="type" value="r" /> Reporter image here<br />
<input type="radio" name="type" value="b" /> Boolean image here<br />
<input type="radio" name="type" value="c" /> C loop image here<br />
<br /><img src="images/step6.gif" alt="step 6 image" /><br />
<b>Who created this block?</b><br />
<input type="text" value="Scratch username" />
<br />
<br /><img src="images/step7.gif" alt="step 7 image" /><br />
<b>Enter the code for your block. Test it before you submit it to make sure it works.</b>
<textarea rows="10" cols="50">
e.g. ^ t1
</textarea>
<br />
<br />
<input type="submit" value="Submit block" />
</form>
</div>
<?
}
?>
<!-- main body end -->
</div>
</div>
</div>
</div>
<!-- end content -->
</div>
<!-- end container -->
</div>
<div id="footerWrapper">
</div>
</div>
</div>
</body>
</html>Offline
Daffy22 wrote:
ProgrammingFreak wrote:
Daffy22 wrote:
nope, same form. I just made look better!![]()
Thank you! I have thought of some morte things. A page that says "thank you for entering a block" type of thing.
yup thats a good idea.
![]()
I've finished the form now (check it out! http://www.block-library.freehostingcloud.com/submit/)![]()
What happened to mine?
Offline
MathWizz wrote:
Daffy22 wrote:
ProgrammingFreak wrote:
Thank you! I have thought of some morte things. A page that says "thank you for entering a block" type of thing.yup thats a good idea.
![]()
I've finished the form now (check it out! http://www.block-library.freehostingcloud.com/submit/)![]()
What happened to mine?
it didn't work. sorry.
Offline
Daffy22 wrote:
ProgrammingFreak wrote:
How can I get the code for it? I would like to work on it more! Unless you have something else for me
well. can you add images to the categories ect? host the images else were.
and here is the code: (don't touch the <? php ?> stuff)
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Block Library</title> <link id="theme" rel="stylesheet" type="text/css" href="http://www.block-library.freehostingcloud.com/style.css" title="theme" /> </head> <body> <!-- top wrapper --> <table width="100%" height="200" border="0"> <tr> <td height="150" class="header"> </td> </tr> <tr> <td height="50" align="center" class="nav"> <a href="http://www.block-library.freehostingcloud.com/"> <img border="0" src="http://www.block-library.freehostingcloud.com/images/home.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/homeOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/home.png';" /> </a> <a href="http://www.block-library.freehostingcloud.com/submit"> <img border="0" src="http://www.block-library.freehostingcloud.com/images/submit.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/submitOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/submit.png';" /> </a> <a href="http://www.block-library.freehostingcloud.com/browse"> <img border="0" src="http://www.block-library.freehostingcloud.com/images/browse.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/browseOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/browse.png';" /> </a> <a href="http://scratch.mit.edu/forums/viewtopic.php?id=40508&p=1"> <img border="0" src="http://www.block-library.freehostingcloud.com/images/discustion.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/discustionOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/discustion.png';" /> </a> <a href="http://www.block-library.freehostingcloud.com/contact"> <img border="0" src="http://www.block-library.freehostingcloud.com/images/contact.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/contactOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/contact.png';" /> </a> </td> </tr> </table> <!-- end top wrapper --> <div id="wrapper"> <div id="bg"> <div id="page"> <!-- begin container --> <div id="container"> <!-- content --> <div id="content"> <div id="center"> <div id="welcome"> <br /><br /> <!-- line: <div class="hr"><hr></div> --> <!-- main body --> <h2>Submit A Block...</h2> <? if ($_GET['type'] == "") { ?> <img src="images/step1.gif" alt="step 1 image" /><br /> <form action="#" method="get"> <select name="type"> <option value="Scratch">Scratch Block</option> <option value="BYOB">BYOB Block</option> <option value="Panther">Panther Block</option> </select> <input type="submit" name="submit" value="Next Step..." /> </form> <? } if ($_GET['type'] == "Scratch") { ?> <!-- SCRATCH FORM --> <div id="f1"> <form id="Scratch" method="POST" action="scratch.php"> <br /><img src="images/step2.gif" alt="step 2 image" /><br /> <b>enter your blockspec.</b><br /> <input type="text" name="blockspec" value="e.g. say %s" /> <br /><br /><img src="images/step3.gif" alt="step 3 image" /><br /> <b><a href="upload">Upload a picture of your block...</a><br /> ...And enter the URL here: <br /><input type="text" name="image" /></b><br /> <br /><img src="images/step4.gif" alt="step 4 image" /><br /> <b> Which catagory does your block belong to?</b><br /> <input type="radio" name="catagory" value="Motion">Motion <input type="radio" name="catagory" value="Control">Control<br /> <input type="radio" name="catagory" value="Looks">Looks <input type="radio" name="catagory" value="Sensing">Sensing<br /> <input type="radio" name="catagory" value="Sound">Sound <input type="radio" name="catagory" value="Operators">Operators<br /> <input type="radio" name="catagory" value="Pen">Pen <input type="radio" name="catagory" value="Variables">Variables<br /> <br /><br /><img src="images/step5.gif" alt="step 5 image" /><br /> <b>What type of block is it?</b><br /> <input type="radio" name="type" value="-" /> Stack image here<br /> <input type="radio" name="type" value="r" /> Reporter image here<br /> <input type="radio" name="type" value="b" /> Boolean image here<br /> <input type="radio" name="type" value="c" /> C loop image here<br /> <br /><img src="images/step6.gif" alt="step 6 image" /><br /> <b>Who created this block?</b><br /> <input type="text" value="Scratch username" /> <br /><br /><img src="images/step7.gif" alt="step 7 image" /><br /> <b>Enter the code for your block. Test it before you submit it to make sure it works If the code needs to go in more than one place, mark the locations of the code clearly.</b><br /> <textarea rows="10" cols="50"> e.g. block: t1 | t2 | ^ t1 , 'gap' , t2 </textarea> <br /> <br /> <input type="submit" value="Submit block" /> </form> </div> <? } if ($_GET['type'] == "BYOB") { ?> <!-- BYOB FORM --> <div id="f2"> <form id="BYOB" method="POST" action="byob.php"> <br /><img src="images/step2.gif" alt="step 2 image" /><br /> <b><a href="upload">Upload a picture of your final block...</a><br /> ...And enter the URL here: <br /><input type="text" name="image" /></b> <br /> <br /><img src="images/step3.gif" alt="step 3 image" /><br /> <b><a href="upload">Upload a picture of how to make your block...</a><br /> ...And enter the URL here: <br /><input type="text" name="image" /></b> <br /><br /><img src="images/step4.gif" alt="step 4 image" /><br /> <b> Which catagory does your block belong to?</b><br /> <input type="radio" name="catagory" value="Motion">Motion <input type="radio" name="catagory" value="Control">Control<br /> <input type="radio" name="catagory" value="Looks">Looks <input type="radio" name="catagory" value="Sensing">Sensing<br /> <input type="radio" name="catagory" value="Sound">Sound <input type="radio" name="catagory" value="Operators">Operators<br /> <input type="radio" name="catagory" value="Pen">Pen <input type="radio" name="catagory" value="Variables">Variables<br /> <input type="radio" name="catagory" value="Variables">Other <br /> <br /><img src="images/step5.gif" alt="step 5 image" /><br /> <b>What type of block is it?</b><br /> <input type="radio" name="type" value="-" /> Stack image here<br /> <input type="radio" name="type" value="r" /> Reporter image here<br /> <input type="radio" name="type" value="b" /> Boolean image here<br /> <input type="radio" name="type" value="c" /> C loop image here<br /> <br /><img src="images/step6.gif" alt="step 6 image" /><br /> <b>Who created this block?</b><br /> <input type="text" value="Scratch username" /> <br /> <br /> <input type="submit" value="Submit block" /> </form> </div> <? } if ($_GET['type'] == "Panther") { ?> <div id="f3"> <!-- PANTHER FORM --> <form id="Panther" method="POST" action="panther.php"> <br /><img src="images/step2.gif" alt="step 2 image" /><br /> <b>enter your blockspec</b><br /> <input type="text" name="blockspec" value="e.g. say $String$" /> <br /><br /><img src="images/step3.gif" alt="step 3 image" /><br /> <b><a href="upload">Upload a picture of your block...</a><br /> ...And enter the URL here:<br /> <input type="text" name="image" /></b><br /> <br /><img src="images/step4.gif" alt="step 4 image" /><br /> <b> Which catagory does your block belong to?</b><br /> <input type="radio" name="catagory" value="Motion">Motion <input type="radio" name="catagory" value="Control">Control<br /> <input type="radio" name="catagory" value="Looks">Looks <input type="radio" name="catagory" value="Sensing">Sensing<br /> <input type="radio" name="catagory" value="Sound">Sound <input type="radio" name="catagory" value="Operators">Operators<br /> <input type="radio" name="catagory" value="Pen">Pen <input type="radio" name="catagory" value="Variables">Variables<br /> <input type="radio" name="catagory" value="Variables">Other <br /> <br /><br /><img src="images/step5.gif" alt="step 5 image" /><br /> <b>What type of block is it?</b><br /> <input type="radio" name="type" value="-" /> Stack image here<br /> <input type="radio" name="type" value="r" /> Reporter image here<br /> <input type="radio" name="type" value="b" /> Boolean image here<br /> <input type="radio" name="type" value="c" /> C loop image here<br /> <br /><img src="images/step6.gif" alt="step 6 image" /><br /> <b>Who created this block?</b><br /> <input type="text" value="Scratch username" /> <br /> <br /><img src="images/step7.gif" alt="step 7 image" /><br /> <b>Enter the code for your block. Test it before you submit it to make sure it works.</b> <textarea rows="10" cols="50"> e.g. ^ t1 </textarea> <br /> <br /> <input type="submit" value="Submit block" /> </form> </div> <? } ?> <!-- main body end --> </div> </div> </div> </div> <!-- end content --> </div> <!-- end container --> </div> <div id="footerWrapper"> </div> </div> </div> </body> </html>
Thanks. um, so pics of the categories? like in Scratch (the program)? Um i had a idea. Can you make the pic a 'radio button'? Then when the category button is clicked, it will change pictures just like in the program!
Offline
The Scratch and Panther forms' "Submit block" buttons go halfway off the bottom of the page thingy.
In the BYOB form, there should be something like this to submit a sprite file:
In the form:
Upload a BYOB sprite file containing your block (optional)
And put the URL here: [box]
After uploading:
<!-- if the upload was successful: -->
Upload successful. Here's the URL:
[<insert URL here>]
<!-- if the file uploaded wasn't a YSP file: -->
The file you entered wasn't a YSP (BYOB sprite) file. Are you trying to upload a BYOB project? If so, then email it directly to <insert my email here>. [which I don't care about if it's there BTW]
Last edited by meowmeow55 (2010-12-21 13:23:00)
Offline
ProgrammingFreak wrote:
Daffy22 wrote:
ProgrammingFreak wrote:
How can I get the code for it? I would like to work on it more! Unless you have something else for me
well. can you add images to the categories ect? host the images else were.
and here is the code: (don't touch the <? php ?> stuff)
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Block Library</title> <link id="theme" rel="stylesheet" type="text/css" href="http://www.block-library.freehostingcloud.com/style.css" title="theme" /> </head> <body> <!-- top wrapper --> <table width="100%" height="200" border="0"> <tr> <td height="150" class="header"> </td> </tr> <tr> <td height="50" align="center" class="nav"> <a href="http://www.block-library.freehostingcloud.com/"> <img border="0" src="http://www.block-library.freehostingcloud.com/images/home.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/homeOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/home.png';" /> </a> <a href="http://www.block-library.freehostingcloud.com/submit"> <img border="0" src="http://www.block-library.freehostingcloud.com/images/submit.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/submitOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/submit.png';" /> </a> <a href="http://www.block-library.freehostingcloud.com/browse"> <img border="0" src="http://www.block-library.freehostingcloud.com/images/browse.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/browseOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/browse.png';" /> </a> <a href="http://scratch.mit.edu/forums/viewtopic.php?id=40508&p=1"> <img border="0" src="http://www.block-library.freehostingcloud.com/images/discustion.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/discustionOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/discustion.png';" /> </a> <a href="http://www.block-library.freehostingcloud.com/contact"> <img border="0" src="http://www.block-library.freehostingcloud.com/images/contact.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/contactOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/contact.png';" /> </a> </td> </tr> </table> <!-- end top wrapper --> <div id="wrapper"> <div id="bg"> <div id="page"> <!-- begin container --> <div id="container"> <!-- content --> <div id="content"> <div id="center"> <div id="welcome"> <br /><br /> <!-- line: <div class="hr"><hr></div> --> <!-- main body --> <h2>Submit A Block...</h2> <? if ($_GET['type'] == "") { ?> <img src="images/step1.gif" alt="step 1 image" /><br /> <form action="#" method="get"> <select name="type"> <option value="Scratch">Scratch Block</option> <option value="BYOB">BYOB Block</option> <option value="Panther">Panther Block</option> </select> <input type="submit" name="submit" value="Next Step..." /> </form> <? } if ($_GET['type'] == "Scratch") { ?> <!-- SCRATCH FORM --> <div id="f1"> <form id="Scratch" method="POST" action="scratch.php"> <br /><img src="images/step2.gif" alt="step 2 image" /><br /> <b>enter your blockspec.</b><br /> <input type="text" name="blockspec" value="e.g. say %s" /> <br /><br /><img src="images/step3.gif" alt="step 3 image" /><br /> <b><a href="upload">Upload a picture of your block...</a><br /> ...And enter the URL here: <br /><input type="text" name="image" /></b><br /> <br /><img src="images/step4.gif" alt="step 4 image" /><br /> <b> Which catagory does your block belong to?</b><br /> <input type="radio" name="catagory" value="Motion">Motion <input type="radio" name="catagory" value="Control">Control<br /> <input type="radio" name="catagory" value="Looks">Looks <input type="radio" name="catagory" value="Sensing">Sensing<br /> <input type="radio" name="catagory" value="Sound">Sound <input type="radio" name="catagory" value="Operators">Operators<br /> <input type="radio" name="catagory" value="Pen">Pen <input type="radio" name="catagory" value="Variables">Variables<br /> <br /><br /><img src="images/step5.gif" alt="step 5 image" /><br /> <b>What type of block is it?</b><br /> <input type="radio" name="type" value="-" /> Stack image here<br /> <input type="radio" name="type" value="r" /> Reporter image here<br /> <input type="radio" name="type" value="b" /> Boolean image here<br /> <input type="radio" name="type" value="c" /> C loop image here<br /> <br /><img src="images/step6.gif" alt="step 6 image" /><br /> <b>Who created this block?</b><br /> <input type="text" value="Scratch username" /> <br /><br /><img src="images/step7.gif" alt="step 7 image" /><br /> <b>Enter the code for your block. Test it before you submit it to make sure it works If the code needs to go in more than one place, mark the locations of the code clearly.</b><br /> <textarea rows="10" cols="50"> e.g. block: t1 | t2 | ^ t1 , 'gap' , t2 </textarea> <br /> <br /> <input type="submit" value="Submit block" /> </form> </div> <? } if ($_GET['type'] == "BYOB") { ?> <!-- BYOB FORM --> <div id="f2"> <form id="BYOB" method="POST" action="byob.php"> <br /><img src="images/step2.gif" alt="step 2 image" /><br /> <b><a href="upload">Upload a picture of your final block...</a><br /> ...And enter the URL here: <br /><input type="text" name="image" /></b> <br /> <br /><img src="images/step3.gif" alt="step 3 image" /><br /> <b><a href="upload">Upload a picture of how to make your block...</a><br /> ...And enter the URL here: <br /><input type="text" name="image" /></b> <br /><br /><img src="images/step4.gif" alt="step 4 image" /><br /> <b> Which catagory does your block belong to?</b><br /> <input type="radio" name="catagory" value="Motion">Motion <input type="radio" name="catagory" value="Control">Control<br /> <input type="radio" name="catagory" value="Looks">Looks <input type="radio" name="catagory" value="Sensing">Sensing<br /> <input type="radio" name="catagory" value="Sound">Sound <input type="radio" name="catagory" value="Operators">Operators<br /> <input type="radio" name="catagory" value="Pen">Pen <input type="radio" name="catagory" value="Variables">Variables<br /> <input type="radio" name="catagory" value="Variables">Other <br /> <br /><img src="images/step5.gif" alt="step 5 image" /><br /> <b>What type of block is it?</b><br /> <input type="radio" name="type" value="-" /> Stack image here<br /> <input type="radio" name="type" value="r" /> Reporter image here<br /> <input type="radio" name="type" value="b" /> Boolean image here<br /> <input type="radio" name="type" value="c" /> C loop image here<br /> <br /><img src="images/step6.gif" alt="step 6 image" /><br /> <b>Who created this block?</b><br /> <input type="text" value="Scratch username" /> <br /> <br /> <input type="submit" value="Submit block" /> </form> </div> <? } if ($_GET['type'] == "Panther") { ?> <div id="f3"> <!-- PANTHER FORM --> <form id="Panther" method="POST" action="panther.php"> <br /><img src="images/step2.gif" alt="step 2 image" /><br /> <b>enter your blockspec</b><br /> <input type="text" name="blockspec" value="e.g. say $String$" /> <br /><br /><img src="images/step3.gif" alt="step 3 image" /><br /> <b><a href="upload">Upload a picture of your block...</a><br /> ...And enter the URL here:<br /> <input type="text" name="image" /></b><br /> <br /><img src="images/step4.gif" alt="step 4 image" /><br /> <b> Which catagory does your block belong to?</b><br /> <input type="radio" name="catagory" value="Motion">Motion <input type="radio" name="catagory" value="Control">Control<br /> <input type="radio" name="catagory" value="Looks">Looks <input type="radio" name="catagory" value="Sensing">Sensing<br /> <input type="radio" name="catagory" value="Sound">Sound <input type="radio" name="catagory" value="Operators">Operators<br /> <input type="radio" name="catagory" value="Pen">Pen <input type="radio" name="catagory" value="Variables">Variables<br /> <input type="radio" name="catagory" value="Variables">Other <br /> <br /><br /><img src="images/step5.gif" alt="step 5 image" /><br /> <b>What type of block is it?</b><br /> <input type="radio" name="type" value="-" /> Stack image here<br /> <input type="radio" name="type" value="r" /> Reporter image here<br /> <input type="radio" name="type" value="b" /> Boolean image here<br /> <input type="radio" name="type" value="c" /> C loop image here<br /> <br /><img src="images/step6.gif" alt="step 6 image" /><br /> <b>Who created this block?</b><br /> <input type="text" value="Scratch username" /> <br /> <br /><img src="images/step7.gif" alt="step 7 image" /><br /> <b>Enter the code for your block. Test it before you submit it to make sure it works.</b> <textarea rows="10" cols="50"> e.g. ^ t1 </textarea> <br /> <br /> <input type="submit" value="Submit block" /> </form> </div> <? } ?> <!-- main body end --> </div> </div> </div> </div> <!-- end content --> </div> <!-- end container --> </div> <div id="footerWrapper"> </div> </div> </div> </body> </html>Thanks. um, so pics of the categories? like in Scratch (the program)? Um i had a idea. Can you make the pic a 'radio button'? Then when the category button is clicked, it will change pictures just like in the program!
you could do but that would mean a lot of programming (JS). just stick with the radio buttons with images. I think you should put them in a table too so it looks neater.
Offline
almost done making the pics
Offline
fg123 wrote:
And no one is listening to me.
![]()
Wow.
SORRY! Can't we prepare?
Offline