Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   TGP Discussions (http://www.greenguysboard.com/board/forumdisplay.php?f=14)
-   -   Want to shrink your TGP's? (http://www.greenguysboard.com/board/showthread.php?t=16910)

swedguy 2005-02-26 10:05 AM

Want to shrink your TGP's?
 
No, not make them smaller, but at least shrink the file size and make them load faster :)

I was going through one of my script folders and found a javascript I used when I had TGP's. I was never a fan of having something random in the status bar. So the solution was to have an onmouseover + onfocus on all links, which made the pages HUGE. A regular link would look something like this:



That link is 193 bytes.

What you need to put between your and is this:




So if your TGP has 300 links you would save 47kB. That's a lot of load time if you're on a modem :)

HarryM 2005-02-27 12:35 AM

hey thanks, I needed something like that :)

Joe 2005-03-08 07:02 AM

Nice tip, thanks!

If you're really anal about bandwidth, you can also use an HTML shrinker (or HTML compressor) that removes all the whitespace.

pcum 2005-03-24 01:05 PM

Just what I needed thanks man great tip


All times are GMT -4. The time now is 12:47 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc