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

#276 2013-01-02 14:50:01

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

Working on different themes with cookies


http://i46.tinypic.com/6yd4c0.png

Offline

 

#277 2013-01-02 14:57:13

al-x
New Scratcher
Registered: 2012-10-03
Posts: 100+

Re: Go Everywhere Beta 0.2

Laternenpfahl wrote:

al-x wrote:

Laternenpfahl wrote:


How do you want to put blocks inside those?

no you can put these inside blocks I don't know how we can implement blocks  inside blocks  sad

Thats the point

we could make it so that when you drop a block on a text area it turns into text and each block has its own text code?

Offline

 

#278 2013-01-02 15:40:29

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

Themes:DONE!


http://i46.tinypic.com/6yd4c0.png

Offline

 

#279 2013-01-02 15:42:09

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

al-x wrote:

Laternenpfahl wrote:

al-x wrote:

no you can put these inside blocks I don't know how we can implement blocks  inside blocks  sad

Thats the point

we could make it so that when you drop a block on a text area it turns into text and each block has its own text code?

... I think we should put more work into it.


http://i46.tinypic.com/6yd4c0.png

Offline

 

#280 2013-01-02 16:10:39

al-x
New Scratcher
Registered: 2012-10-03
Posts: 100+

Re: Go Everywhere Beta 0.2

Laternenpfahl wrote:

al-x wrote:

Laternenpfahl wrote:


Thats the point

we could make it so that when you drop a block on a text area it turns into text and each block has its own text code?

... I think we should put more work into it.

yeah  smile

Offline

 

#281 2013-01-02 16:35:31

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

Al-x, check out the themes


http://i46.tinypic.com/6yd4c0.png

Offline

 

#282 2013-01-02 16:51:31

al-x
New Scratcher
Registered: 2012-10-03
Posts: 100+

Re: Go Everywhere Beta 0.2

Laternenpfahl wrote:

Al-x, check out the themes

thanks  smile  but the themes on the mobile site don't work?  sad

Offline

 

#283 2013-01-02 16:54:41

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

al-x wrote:

Laternenpfahl wrote:

Al-x, check out the themes

thanks  smile  but the themes on the mobile site don't work?  sad

Yeah, I have to add them later.
they only seem to work because footer.html is shared between the sites.


http://i46.tinypic.com/6yd4c0.png

Offline

 

#284 2013-01-02 17:07:00

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

Mobile themes are done!

Now doesn't reload page after switching

Next up: Mobile/normal switcher (expect that this evening)

Last edited by Laternenpfahl (2013-01-02 17:19:44)


http://i46.tinypic.com/6yd4c0.png

Offline

 

#285 2013-01-02 21:11:08

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Go Everywhere Beta 0.2

pwiter wrote:

Laternenpfahl wrote:

pwiter wrote:


What do you mean?

Pages can have that attribute for example google.com/search?q=ohai

How do I fetch that?

Oh, it can be easily done with php, but I'm not sure about javascript.

You can do it in JavaScript, its just more work.


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#286 2013-01-02 21:13:12

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Go Everywhere Beta 0.2

al-x wrote:

al-x wrote:

maybe we could change the color scheme for the website? I'm not fond of black  big_smile

also we can put text boxes in the blocks as input spaces, just use the regular text box code:

<form>
<input type="text">
</form>

I've already tried it, it works  smile

We could use this, but you don't need to wrap the input element with a form element in HTML 5.


I am currently http://blocks.scratchr.org/API.php?user=GP1&amp;action=onlineStatus&amp;type=imagehttp://blocks.scratchr.org/API.php?user=GP1&amp;action=onlineStatus&amp;type=text and I finally got over 1000 posts.

Offline

 

#287 2013-01-02 21:20:29

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

GP1 wrote:

pwiter wrote:

Laternenpfahl wrote:


Pages can have that attribute for example google.com/search?q=ohai

How do I fetch that?

Oh, it can be easily done with php, but I'm not sure about javascript.

You can do it in JavaScript, its just more work.

I'm fine.

I'm using innerhtml.replace now.

Also, what do you think of the themes?

I'll make a template for them soon


http://i46.tinypic.com/6yd4c0.png

Offline

 

#288 2013-01-02 22:10:53

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Go Everywhere Beta 0.2

Laternenpfahl wrote:

GP1 wrote:

pwiter wrote:


Oh, it can be easily done with php, but I'm not sure about javascript.

You can do it in JavaScript, its just more work.

I'm fine.

I'm using innerhtml.replace now.

Also, what do you think of the themes?

I'll make a template for them soon

They look good. You can probably add a border around the buttons to change the theme. And while your at it, you can add cursor:pointer; css property to the buttons, as well. The themes were slow for me on my tablet, but I think that after Chrome cached them, they will load faster.


I am currently http://blocks.scratchr.org/API.php?user=GP1&amp;action=onlineStatus&amp;type=imagehttp://blocks.scratchr.org/API.php?user=GP1&amp;action=onlineStatus&amp;type=text and I finally got over 1000 posts.

Offline

 

#289 2013-01-02 22:37:35

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Go Everywhere Beta 0.2

Wow... you guys must have been busy! I was gone for half of a day, and on GitHub my local repository is behind 97 commits!


I am currently http://blocks.scratchr.org/API.php?user=GP1&amp;action=onlineStatus&amp;type=imagehttp://blocks.scratchr.org/API.php?user=GP1&amp;action=onlineStatus&amp;type=text and I finally got over 1000 posts.

Offline

 

#290 2013-01-02 22:37:43

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

GP1 wrote:

Laternenpfahl wrote:

GP1 wrote:


You can do it in JavaScript, its just more work.

I'm fine.

I'm using innerhtml.replace now.

Also, what do you think of the themes?

I'll make a template for them soon

They look good. You can probably add a border around the buttons to change the theme. And while your at it, you can add cursor:pointer; css property to the buttons, as well. The themes were slow for me on my tablet, but I think that after Chrome cached them, they will load faster.

There was a bug. Clear yo cache, hide yo wife


http://i46.tinypic.com/6yd4c0.png

Offline

 

#291 2013-01-02 22:48:51

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

GP1 wrote:

Wow... you guys must have been busy! I was gone for half of a day, and on GitHub my local repository is behind 97 commits!

Nope, just tiny css bugs  tongue


http://i46.tinypic.com/6yd4c0.png

Offline

 

#292 2013-01-02 22:52:00

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

What folders are currently needed?

I suspect javascript and stylesheets are from the old site, including images, but excluding blocks.php ;P

We should delete those files


http://i46.tinypic.com/6yd4c0.png

Offline

 

#293 2013-01-02 23:46:54

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Go Everywhere Beta 0.2

Laternenpfahl wrote:

What folders are currently needed?

I suspect javascript and stylesheets are from the old site, including images, but excluding blocks.php ;P

We should delete those files

The folders I need are js, images, mobile. I don't need any others.


I am currently http://blocks.scratchr.org/API.php?user=GP1&amp;action=onlineStatus&amp;type=imagehttp://blocks.scratchr.org/API.php?user=GP1&amp;action=onlineStatus&amp;type=text and I finally got over 1000 posts.

Offline

 

#294 2013-01-02 23:47:31

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

GP1 wrote:

Laternenpfahl wrote:

What folders are currently needed?

I suspect javascript and stylesheets are from the old site, including images, but excluding blocks.php ;P

We should delete those files

The folders I need are js, images, mobile. I don't need any others.

Do you need the old site's images in /images/?


http://i46.tinypic.com/6yd4c0.png

Offline

 

#295 2013-01-02 23:50:38

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

Old files are gone.


http://i46.tinypic.com/6yd4c0.png

Offline

 

#296 2013-01-02 23:57:42

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

Please suggest themes.


http://i46.tinypic.com/6yd4c0.png

Offline

 

#297 2013-01-03 00:05:39

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Go Everywhere Beta 0.2

GP1 wrote:

pwiter wrote:

Laternenpfahl wrote:


Pages can have that attribute for example google.com/search?q=ohai

How do I fetch that?

Oh, it can be easily done with php, but I'm not sure about javascript.

You can do it in JavaScript, its just more work.

Excuse me, but might this be what you're looking for?

Code:

function GetObject() {
    var i, j;
    this.get = new Object();
    var t1 = document.URL.split("?");
    if (t1.length > 1) {
        var t2 = t1[1].split("&");
        for (i = 0; i < t2.length; i++) {
            var t3 = t2[i].split("=");
            var t4 = t3[0];
            this.get[t4] = t3[1];
        }
    } else {
        return false;
    }
}

/*

Example usage for the url "http://google.com/search?q=ohai":

<script type="text/javascript">
window.onload = function () {
    var response = new GetObject();
    document.write("You searched for " + response.get["q"]); // Prints "You searched for ohai"
}
</script>

*/

Just something I put together a while ago, you can do whatever you want with it, I've now officially released it into the public domain.

Although undocumented, I added an explaination in comments at the bottom of the script (they're pretty obvious).


Fork Clamor on GitHub!

Offline

 

#298 2013-01-03 00:07:01

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

ohaiderstudios wrote:

GP1 wrote:

pwiter wrote:

Oh, it can be easily done with php, but I'm not sure about javascript.

You can do it in JavaScript, its just more work.

Excuse me, but might this be what you're looking for?

Code:

snipped

Just something I put together a while ago, you can do whatever you want with it, I've now officially released it into the public domain.

Although undocumented, I added an explaination in comments at the bottom of the script (they're pretty obvious).

I said I don't need it anymore... Thanks anyway though, might come in handy in the future.

Last edited by Laternenpfahl (2013-01-03 00:07:47)


http://i46.tinypic.com/6yd4c0.png

Offline

 

#299 2013-01-03 00:26:52

ohaiderstudios
Scratcher
Registered: 2010-10-31
Posts: 100+

Re: Go Everywhere Beta 0.2

Laternenpfahl wrote:

I said I don't need it anymore... Thanks anyway though, might come in handy in the future.

Oh.  tongue
But I so enjoy lurking in other people's threads waiting for them to have a problem I can solve.


Fork Clamor on GitHub!

Offline

 

#300 2013-01-03 00:27:02

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Go Everywhere Beta 0.2

Laternenpfahl wrote:

Please suggest themes.

An orange theme.


I am currently http://blocks.scratchr.org/API.php?user=GP1&amp;action=onlineStatus&amp;type=imagehttp://blocks.scratchr.org/API.php?user=GP1&amp;action=onlineStatus&amp;type=text and I finally got over 1000 posts.

Offline

 

Board footer