| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| [ C ] Prevent HTML from Board Template Loading on Every Page | |
|---|---|
| Tweet Topic Started: Aug 20 2012, 02:26 PM (382 Views) | |
| JohnSlider | Aug 20 2012, 02:26 PM Post #1 |
|
Member
![]() ![]() ![]() ![]()
|
Zetaboards I have a large bit of HTML that I would like to only load on the forum homepage. For a while I have been using a code that hides the div my HTML is in from appearing on other pages in the forum, but it still slows the pages down big time because it still loads in the background. Is there a code that I can use that somehow stops this, or is it simply a limitation in board software and there's no real way around it? It's kind of a pain because for some reason it loads before the quick reply which makes the quick reply pop up 10 or so seconds later than everything else on the page/ Edited by JohnSlider, Aug 20 2012, 02:26 PM.
|
![]() |
|
| Cory | Aug 20 2012, 08:34 PM Post #2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Add a DIV around the HTML with an ID:Admin CP Themes Board Template JavascriptsAdmin CP Themes Board Template Below the Board
|
![]() |
|
| JohnSlider | Aug 21 2012, 04:22 PM Post #3 |
|
Member
![]() ![]() ![]() ![]()
|
Thanks, Cory. Is there a similar code for preventing the HTML from loading on a specific skin? |
![]() |
|
| Cory | Aug 21 2012, 06:51 PM Post #4 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Add a DIV around the HTML with an ID if it doesn't already have one. Admin CP Themes Board Template Below the BoardEdit the capitalized text as necessary and you can repeat that line to hide the HTML from more themes. The theme ID can be retrieved via the Admin CP, when editing the theme the '&id=' number will be the themes ID. Don't include the number sign when inserting an HTML ID. |
![]() |
|
| Steve | Aug 26 2012, 11:15 AM Post #5 |
|
patriot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Completed! Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Closed Requests · Next Topic » |
| Track Topic · E-mail Topic |
4:36 AM Jul 11
|


![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)


Themes
4:36 AM Jul 11