|
Post by DesertFlame on Jul 11, 2008 15:39:16 GMT -5
is there anyway i can have something like a table come up ONLY on one page and not all the rest. when i try to make it only show up on the front page, it's on all of my other pages too. I go to main headers and footers so IDK whats going on. Could it be that im using advance hack manger v2 by chris? please help
|
|
|
Post by RoGeR on Jul 12, 2008 3:37:57 GMT -5
Yeh place the table code in Main Header! Try that and tell me if it works... =D
|
|
|
Post by DesertFlame on Jul 12, 2008 13:45:35 GMT -5
no i just want it on the front page, when i put it in main headers and footers it gos on the font page as well as the members page, mail home, admin arena, search, profile etc. all i want is it to be on ONE page
|
|
|
Post by RoGeR on Jul 12, 2008 14:49:04 GMT -5
Can I see the code ur using? ;D
|
|
|
Post by DesertFlame on Jul 12, 2008 15:17:25 GMT -5
heres all my code, I'm usin a hack mangier so i dont know if that makes a difference. If you want to see my site the url is desertflame.proboards83.com/GLOBAL HEADER: <script type='text/javascript' src='http://roddyinnovations.com/templates/rev2/gh.js'> /* Revamped 2 ~ Gfx & Coding by Scorpian */ /* Copyright (c)2006 Roddy Innovations Designs */ /* http://roddyinnovations.com */ </script> GLOBAL FOOTER: <script type='text/javascript' src='http://roddyinnovations.com/templates/rev2/gf.js'> /* Revamped 2 ~ Gfx & Coding by Scorpian */ /* Copyright (c)2006 Roddy Innovations Designs */ /* http://roddyinnovations.com */ </script> MAIN FOOTER: <script type='text/javascript' src='http://roddyinnovations.com/templates/rev2/mf.js'> /* Revamped 2 ~ Gfx & Coding by Scorpian */ /* Copyright (c)2006 Roddy Innovations Designs */ /* http://roddyinnovations.com */ </script>
|
|
|
Post by RoGeR on Jul 12, 2008 16:18:30 GMT -5
Well man I don't know I'm not a kick ass coder or anything but there might be a chance the codes aren't working if Scorpion didn't update them to work with V4.5...
|
|
|
Post by DesertFlame on Jul 12, 2008 16:22:23 GMT -5
no its the board cuz above the input boxes in the main H&F it says "It is used on all pages that are not boards (such as the homepage of your forum, the admin area, instant messaging area, etc)." I want to know how to make it on ONLY one page
|
|
|
Post by RoGeR on Jul 13, 2008 13:22:09 GMT -5
ok this was a table amde by me and some people.... <table class="bordercolor" cellpadding="4" cellspacing="1" height="74" width="92%" align="center"> <tr class="catbg"> <td valign="top" width="65%"> <center><b><font color="ffffff" class="cattext">..::Techno GFX GOTW/SOTW News::. </font></b></center> </td> <td valign="top" width="35%"> <center><b><font color="ffffff" class="cattext">.::Latest News::.</font></b></center></td></tr> <tr><td class="windowbg"> <center><a href="http://img508.imageshack.us/img508/7940/avi2jq1.gif" target="0"><img src="http://img508.imageshack.us/img508/7940/avi2jq1.gif" ></a><br><b>Constricted</b><br><br>
<a href="http://www.technographics.proboards102.com/index.cgi?board=gotwboard&action=display&thread=1183565596">View Past Winners</a> | <a href="http://www.technographics.proboards102.com/index.cgi?board=bf&action=display&thread=1192122123&page=1">Join In SOTW #1!</a> </center>
</td>
<td class="windowbg2" height="100" valign="top"><br><center> <script type="text/javascript">
/*********************************************** * Script by napalm ***********************************************/
var delay = 2000; //set delay between message change (in miliseconds) var maxsteps=30; // number of steps to take to change from start color to endcolor var stepdelay=40; // time in miliseconds of a single step //**Note: maxsteps*stepdelay will be total time in miliseconds of fading effect var startcolor= new Array(255,255,255); // start color (red, green, blue) var endcolor=new Array(0,0,0); // end color (red, green, blue)
var fcontent=new Array(); begintag='<div style="font: normal 14px Arial; padding: 5px;">'; //set opening tag, such as font declarations fcontent[0]="Version Two is here!!"; fcontent[1]="Affiliation is in the works please visit the affiliate board for more info."; fcontent[2]="Enjoy your stay!."; closetag='</div>';
var fwidth='150px'; //set scroller width var fheight='150px'; //set scroller height
var fadelinks=0; //should links inside scroller content also fade like text? 0 for no, 1 for yes.
///No need to edit below this line/////////////////
var ie4=document.all&&!document.getElementById; var DOM2=document.getElementById; var faderdelay=0; var index=0;
/*Rafael Raposo edited function*/ //function to change content function changecontent(){ if (index>=fcontent.length) index=0 if (DOM2){ document.getElementById("fscroller").style.color="rgb("+startcolor[0]+", "+startcolor[1]+", "+startcolor[2]+")" document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag if (fadelinks) linkcolorchange(1); colorfade(1, 15); } else if (ie4) document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag; index++ }
// colorfade() partially by Marcio Galli for Netscape Communications. //////////// // Modified by Dynamicdrive.com
function linkcolorchange(step){ var obj=document.getElementById("fscroller").getElementsByTagName("A"); if (obj.length>0){ for (i=0;i<obj.length;i++) obj[i].style.color=getstepcolor(step); } }
/*Rafael Raposo edited function*/ var fadecounter; function colorfade(step) { if(step<=maxsteps) { document.getElementById("fscroller").style.color=getstepcolor(step); if (fadelinks) linkcolorchange(step); step++; fadecounter=setTimeout("colorfade("+step+")",stepdelay); }else{ clearTimeout(fadecounter); document.getElementById("fscroller").style.color="rgb("+endcolor[0]+", "+endcolor[1]+", "+endcolor[2]+")"; setTimeout("changecontent()", delay); } }
/*Rafael Raposo's new function*/ function getstepcolor(step) { var diff var newcolor=new Array(3); for(var i=0;i<3;i++) { diff = (startcolor[i]-endcolor[i]); if(diff > 0) { newcolor[i] = startcolor[i]-(Math.round((diff/maxsteps))*step); } else { newcolor[i] = startcolor[i]+(Math.round((Math.abs(diff)/maxsteps))*step); } } return ("rgb(" + newcolor[0] + ", " + newcolor[1] + ", " + newcolor[2] + ")"); }
if (ie4||DOM2) document.write('<div id="fscroller" style="border:0px solid black;width:'+fwidth+';height:'+fheight+'"></div>');
if (window.addEventListener) window.addEventListener("load", changecontent, false) else if (window.attachEvent) window.attachEvent("onload", changecontent) else if (document.getElementById) window.onload=changecontent
</script> Place it in Main header.... And tell me if it only shows on one page...
|
|