17 replies [Last post]
HellsBells
HellsBells's picture
Offline
Leader
Bedford, UK
Last seen: 14 years 39 weeks ago
Bedford, UK
Joined: 2004-04-07
Posts: 851
Points: 0

Hi chaps

Wanted: your wisdom please!

I'm in the process of rebuilding my site (again) as although I had it looking like I wanted it - the CSS was way out of control and I'd come down with a case of divitis.

I've chucked a third of the divs in the code and streamlined the CSS/stylesheet switching process and I'm happy with that.

Thing is, I've found this really nice bit of Javascript from Brothercake that keeps the tooltips showing on focus - BUT it takes an extra 2 seconds to download at 56kbps - 10.69 seconds with, 9.76 seconds without.

Keep it or dump it?

My strategy is so simple an idiot could have devised it!

"Also, your CSS (no offence) makes me want to gouge my eyes out with a rusty spoon" - TPH

Tags:
DeprecatedDiva
DeprecatedDiva's picture
Offline
Enthusiast
NW Louisiana
Last seen: 16 years 7 weeks ago
NW Louisiana
Timezone: GMT-6
Joined: 2005-06-12
Posts: 135
Points: 0

Nice JS thingy versus extra 2 seconds D/L?

Will it degrade gracefully? (I think that's the guru question of import) Ask yourself how it will react if the person has js disabled on their machine & you should be able to answer your own question. Laughing out loud

DeprecatedDiva

HellsBells
HellsBells's picture
Offline
Leader
Bedford, UK
Last seen: 14 years 39 weeks ago
Bedford, UK
Joined: 2004-04-07
Posts: 851
Points: 0

Nice JS thingy versus extra 2 seconds D/L?

That side of it's fine - If JS is disabled then no tooltips on focus. I'm just worried about adding on extra download time.

My strategy is so simple an idiot could have devised it!

"Also, your CSS (no offence) makes me want to gouge my eyes out with a rusty spoon" - TPH

Lorraine
Lorraine's picture
Offline
Elder
UK
Last seen: 16 years 23 weeks ago
UK
Timezone: GMT+1
Joined: 2005-01-04
Posts: 1001
Points: 0

Nice JS thingy versus extra 2 seconds D/L?

I reckon that works out to just less than one second. Brothercake is very good so I assume it degrades OK with Javascript turned off - I vote, keep it Laughing out loud
edit: Late to the party again Shock

DeprecatedDiva
DeprecatedDiva's picture
Offline
Enthusiast
NW Louisiana
Last seen: 16 years 7 weeks ago
NW Louisiana
Timezone: GMT-6
Joined: 2005-06-12
Posts: 135
Points: 0

Nice JS thingy versus extra 2 seconds D/L?

I have to go with Lorraine on this one. Laughing out loud

DeprecatedDiva

larmyia
Offline
Elder
London
Last seen: 14 years 19 weeks ago
London
Timezone: GMT+1
Joined: 2005-01-25
Posts: 1060
Points: 0

Nice JS thingy versus extra 2 seconds D/L?

me too.

looking forward to seeing the new design HellsBells! (not that I'm not a fan of the current one Tongue)

larmyia

HellsBells
HellsBells's picture
Offline
Leader
Bedford, UK
Last seen: 14 years 39 weeks ago
Bedford, UK
Joined: 2004-04-07
Posts: 851
Points: 0

Nice JS thingy versus extra 2 seconds D/L?

It's the same design - just that I'm no longer using 50 divs per paragraph and my stylesheets no longer have their own gravity fields.

I'll definitely leave the brothercake JS thing in then - I trust you ladies judgement implicitly Laughing out loud

My strategy is so simple an idiot could have devised it!

"Also, your CSS (no offence) makes me want to gouge my eyes out with a rusty spoon" - TPH

Lorraine
Lorraine's picture
Offline
Elder
UK
Last seen: 16 years 23 weeks ago
UK
Timezone: GMT+1
Joined: 2005-01-04
Posts: 1001
Points: 0

Nice JS thingy versus extra 2 seconds D/L?

You're not going to dump that Spitfire are you?

larmyia
Offline
Elder
London
Last seen: 14 years 19 weeks ago
London
Timezone: GMT+1
Joined: 2005-01-25
Posts: 1060
Points: 0

Nice JS thingy versus extra 2 seconds D/L?

HellsBells wrote:
It's the same design - just that I'm no longer using 50 divs per paragraph and my stylesheets no longer have their own gravity fields.


LOL glad to hear it. I like its fresh feel.

I myself just overcame a case of divitis which had some symptoms of classitis. glad to hear your recovery is going well Laughing out loud

isnt' it funny...as time passes and you learn more, when you go back to old sites you look at your code and are like "hello, what was I thinking?!?" it's good to see progress but I find myself wanting to tinker with my old sites. you have to reach a point where you're like, enough is enough.

but it never is for ones own site is it? Smile

larmyia

HellsBells
HellsBells's picture
Offline
Leader
Bedford, UK
Last seen: 14 years 39 weeks ago
Bedford, UK
Joined: 2004-04-07
Posts: 851
Points: 0

Nice JS thingy versus extra 2 seconds D/L?

Lorraine wrote:
You're not going to dump that Spitfire are you?

Actually it's a Thunderbolt - but no, I'm not dumping it, I love my little plane!

My strategy is so simple an idiot could have devised it!

"Also, your CSS (no offence) makes me want to gouge my eyes out with a rusty spoon" - TPH

HellsBells
HellsBells's picture
Offline
Leader
Bedford, UK
Last seen: 14 years 39 weeks ago
Bedford, UK
Joined: 2004-04-07
Posts: 851
Points: 0

Nice JS thingy versus extra 2 seconds D/L?

larmyia wrote:

isnt' it funny...as time passes and you learn more, when you go back to old sites you look at your code and are like "hello, what was I thinking?!?" it's good to see progress but I find myself wanting to tinker with my old sites. you have to reach a point where you're like, enough is enough.

but it never is for ones own site is it? Smile

larmyia

Oh definitely! I suppose I should be pleased that I'm improving (at least I think I am) but, being a control freak, it just leaves me twitchy about sites I did a year ago.

I can't stop fiddling with my site - I'll read an article somewhere and think "hey that's a good idea!" and off I go. *sigh*.

My strategy is so simple an idiot could have devised it!

"Also, your CSS (no offence) makes me want to gouge my eyes out with a rusty spoon" - TPH

Lorraine
Lorraine's picture
Offline
Elder
UK
Last seen: 16 years 23 weeks ago
UK
Timezone: GMT+1
Joined: 2005-01-04
Posts: 1001
Points: 0

Nice JS thingy versus extra 2 seconds D/L?

Pardon me - one o' they forin' machines then. Laughing out loud I toyed with saying "or Hurricane?" But then I would have made myself look completely silly :oops:

larmyia
Offline
Elder
London
Last seen: 14 years 19 weeks ago
London
Timezone: GMT+1
Joined: 2005-01-25
Posts: 1060
Points: 0

Nice JS thingy versus extra 2 seconds D/L?

HellsBells wrote:
I can't stop fiddling with my site - I'll read an article somewhere and think "hey that's a good idea!" and off I go. *sigh*.

me too! glad I'm not the only one. Just when you think you've got it down you read about some other great idea that would work oh so well on ones own site.

HellsBells
HellsBells's picture
Offline
Leader
Bedford, UK
Last seen: 14 years 39 weeks ago
Bedford, UK
Joined: 2004-04-07
Posts: 851
Points: 0

Nice JS thingy versus extra 2 seconds D/L?

Lorraine wrote:
Pardon me - one o' they forin' machines then. Laughing out loud I toyed with saying "or Hurricane?" But then I would have made myself look completely silly :oops:

It's not that recognisable - especially once I've had it in Photoshop!

I had my reasons at the time for not picking a Spit or a Hurricane - can't for the life of me remember them now... Might just be fancying something different - the room I work in is pretty much covered in aircraft of one type or another - models, pictures, parts, you name it and quite a few are Spitfires and Hurricanes.

My strategy is so simple an idiot could have devised it!

"Also, your CSS (no offence) makes me want to gouge my eyes out with a rusty spoon" - TPH

Lorraine
Lorraine's picture
Offline
Elder
UK
Last seen: 16 years 23 weeks ago
UK
Timezone: GMT+1
Joined: 2005-01-04
Posts: 1001
Points: 0

Nice JS thingy versus extra 2 seconds D/L?

What IS the hourly rate for "fiddling" with a site? I could make a fortune. Smile

briski
briski's picture
Offline
Elder
London
Last seen: 10 years 33 weeks ago
London
Timezone: GMT+1
Joined: 2004-02-16
Posts: 1066
Points: 0

Nice JS thingy versus extra 2 seconds D/L?

Just to chip in late (as usual) one second on 56k is really not something to worry about, Keep it in!

Also not to worry Lorraine, I thought it was a childs toy or a cracker "prize" :oops:

HellsBells
HellsBells's picture
Offline
Leader
Bedford, UK
Last seen: 14 years 39 weeks ago
Bedford, UK
Joined: 2004-04-07
Posts: 851
Points: 0

Nice JS thingy versus extra 2 seconds D/L?

briski wrote:
Also not to worry Lorraine, I thought it was a childs toy or a cracker "prize" :oops:

Actually that's exactly what I was aiming at - a toy plane - so you're spot on!

My strategy is so simple an idiot could have devised it!

"Also, your CSS (no offence) makes me want to gouge my eyes out with a rusty spoon" - TPH

briski
briski's picture
Offline
Elder
London
Last seen: 10 years 33 weeks ago
London
Timezone: GMT+1
Joined: 2004-02-16
Posts: 1066
Points: 0

Nice JS thingy versus extra 2 seconds D/L?

Woo! At least I'm spot on about something.