vBulletin ModsThe Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=207009 |
4 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://www.vbulletin.org/forum/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://www.vbulletin.org/forum/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
You will see from the first line of code, how to change the colors, font background Just change the hex values to ones that suit your site (Shown in Red)
Then find this
And change the UKBL News for your own Title 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
You can also change the border color of your frame here as well as the width
When you've done that, Just save and you've got your file ready for pasting whereever you want your box to go, Simply Ccopy and paste the entire code where ever you want the box to show, In your Header?? Your Footer? On the side its up to you ;) 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....
It pretty easy to follow just change the titles, and other bits to suit your site, To add content, you just need to add basic html code and it will show in your box. To add more content, just cut and paste one of the paragraphs like this
you can see how to change the title, add the context and even a link :eek: You could even add clickable pictures as long at the dimensions fall within the width of the iframe :D 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://www.vbulletin.org/forum/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 ;)
|
All times are GMT. The time now is 14:25. |
Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.