inherit
49897
0
Aug 24, 2006 15:56:03 GMT -8
CubistBabe
151
July 2005
cubistbabe
|
Post by CubistBabe on Jan 11, 2006 15:00:52 GMT -8
Just wondering but is there a way to change the direction of the
|
|
inherit
17569
0
Aug 14, 2023 13:11:03 GMT -8
frufru
11,774
December 2003
frufru
|
Post by frufru on Jan 11, 2006 15:02:07 GMT -8
Just wondering but is there a way to change the direction of the You can't do that in UBBC...
|
|
inherit
49897
0
Aug 24, 2006 15:56:03 GMT -8
CubistBabe
151
July 2005
cubistbabe
|
Post by CubistBabe on Jan 11, 2006 15:05:59 GMT -8
Is there a way to get the marquee code to work in a post?
|
|
inherit
40157
tyrantlytamale 627939549 tjhtmlmaniac
0
Sept 3, 2023 15:17:02 GMT -8
Tylr
The stale taste of recycled air.
2,964
April 2005
tyrantlytamale
|
Post by Tylr on Jan 11, 2006 15:08:03 GMT -8
Is there a way to get the marquee code to work in a post? Try the SwitchIt code in the database.
|
|
inherit
49897
0
Aug 24, 2006 15:56:03 GMT -8
CubistBabe
151
July 2005
cubistbabe
|
Post by CubistBabe on Jan 11, 2006 15:09:26 GMT -8
You're kidding me! A switch code will do that? And wouldn't that affect the entire board?
|
|
inherit
Proboards Legend
12897
0
Oct 16, 2016 6:49:45 GMT -8
Snakeair
I don't know what to write here.
40,721
August 2003
snakeair
|
Post by Snakeair on Jan 11, 2006 15:12:53 GMT -8
The swithchit code wouldn't work. The code only tells the browser to change a displayed word.
|
|
inherit
49897
0
Aug 24, 2006 15:56:03 GMT -8
CubistBabe
151
July 2005
cubistbabe
|
Post by CubistBabe on Jan 11, 2006 15:13:33 GMT -8
That's what I thought but wanted to make sure.
|
|
inherit
40157
tyrantlytamale 627939549 tjhtmlmaniac
0
Sept 3, 2023 15:17:02 GMT -8
Tylr
The stale taste of recycled air.
2,964
April 2005
tyrantlytamale
|
Post by Tylr on Jan 11, 2006 15:20:11 GMT -8
The swithchit code wouldn't work. The code only tells the browser to change a displayed word. You can change it to HTML though. It works, truts me. (Yes, I just tryed it to make sure) <script type="text/javascript"> <!--
function switchIt(item, item2){ if(!location.href.match(/=headersfooters2/i)){ if(document.createTreeWalker && typeof Node != "undefined"){ Node.prototype.switchTxt = function(r, rp){ function testNode(node){ if(node.data.match(new RegExp(r, "ig"))){ return NodeFilter.FILTER_ACCEPT; } else { return NodeFilter.FILTER_SKIP; } } var nTree = this.ownerDocument.createTreeWalker(this, NodeFilter.SHOW_TEXT, testNode, false); while(nTree.nextNode()){ nTree.currentNode.data = nTree.currentNode.data.replace(new RegExp(r, "gi"), rp); } } document.body.switchTxt(item, item2); } else if(typeof document.body.createTextRange != "undefined"){ var range = document.body.createTextRange(); range.collapse(true); while(range.findText(item)){ range.text = item2; range.collapse(false); } } } }
switchIt("startmarqueecode", "<marquee direction="right">"); switchIt("endmarqueecode", "</marquee>");
//--> </script> Put that in your global footer then put 'startmarqueecode' for the first part and 'endmarqueecode' to end it.
|
|
#FF6600
16715
0
1
May 19, 2024 2:34:48 GMT -8
Patrick [ASE]
Ancient Geek
46,296
November 2003
allseeingeyes2
|
Post by Patrick [ASE] on Jan 11, 2006 15:33:54 GMT -8
I just tried that code, it doesn't work, and snakeair says it gives him an error.
Please provide proof of your test.
also, i notice a lot of replies that you didn't need to make, please think before posting, thanks.
|
|
inherit
17569
0
Aug 14, 2023 13:11:03 GMT -8
frufru
11,774
December 2003
frufru
|
Post by frufru on Jan 11, 2006 15:42:04 GMT -8
I just tried that code, it doesn't work, and snakeair says it gives him an error. Please provide proof of your test. also, i notice a lot of replies that you didn't need to make, please think before posting, thanks. the reason I believe is because he's using quotes improperly. try changing this line: switchIt("startmarqueecode", "<marquee direction="right">"); to this: switchIt("startmarqueecode", "<marquee direction="e;right"e;>");
|
|
inherit
49897
0
Aug 24, 2006 15:56:03 GMT -8
CubistBabe
151
July 2005
cubistbabe
|
Post by CubistBabe on Jan 16, 2006 23:28:38 GMT -8
Just tried both and it doesn't work. At all. Thanks anyways guys.
|
|
inherit
The Jedi Master of Proboards PBS Oscars: Most Unique
6777
0
Nov 19, 2012 0:15:08 GMT -8
Tommy Huynh
Coffee isn't my cup of tea.
19,374
January 2003
swg2
|
Post by Tommy Huynh on Jan 16, 2006 23:40:35 GMT -8
Try changing this
switchIt("startmarqueecode", "<marquee direction="right">");
to
switchIt("startmarqueecode", "<marquee direction='right'>");
|
|