Traveler
11-11-2002, 10:03 AM
I noticed that the forum html code is quite large and can be decreased quite a bit (50% in this file alone :shock:).
One way is to remove the css styles and save it to a file. I believe this is already done in DarkEQ.css.
<style type="text/css">
<!--
/*
The original subSilver Theme for phpBB version 2+
Created by subBlue design
(..all the way to...)
/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("templates/DarkEQ/formIE.css");
-->
</style>
An other way, but this will need some testing is saving the javascript part below, to a javascript file.
<script language="JavaScript" type="text/javascript">
<!--
// bbCode control by
// subBlue design
(... all the way to ...)
// Insert at Claret position. Code from
// http://www.faqts.com/knowledge_base/view.phtml/aid/1052/fid/130
function storeCaret(textEl) {
if (textEl.createTextRange) textEl.caretPos = document.selection.createRange().duplicate();
}
Both files will load only once and then taken from the users hd. This will not only save bandwidth, but also reduce loading times.
One way is to remove the css styles and save it to a file. I believe this is already done in DarkEQ.css.
<style type="text/css">
<!--
/*
The original subSilver Theme for phpBB version 2+
Created by subBlue design
(..all the way to...)
/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("templates/DarkEQ/formIE.css");
-->
</style>
An other way, but this will need some testing is saving the javascript part below, to a javascript file.
<script language="JavaScript" type="text/javascript">
<!--
// bbCode control by
// subBlue design
(... all the way to ...)
// Insert at Claret position. Code from
// http://www.faqts.com/knowledge_base/view.phtml/aid/1052/fid/130
function storeCaret(textEl) {
if (textEl.createTextRange) textEl.caretPos = document.selection.createRange().duplicate();
}
Both files will load only once and then taken from the users hd. This will not only save bandwidth, but also reduce loading times.