![]() |
UKBL ~ Newsticker IFrame in Navbar
1 Attachment(s)
UKBL ~ Newsticker IFrame in Navbar Working Demo: http://www.ukbusinesslive.co.uk/forum With Border Working Demo: http://www.waltdisneyboards.com/forums.php Without Border As a request for a friend, i made this simple to add news ticker using a simple html script from Dynamic Drive and added it to the navbar, left of the login box, Now your members will be able to see up to date news everytime they login ;) https://vborg.vbsupport.ru/external/2009/03/21.png So Easy to Install First Download the zip file and open the ticker.txt file in a text editor like notepad To legally use the code from Dynamic Drive please retain their credits within the code Code:
<!--<UKBL Iframe Ticker Start>-----------------------------------------------------------------------> Code:
src="http://yourforum.com/exfile.htm" Find Code:
width=200 height=80 Find this Code:
scrolling=no Now we save that file and we need to copy and paste the entire contents of that file to our Navbar, so... AdminCP > Styles & Templates> Style Manager> Your Chosen Style> All style options> Edit templates> Navigation / Breadcrumb Templates> navbar Find the following Code:
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div> Code:
<!--<UKBL Iframe Ticker Start>-----------------------------------------------------------------------> Grab yourselves a beer, Here comes part two :D In Notpad again open the "exfile.htm" file, as we need to edit and add our content :up: When you open the file in Notepad we see this, remember to keep the Dynamic drive url and copyright in place ;) Code:
<script language="JavaScript1.2"> Code:
var delay=3000 next Find this Code:
<BODY bgColor=#FFFFE1> Find this Code:
<!-- ADD TICKER's CONTENT #1 HERE---------------------> You'll see how easy it is, The first part is the url of your link, Then the text after it, once you've done a couple you'll get the knack ;) if you want to add more, make sure you...... Code:
<!--ADD YOUR TICKER CONTENT BELOW, by wrapping each one inside a <DIV> as shown below.--> Thats it, Now click onto your homepage and suprise your members with your New feature Please click Install if you use and i'll support you 100% |
:D reserved :rolleyes:
|
Thanks Gerry! :up:
Another useful option for those folks looking to do little touches on their sites! Thanks for participating so much and contributing to the community my friend! I'll be installing it shortly! :D |
Quote:
|
Thanks
|
is there a demo site with this working?
|
Quote:
|
I've got it started (still testing), but you can use my site for the demo http://www.waltdisneyboards.com/forums.php
Gerry, I'd like to ask a question. I noticed that the text wasn't aligned towards the top. Where do I put the valign="top" piece? Also, what do I do to change the color (or eliminate, rather) the borders on the iFrame? |
Quote:
|
Quote:
|
All times are GMT. The time now is 04:27 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:
|