Working on different themes with cookies
Offline
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
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
Themes:DONE!
Offline
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
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.
Offline
Laternenpfahl wrote:
al-x wrote:
Laternenpfahl wrote:
Thats the pointwe 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
Offline
Al-x, check out the themes
Offline
al-x wrote:
Laternenpfahl wrote:
Al-x, check out the themes
thanks but the themes on the mobile site don't work?
Yeah, I have to add them later.
they only seem to work because footer.html is shared between the sites.
Offline
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)
Offline
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.
Offline
al-x wrote:
al-x wrote:
maybe we could change the color scheme for the website? I'm not fond of black
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
We could use this, but you don't need to wrap the input element with a form element in HTML 5.
Offline
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
Offline
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.
Offline
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 soonThey 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
Offline
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
Offline
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
Offline
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.
Offline
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 filesThe folders I need are js, images, mobile. I don't need any others.
Do you need the old site's images in /images/?
Offline
Old files are gone.
Offline
Please suggest themes.
Offline
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?
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).
Offline
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:
snippedJust 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)
Offline
Laternenpfahl wrote:
I said I don't need it anymore... Thanks anyway though, might come in handy in the future.
Oh.
But I so enjoy lurking in other people's threads waiting for them to have a problem I can solve.
Offline