![]() |
UKBL ~ Scrolling Forum News In iFrame
1 Attachment(s)
UKBL ~ Scrolling Forum News In iFrame Ever wanted a Customizable Scrolling Box where you could easily add your Forum News Or Links, but didn't want to use Javascript with line after line of code??? https://vborg.vbsupport.ru/external/2009/03/61.png LIVE DEMO: http://www.ukbusinesslive.co.uk/forum/scroller.htm and without the Iframe Border http://www.waltdisneyboards.com/forums.php Then this is for you, A Small so easy to add script, thats customizable in every way. I'm dedicating this hack to my friend "Arny" from the Walt Disney Boards, who put the idea into my head when he sent me a hidious Javascript, with about 100 lines of text that did basically the same, So thats for the idea Arny and I hope you enjoy the finished product. Using a Basic iFrame code, You can add scrolling text, links and clickable pictures and with a small file to add where ever you want to put your new iFrame it couldn't be easier to do. You can adjut the size of the box to go the full width of your boards or to fit in a small corner, it really is adjustable ;) https://vborg.vbsupport.ru/external/2009/03/62.png Ok so heres the Install.. Download the zip file and open up the scroller.txt file in notebook or similar Code:
<!-- Copy this where you want your Scroller --> Code:
<table cellpadding="2" cellspacing="0" border="0" style="border: #000000 1px solid; background-color: #3BE2F8;COLOR: #1605FC; FONT: 14px arial, sans-serif; font-weight: bold;"><tr><td align="center"> Code:
<td align="center"> Next we can change the size and height of our box, so first decide what size you want your box to be and change the values in this part of the code Code:
<iframe id="NewsWindow" src="text.htm" width="160" height="210" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" style="border: #000000 1px solid;"></iframe> Code:
style="border: #000000 1px solid; Now we come to the text.htm file which we need to upload to our forums server, so open the file and we'll see something like this.... Code:
<html><head> To add more content, just cut and paste one of the paragraphs like this Code:
<span class="title"> make a space under each news item using <br><br><br> Once you've finished adding your content and editing the differnt sections, Save the file and upload it to your forums root directory as text.htm If you want to change the content on a regular basis all you'll need to do is to edit the text.htm fil and just upload it to your server, remembering to chose over write. ;) Thats it, so easy and a great addition to any forum https://vborg.vbsupport.ru/external/2009/03/63.png The code is just bog standard HTML so feel free to edit and play around with it :D You could even use this for advertising and sponsors The choice is yours, basically its a simple iframe with a scroll feature, so enjoy :D Don't forget to click Installed :up: |
:D reserved ;)
|
Thanks my friend! :up:
Hope folks get as much out of this one as I will. :D |
looks good m8
i suppose this could be used for anythign besides text ?? |
Quote:
|
1 Attachment(s)
Quote:
Only the color has been changed you'll need to add the context, width etc.. |
interesting hack,nice one^^
|
Quote:
Code:
<iframe id="NewsWindow" src="text.htm" width="160" height="210" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" style="border: #000000 1px solid;"></iframe> Code:
width="160" and replace with Code:
width="100%" |
Quote:
|
Quote:
Thanks Buddy You can if you want do away with the box and have just the iframe In the scroller.txt find this Code:
<table cellpadding="2" cellspacing="0" border="0" style="border: #000000 1px solid; background-color: #3BE2F8;COLOR: #1605FC; FONT: 14px arial, sans-serif; font-weight: bold;"><tr><td align="center"> https://vborg.vbsupport.ru/external/2009/03/60.png |
All times are GMT. The time now is 05:00 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|