This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-05-23 14:22:50

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Scratch List style in webpage

First, credit where credit is due. Hardmath123, for coming up with the idea, and doing a bunch of the initial styling. And veggieman001, for making some minor fixes. And JSO, for creating his Blocks Plugin.
---
This is a page that simulates a list in Scratch. You type each item on a new line, and it will parse into list format. You can also give it a title, in the box above.

I'm working on making it even more awesome.  big_smile

Please report bugs, and give feedback!

http://dl.dropbox.com/u/42774013/Scratc … eator.html

Offline

 

#2 2012-05-23 14:26:08

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Scratch List style in webpage

Sweet, it looks exactly like the 1.4 lists!
Maybe add a scroll bar?

Last edited by slinger (2012-05-23 14:26:39)


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#3 2012-05-23 14:32:44

Lolkid332
Scratcher
Registered: 2012-03-03
Posts: 500+

Re: Scratch List style in webpage

Wow.


http://fc04.deviantart.net/fs71/f/2011/314/6/a/rainbow_dash_signature_by_gtg12ification-d4fpuw3.jpg

Offline

 

#4 2012-05-23 14:46:37

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Scratch List style in webpage

slinger wrote:

Sweet, it looks exactly like the 1.4 lists!
Maybe add a scroll bar?

I'll get to a scroll bar eventually.  smile

Offline

 

#5 2012-05-23 14:49:25

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Scratch List style in webpage

Mkay.


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#6 2012-05-23 15:07:00

Lolkid332
Scratcher
Registered: 2012-03-03
Posts: 500+

Re: Scratch List style in webpage

scimonster wrote:

slinger wrote:

Sweet, it looks exactly like the 1.4 lists!
Maybe add a scroll bar?

I'll get to a scroll bar eventually.  smile

Then it'll be even MORE epic.


http://fc04.deviantart.net/fs71/f/2011/314/6/a/rainbow_dash_signature_by_gtg12ification-d4fpuw3.jpg

Offline

 

#7 2012-05-23 15:20:40

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Scratch List style in webpage

Right now i'm working on making the lists editable internally, instead of via the other textarea.  big_smile
Did pretty well, ran into some annoying problems, and had a great idea. Gonna try it out now.
I'm working on this in a local copy btw, so you can't see all the tests and fails.  tongue

Offline

 

#8 2012-05-24 07:03:00

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Scratch List style in webpage

Is the final version going to have image output?


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#9 2012-05-24 07:04:47

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Scratch List style in webpage

This is awesome  big_smile


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#10 2012-05-24 07:14:43

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Scratch List style in webpage

nathanprocks wrote:

Is the final version going to have image output?

Like, export as an image? Probably not.

Update! You can now use the + button at the bottom to add an item! You can also click in an item to edit it!  big_smile
A known bug is that the size doesn't always update right away in some browsers. This is a technical restriction, and will not be fixed. You can just click outside and then go back in if you need to update the size of the item.

Offline

 

#11 2012-05-24 07:15:37

16Skittles
Scratcher
Registered: 2009-08-26
Posts: 1000+

Re: Scratch List style in webpage

Who needs flash, how about an HTML5/JS Scratch 2.0?

Really nice work on that!


http://16skittles.tk/sig.png
Are you a student? Check out OnSchedule!

Offline

 

#12 2012-05-24 07:28:44

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Scratch List style in webpage

16Skittles wrote:

Who needs flash, how about an HTML5/JS Scratch 2.0?

Really nice work on that!

Too bad they've done so much. If they hadn't who knows, they might consider it.
Maybe they'll do it for 3.0, whenever that is. xP They could even base it off Snap!!

Offline

 

#13 2012-05-24 10:17:52

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Scratch List style in webpage

You should make the list wider and resizeable.

And I did the colours and the little plus if anyone's wondering, as well as making it work on all computers (sci's old one didn't work on mine)


Posts: 20000 - Show all posts

Offline

 

#14 2012-05-24 10:24:43

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Scratch List style in webpage

veggieman001 wrote:

You should make the list wider and resizeable.

And I did the colours and the little plus if anyone's wondering, as well as making it work on all computers (sci's old one didn't work on mine)

Resizable is the next step.  smile
After that, scrollbars.

Offline

 

#15 2012-05-24 10:53:09

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Scratch List style in webpage

scimonster wrote:

veggieman001 wrote:

You should make the list wider and resizeable.

And I did the colours and the little plus if anyone's wondering, as well as making it work on all computers (sci's old one didn't work on mine)

Resizable is the next step.  smile
After that, scrollbars.

Yaay.
Styled like the one in Scratch? :3


Posts: 20000 - Show all posts

Offline

 

#16 2012-05-24 11:38:17

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: Scratch List style in webpage

The "\n" thingy doesn't work. I typed in "a \n a", just to test it, and in the list it comes up with "a <br/> a", and in the text box thing it changes the text into "a &lt;br/&gt; a" when I click Create. Or am I doing something wrong?


Why

Offline

 

#17 2012-05-24 12:07:16

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Scratch List style in webpage

veggieman001 wrote:

scimonster wrote:

veggieman001 wrote:

You should make the list wider and resizeable.

And I did the colours and the little plus if anyone's wondering, as well as making it work on all computers (sci's old one didn't work on mine)

Resizable is the next step.  smile
After that, scrollbars.

Yaay.
Styled like the one in Scratch? :3

I'd like it to be. :3

RedRocker227 wrote:

The "\n" thingy doesn't work. I typed in "a \n a", just to test it, and in the list it comes up with "a <br/> a", and in the text box thing it changes the text into "a &lt;br/&gt; a" when I click Create. Or am I doing something wrong?

No, you're not. Thanks for the bug report!

Offline

 

#18 2012-05-29 15:28:50

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Scratch List style in webpage

Lists are now resizable! I did a quick Google search and came up with a handy jQuery API to do it, so it was only an extra 3 lines of code, amazingly enough!
Here's what i used.

Offline

 

#19 2012-05-29 15:37:29

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Scratch List style in webpage

http://i49.tinypic.com/2cxajb.png
It give me this


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#20 2012-05-29 15:45:31

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Scratch List style in webpage

muppetds wrote:

http://i49.tinypic.com/2cxajb.png
It give me this

Hrm... browser?
EDIT: Looks like Chrome, and it also looks like Chrome has a problem with calc().

Last edited by scimonster (2012-05-29 15:46:29)

Offline

 

#21 2012-05-29 16:02:29

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Scratch List style in webpage

scimonster wrote:

muppetds wrote:

http://i49.tinypic.com/2cxajb.png
It give me this

Hrm... browser?
EDIT: Looks like Chrome, and it also looks like Chrome has a problem with calc().

not chrome - safari
EDIT: Resizing it slightly bigger makes it match but making it smaller again makes it go back  hmm

Last edited by muppetds (2012-05-29 16:03:28)


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#22 2012-05-29 16:05:25

3DSfan12345
Scratcher
Registered: 2011-04-02
Posts: 500+

Re: Scratch List style in webpage

scimonster wrote:

16Skittles wrote:

Who needs flash, how about an HTML5/JS Scratch 2.0?

Really nice work on that!

They could even base it off Snap!!

IN SOVIET RUSSIA...


R.I.P Scratch 1.4
July 7,2009-May 5,2013

Offline

 

#23 2012-05-30 07:31:22

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Scratch List style in webpage

muppetds wrote:

scimonster wrote:

muppetds wrote:

http://i49.tinypic.com/2cxajb.png
It give me this

Hrm... browser?
EDIT: Looks like Chrome, and it also looks like Chrome has a problem with calc().

not chrome - safari
EDIT: Resizing it slightly bigger makes it match but making it smaller again makes it go back  hmm

Try it in a WebKit browser now. I used JavaScript for them, but it still doesn't render quite as well as in FireFox.

Offline

 

#24 2012-05-30 09:31:13

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Scratch List style in webpage

voggs still thinks default width should be more

And the offset with 2 digit+ numbers is weird

Last edited by veggieman001 (2012-05-30 09:32:02)


Posts: 20000 - Show all posts

Offline

 

#25 2012-05-30 10:17:26

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: Scratch List style in webpage

I agree with Veggie. Other than that, I like it!
It needs a scrollbar, though.


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&amp;display=small

Offline

 

Board footer