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:

Username:   Password:
Add Reply
Locked topic text/image under top navigation strip; By Gorgor
Topic Started: Jan 23 2010, 01:00 AM (144 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: Gorgor
Locked topic text/image under top navigation strip
 
Code Name: Locked topic text/image under top navigation
Preview: http://z3.invisionfree.com/gorgor/index.php?showtopic=1
Description: Adds a locked image/text (you choose) under the top navigation strip for when you're viewing a locked topic

Add this to the beginning of your locked post button (in images)
Code:
 
<div id="locked"></div>


Add this to the footers:
Code:
 
<script>
// Locked topic icon by Gorgor
if(location.href.match("showtopic=")){
if(document.getElementById("locked")){
a = document.getElementById("navstrip")
a.innerHTML+= "<br><br> Locked image/text goes here (use HTML) "
}}
</script>


***For the locked image/text spot, make sure that you use the single quote ' for the HTML and NOT the double quotes ".
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply