Choose Your Theme
Warren Shea

Site Updates: GMail themes within the GMail theme o_O

Saturday, September 25th, 2010 at 1:02 am

A very recursive title…Does that make sense? It would be nice to have sounded intelligent rather than to have sounded like I don’t understand recursion…which, despite writing a few recursive functions, might be true :/ <insert server-side infinite loop>

ANYWAYS…small Site Update, something I wanted to do a couple weeks ago but forgot. I added some GMail themes within my GMail theme:

GMail themes within themes

I think it’s pretty self explanatory.

I’d add more themes but it would clutter the top bar and on different resolutions, might not look great. Four is good for now…

Bad: GMail is supposed to be a minimalist theme but already, I’ve added a lot to the JavaScript code to implement this. While I’m sure I could clean it up if I gave it more time and thought…I doubt I will
http://www.warrenshea.com/common/gmail/scripts.js

.
.
.

I just realized, the way the GMail themes are changed is totally client side, there’s no page refresh or loading of specific css files. Meaning…theoretically, I could make a huge JavaScript that could modify my page for all themes (Megaman, Naruto, etc.)…reducing any reload.

Ahhhhhh….I wish I hadn’t thought of that, it’s so much work. Probably too much, like re-writing CSS files…in JavaScript. I should probably not do it……………………right?

Now choose the following:
<insert @$$hole comment: you should do it…that would be awesome! >

or

<insert rational comment: that is a waste of time, do something more productive>

or

<insert spam comment: hi guys! i am enjoying this phase of my life to the fullest as i am being showered with cashback cashback n cashback. i did online shopping at ….>

or most likely,

<insert no comment:>

EDIT: 5:15 AM – I’ve been working on the themes and session variables the last 2 hours…trying to move them from server-side PHP session variables to JavaScript cookies. I was looking at my CGI Timeout issue, I thought it could be possible that my site was trying to contact the session server and my CGI Timeout issues were affected there…

I thought I noticed significant improvement speed but…it slowed down again. I don’t wanna stay awake and test, I’m so tired… :'(

Leave a Reply