Version: 1.00, by abdobasha2004
Developer Last Online: Sep 2019
Category: Board Optimization -
Version: 3.7.x
Rating:
Released: 11-13-2008
Last Update: Never
Installs: 13
Template Edits
Re-useable Code Translations
No support by the author.
Features :
Do you want your header and footer be static and do not change while user browsing your forum, try this simple code Code :
Code:
<div style=" overflow: auto; ">
Any part you want to be static
</div>
update by WNxWakko
Quote:
IE works flawless. FireFox however doesn't like it so much and may be the reason some say it doesn't work. They are using Firefox.
Another issue I found was that i used this surrounding a table in my header and in Firefox is distorted my header. So i get performance boost in IE and not in FF with a bug in FF that prevents me from using this.
So I put this as a fix and wanted to share with others if they experienced Firefox bugs because it resolved my issue.
Code:
<!--[if IE]>
<div style=" overflow: auto; "><![endif]-->
Your header or footer
<!--[if IE]></div><![endif]-->
Even though FF users wont get the benefit directly, the load reduction on the server from IE users will spread the wealth to FF users.
change " Any part you want to be static" with your header of footer code
also could be applied to any template to be static while browsing
Had the same question, but since I've had to endure quite slow re-draws of my (multi-sliced) header for many months - this little gem appears to have eliminated the problem in an instant!
I've had quite a few members complaining about the re-draw issue and apart from suggesting Firefox, Chrome or even IE8 over IE6 & 7, there didn't seem to be anything I could do to solve it.
So for my forum at least, this has made tremendous difference to the forum load time so to abdobasha2004, many thanks for this tip - excellent result!
for all people who did not manage to do it
I can not explain
others have seen the difference
I put the same topic on another forum
about 3 said it worked
and 2 said it did not
I implemented this code bit. Very nice find indeed.
I did find some issues. IE works flawless. FireFox however doesn't like it so much and may be the reason some say it doesn't work. They are using Firefox.
Another issue I found was that i used this surrounding a table in my header and in Firefox is distorted my header. So i get performance boost in IE and not in FF with a bug in FF that prevents me from using this.
So I put this as a fix and wanted to share with others if they experienced Firefox bugs because it resolved my issue.
Code:
<!--[if IE]>
<div style=" overflow: auto; "><![endif]-->
Your header or footer
<!--[if IE]></div><![endif]-->
Even though FF users wont get the benefit directly, the load reduction on the server from IE users will spread the wealth to FF users.