http://help.forumotion.com/t86450-different-header-banner-for-each-category-sub-category-page-and-its-topics
tell me...who sees the double post?
tell me...who sees the double post?
$header=$_GET["forumtype"];
if ($header = "offtopic"){
code for offtopic header
}
if ($header="ontopic"){
code for ontopic header
}
else{
code for default header
}
function gup( name )
{
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^]*)";
var regex = new RegExp( regexS );
var results = regex.exec( window.location.href );
if( results == null )
return "";
else
return results[1];
}
var forumtype_param = gup('forumtype');
if ( forumtype_param == "ontopic" )
print code for on topic banner;
else if ( forumtype_param == "offtopic" )
print code for off topic banner;
else
print code for default banner;
<div id="forum-widget" style="height: 13px; width: 16px; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; cursor: pointer; position: absolute; background: #f5ebf7 url(http://i42.tinypic.com/vg54yu.png) no-repeat 0 -13px;" onClick="jQuery('#left').animate({width:'toggle',height:'toggle',opacity:'toggle'},1000); if(my_getcookie('forum-widget')=='0') { my_setcookie('forum-widget','1',0,0); jQuery('#forum-widget').css('background-position','0 -13px'); } else { my_setcookie('forum-widget','0',1,0); jQuery('#forum-widget').css('background-position','0 0px'); }"></div>
<script type="text/javascript"> jQuery('#forum-widget').insertBefore('#left'); if(my_getcookie('forum-widget')=='0') {jQuery('#left').animate({width:'toggle',height:'toggle',opacity:'toggle'},0); jQuery('#forum-widget').css('background-position','0 0px'); } </script>
sheeptastic wrote:It's because I'm prettier Mills, sorry to say it.
And I have boobies.
Similar topics
Permissions in this forum:
You cannot reply to topics in this forum
|
|