http://calcg.org/newlogo2.png Not Logged in.
Login | Register

General Discussion Board \ Site \ large index file...

Click here to log in (you must be logged in to post comments).

AuthorComment
Barrett
Administrator
avatar
Posted: 16 Dec 2002
18:24 GMT
Total Posts: 1676
Z.... look at the source to index.htm.... there's a lot of useless stuff in there..... we could save a couple MB per month of bandwidth if we take out some of those linebreaks and extra comments....:





<html>
<head>
<LINK REL="shortcut icon" HREF="/favicon.ico" TYPE="image/x-icon">
<title>CalcGames.org</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="keywords" content="calculator, calc, games, game, 83, 83+, 89, calc game, calc games, calculator games, starcraft, sc, sas, falldown, ti-83, ti-83+, ti-89, ti83, ti83+, ti89, ti, texas, instruments, race2, britney spears, anderson, gaming, britney, spears, music, mp3, money, phat, song, mp3s, fun, funny, super, alien, strike, super alien strike, barrett, anderson, barrett anderson, 89, 89, 89, 89, 89, 89, 89, 83, 83, 83, 83, 83, 83+, 83+, 83+, 83+, SE, silver, edition, silver edition, emu, emulator, emulation, rom, roms, gameboy, gb, gbc, nes, snes, genesis, konstantin, beliakov, zkostik, konstantin beliakov, free, download">
<meta name="description" content="CalcGames.org --> Your Source for the Best FREE <a href=http://education.ti.com target="new">TI</a> Calculator and Computer Games and Apps! Visit Us!">
<script>
//function puts string passed as a parameter into the browsers status bar
function statusmsg(msgtext)
{
window.status=msgtext;
}
//statusmsg('Loading...');
var anim = new Array();
var isOn = 1;//animation on-off switch
frametime = 500;

stop=0;
anim[0]='Loading Site';
anim[1]='Loading Site.';
anim[2]='Loading Site..';
anim[3]='Loading Site...';

var pos = -1;

//animates browser's status bar until the page fully loads; animation frames are taken from an array of strings
function animate()
{
pos++;
if(pos == anim.length)
pos=0;
if(isOn)
{
statusmsg(anim[pos]);
setTimeout("animate()", frametime);
}
}
if(!document.onload && isOn == true)
if(anim.length != 0)
animate();
else
statusmsg('Loading...');
</script>
</head>

<frameset onLoad="javascript:if(isOn){isOn=0;statusmsg('Done');}" rows="105,1*" frameborder="NO" border="0" framespacing="0">
<frame name="top" scrolling="NO" noresize src="data/frames/top.htm" >

<frameset cols="192,784*" frameborder="NO" border="0" framespacing="0" rows="*">
<frameset rows="16,1*" frameborder="NO" border="0" framespacing="0">
<frameset cols="16,192" frameborder="NO" border="0" framespacing="0">
<frame name="menutlc" scrolling="NO" noresize src="data/frames/main_tl_corner.htm">
<frameset cols="192,16" frameborder="NO" border="0" framespacing="0">
<frame name="menu_top" scrolling="NO" noresize src="data/frames/main_top.htm" >
<frame name="maintrc" scrolling="NO" noresize src="data/frames/main_tr_corner.htm">
</frameset>
</frameset>
<frameset rows="1*,32" frameborder="NO" border="0" framespacing="0">
<frameset cols="16,1*" frameborder="NO" border="0" framespacing="0">
<frame name="menu_left" scrolling="NO" noresize src="data/frames/main_left.htm">
<frameset cols="192,16" frameborder="NO" border="0" framespacing="0">
<frame name="menu" scrolling="YES" src="cgi-bin/menu.cgi">
<frame name="menu_right" scrolling="NO" noresize src="data/frames/main_right.htm">
</frameset>
</frameset>
<frameset cols="16,192" frameborder="NO" border="0" framespacing="0">
<frameset rows="8,1*" frameborder="NO" border="0" framespacing="0">
<frame name="menublc" scrolling="NO" noresize src="data/frames/main_bl_corner.htm" >
<frame name="menubblc" scrolling="NO" noresize src="data/frames/main_blc.htm">
</frameset>
<frameset cols="192,16" frameborder="NO" border="0" framespacing="0">
<frameset rows="8,1*" frameborder="NO" border="0" framespacing="0">
<frame name="menubtmt" scrolling="NO" noresize src="data/frames/main_bottomt.htm" >
<frame name="menubottom" scrolling="NO" noresize src="data/frames/menu_bottom.htm">
</frameset>
<frameset rows="8,1*" frameborder="NO" border="0" framespacing="0">
<frame name="menubrc" scrolling="NO" noresize src="data/frames/main_br_corner.htm" >
<frame name="menubbrc" scrolling="NO" noresize src="data/frames/main_brc.htm">
</frameset>
</frameset>
</frameset>
</frameset>
</frameset>
<frameset rows="16,1*" frameborder="NO" border="0" framespacing="0">
<frameset cols="16,1*" frameborder="NO" border="0" framespacing="0">
<frame name="maintlc" scrolling="NO" noresize src="data/frames/main_tl_corner.htm">
<frameset cols="1*,16" frameborder="NO" border="0" framespacing="0">
<frame name="main_top" scrolling="NO" noresize src="data/frames/main_top.htm" >
<frame name="maintrc" scrolling="NO" noresize src="data/frames/main_tr_corner.htm">
</frameset>
</frameset>
<frameset rows="1*,32" frameborder="NO" border="0" framespacing="0">
<frameset cols="16,1*" frameborder="NO" border="0" framespacing="0">
<frame name="main_left" scrolling="NO" noresize src="data/frames/main_left.htm">
<frameset cols="1*,16" frameborder="NO" border="0" framespacing="0">
<frame name="main" src="cgi-bin/news/news.cgi">
<frame name="main_right" scrolling="NO" noresize src="data/frames/main_right.htm">
</frameset>
</frameset>
<frameset cols="16,1*" frameborder="NO" border="0" framespacing="0">
<frameset rows="8,1*" frameborder="NO" border="0" framespacing="0">
<frame name="mainblc" scrolling="NO" noresize src="data/frames/main_bl_corner.htm" >
<frame name="mainbblc" scrolling="NO" noresize src="data/frames/main_blc.htm">
</frameset>
<frameset cols="1*,16" frameborder="NO" border="0" framespacing="0">
<frameset rows="8,1*" frameborder="NO" border="0" framespacing="0">
<frame name="mainbtmt" scrolling="NO" noresize src="data/frames/main_bottomt.htm" >
<frame name="mainbottom" scrolling="NO" noresize src="data/frames/main_bottom.htm">
</frameset>
<frameset rows="8,1*" frameborder="NO" border="0" framespacing="0">
<frame name="mainbrc" scrolling="NO" noresize src="data/frames/main_br_corner.htm" >
<frame name="mainbbrc" scrolling="NO" noresize src="data/frames/main_brc.htm">
</frameset>
</frameset>
</frameset>
</frameset>
</frameset>
</frameset>
</frameset>
<noframes><body bgcolor="#FFFFFF">
CalcGames.org --> Your Source for the Best FREE <a href=http://education.ti.com target="new">TI</a> Calculator and Computer Games and Apps! Visit Us!
</body></noframes>
</html>

[Edited by Barrett on 17-Dec-02 02:48]

---
-Barrett A
zkostik
Carrier
avatar
Posted: 16 Dec 2002
19:30 GMT
Total Posts: 2486
B, taking out those things won't make much noticeable difference and will only make code unreadable. stuff you mentioned doesn't even take a kilobyte of memory. Also, how come the no-frame link points to TI's website not CG?

---
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Barrett
Administrator
avatar
Posted: 16 Dec 2002
19:48 GMT
Total Posts: 1676
oh... don't worry about that... that happened when i was fixing the html stuff.

---
-Barrett A





Portal | My Account | Register | Lost Password or Username | TOS | Disclaimer | Help | Site Search | File Archives Copyright © 2002-2019 CalcG.org