Stellark
New Member
[M:100]
le predator
Posts: 12
|
Post by Stellark on Aug 10, 2012 16:34:13 GMT -5
would you mind adding some scrolly codes? i can make tables look much better with a scrolly code so i may move the text any where over a picture or hex code background. i have the code for scollies below if you'd like to add it. ^_^
<script type="text/javascript"> <!-- // scrollerDiv UBBC in posts // By Wormopolis - [url]www.wormocodes.com[/url]
// use [scrolly:flags][/scrolly] in post around text // flags are: // h(n) height, n=height in pix // w(n) width, n=width in pix // sx scroll x direction // sy scroll y direction // c(hex) color, hex=color in hex // flags seperated by commas: [scrolly:h(100),w(50),sy] blah blah blah [/scrolly]
for (tds=document.getElementsByTagName('td'), i=0; i<tds.length; i++) {
if (tds[i].width=="80%" && tds[i].className.match(/windowbg/) && tds[i].vAlign=="top" && tds[i].innerHTML.match(/\[scrolly:(.*?)\]([\s\S]*?)\[\/scrolly\]/i) && !tds[i].innerHTML.match(/\[norunubbc\]/)) { flgs=RegExp.$1; lovetext=RegExp.$2; tmp='<div class="postDiv" style="'+(flgs.match(/h\((\d+)\)/) ? 'height:'+RegExp.$1+';' : '')+(flgs.match(/w\((\d+)\)/) ? 'width:'+RegExp.$1+';' : '')+(flgs.match(/sx/) ? 'overflow-x:auto; white-space: nowrap;' : '')+(flgs.match(/sy/) ? 'overflow-y:auto;' : '')+(flgs.match(/c\((\w+)\)/) ? 'background-color:'+RegExp.$1+';' : '') +'" '+(flgs.match(/sx/) ? 'noWrap="nowrap" ' : '') + '>'+ lovetext + '</div>';
postCell=tds[i].getElementsByTagName('table')[0].rows[1].cells[0]; postCell.innerHTML=postCell.innerHTML.replace(/\[scrolly:(.*?)\]([\s\S]*?)\[\/scrolly\]/i,tmp);
i--; } }
--> </script>
|
|
|
Post by » Instinct « on Aug 10, 2012 16:44:46 GMT -5
Does it go in headers or footers?
|
|
Stellark
New Member
[M:100]
le predator
Posts: 12
|
Post by Stellark on Aug 10, 2012 17:56:07 GMT -5
|
|
|
Post by » Instinct « on Aug 10, 2012 19:42:28 GMT -5
Okay, I've added it.
|
|
Stellark
New Member
[M:100]
le predator
Posts: 12
|
Post by Stellark on Aug 10, 2012 20:00:56 GMT -5
Whoo! xD Thank you very much<3
|
|
|
Post by bilalansari on Mar 4, 2013 6:01:09 GMT -5
ccna certificationI am extremely impressed with your writing skills and also with the layout on your blog. Is this a paid theme or did you customize it yourself? Either way keep up the nice quality writing, it’s rare to see a nice blog like this one these days quaid e azam videos
|
|