inherit
198412
0
May 26, 2022 8:09:32 GMT -8
Timebomb007
450
August 2013
timebomb007
|
Post by Timebomb007 on Oct 8, 2013 19:13:02 GMT -8
Forum URL: pondfriends.boards.netHow would I remove the white space between the banner ad and Register to See the Entire Forum box?
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Oct 9, 2013 7:52:53 GMT -8
Delete the <xmp> tag that's on the page. Not sure how you added it, but check either your headers & footers or your layout templates. <xmp> is a super-old deprecated HTML tag with no real use any more.
|
|
inherit
198412
0
May 26, 2022 8:09:32 GMT -8
Timebomb007
450
August 2013
timebomb007
|
Post by Timebomb007 on Oct 9, 2013 8:24:28 GMT -8
Delete the <xmp> tag that's on the page. Not sure how you added it, but check either your headers & footers or your layout templates. <xmp> is a super-old deprecated HTML tag with no real use any more. <xmp> is from the code Wormopolis gave for hiding headers and footers from groups. support.proboards.com/post/5562674/threadHow should the code be then?
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Oct 9, 2013 8:44:34 GMT -8
well it has that one use.
and the alternative would be to edit whatever codes he has in the footers individually to not run on certain groups, but Im not volunteering to do all of that.
|
|
inherit
198412
0
May 26, 2022 8:09:32 GMT -8
Timebomb007
450
August 2013
timebomb007
|
Post by Timebomb007 on Oct 9, 2013 9:01:00 GMT -8
Edit: New code below.
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Oct 9, 2013 11:37:00 GMT -8
Throw it in a plugin, add a group selector?
|
|
inherit
198412
0
May 26, 2022 8:09:32 GMT -8
Timebomb007
450
August 2013
timebomb007
|
Post by Timebomb007 on Oct 9, 2013 11:54:26 GMT -8
I tried building a plugin, putting the code as a main header and saving it, but it messed up the forum, removing all of the boards and adding a bunch of code. I've never built a plugin before, obviously, so I'm clueless.
|
|
inherit
198412
0
May 26, 2022 8:09:32 GMT -8
Timebomb007
450
August 2013
timebomb007
|
Post by Timebomb007 on Oct 31, 2013 11:05:39 GMT -8
Tim Camara Michael WormopolisPlease, can this specific header code be set for excluding a group from seeing it? Thanks. <script type="text/javascript">
/****************************************** * Snow Effect Script- By Altan d.o.o. (http://www.altan.hr/snow/index.html) * Visit Dynamic Drive DHTML code library (http://www.dynamicdrive.com/) for full source code * Last updated Nov 9th, 05' by DD. This notice must stay intact for use ******************************************/
//Configure below to change URL path to the snow image var snowsrc = "image url"; // Configure below to change number of snow to render var no = 10; // Configure whether snow should disappear after x seconds (0=never): var hidesnowtime = 0; // Configure how much snow should drop down before fading ("windowheight" or "pageheight") var snowdistance = "pageheight";
///////////Stop Config//////////////////////////////////
var ie4up = (document.all) ? 1 : 0; var ns6up = (document.getElementById && !document.all) ? 1 : 0;
function iecompattest() { return (document.compatMode && document.compatMode != "BackCompat") ? document.documentElement : document.body }
var dx, xp, yp; // coordinate and position variables var am, stx, sty; // amplitude and step variables var i, doc_width = 800, doc_height = 600;
if (ns6up) { doc_width = self.innerWidth; doc_height = self.innerHeight; } else if (ie4up) { doc_width = iecompattest().clientWidth; doc_height = iecompattest().clientHeight; }
dx = new Array(); xp = new Array(); yp = new Array(); am = new Array(); stx = new Array(); sty = new Array(); //snowsrc = (snowsrc.indexOf("dynamicdrive.com") != -1) ? "snow.png" : snowsrc for (i = 0; i < no; ++i) { dx[i] = 0; // set coordinate variables xp[i] = Math.random() * (doc_width - 50); // set position variables yp[i] = Math.random() * doc_height; am[i] = Math.random() * 20; // set amplitude variables stx[i] = 0.02 + Math.random() / 10; // set step variables sty[i] = 0.7 + Math.random(); // set step variables if (ie4up || ns6up) { if (i == 0) { document.write("<div id=\"dot" + i + "\" style=\"POSITION: absolute; Z-INDEX: " + i + "; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://dynamicdrive.com\"><img src='" + snowsrc.replace(/\d\.(gif|png|jpe?g|bmp)$/i,(Math.round(Math.random()*5+1)+".$1")) + "' border=\"0\"><\/a><\/div>"); } else { document.write("<div id=\"dot" + i + "\" style=\"POSITION: absolute; Z-INDEX: " + i + "; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='" + snowsrc.replace(/\d\.(gif|png|jpe?g|bmp)$/i,(Math.round(Math.random()*5+1)+".$1")) + "' border=\"0\"><\/div>"); } } }
function snowIE_NS6() { // IE and NS6 main animation function doc_width = ns6up ? window.innerWidth - 10 : iecompattest().clientWidth - 10; doc_height = $(document).height() for (i = 0; i < no; ++i) { // iterate for every dot yp[i] += sty[i]; if (yp[i] > doc_height - 60) { xp[i] = Math.random() * (doc_width - am[i] - 60); yp[i] = 0; stx[i] = 0.02 + Math.random() / 10; sty[i] = 0.7 + Math.random(); } dx[i] += stx[i]; document.getElementById("dot" + i).style.top = yp[i] + "px"; document.getElementById("dot" + i).style.left = xp[i] + am[i] * Math.sin(dx[i]) + "px"; } snowtimer = setTimeout(snowIE_NS6, 10); }
function hidesnow() { if (window.snowtimer) clearTimeout(snowtimer) for (i = 0; i < no; i++) document.getElementById("dot" + i).style.visibility = "hidden" }
if (ie4up || ns6up) { snowIE_NS6(); if (hidesnowtime > 0) setTimeout("hidesnow()", hidesnowtime * 1000) }
</script>
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Oct 31, 2013 11:17:31 GMT -8
there is already a falling items plugin in the library. you can edit the permissions of that plugin so certain groups dont have it run.
|
|
inherit
198412
0
May 26, 2022 8:09:32 GMT -8
Timebomb007
450
August 2013
timebomb007
|
Post by Timebomb007 on Oct 31, 2013 11:40:58 GMT -8
there is already a falling items plugin in the library. you can edit the permissions of that plugin so certain groups dont have it run. Right, I know, but the header code shows the images the way I want them instead of how the plugin shows them. Plus, it would be one less plugin to have.
|
|