Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Announcment box
Topic Started: Oct 16 2009, 08:35 AM (404 Views)
Mishka
Member
[ *  * ]
Is there a code I can use so I can place a 'scrolling' announcmentbox at the top of my site please ?
Offline Profile Quote Post Goto Top
 
obxbiker
Member Avatar
USMCR
[ *  *  *  * ]
lots of different ways to do this. This one we currently use:
Code:
 

<table width="100%" border="0" cellspacing="1" cellpadding="4">
<tr>
<td class="row4" align="center" width="30%"><a href="http://piwyr.co.cc/forum/661180/"> <i>PIWYR New's</i> :</a></th>
<td class="row4" align="center" width="70%"><marquee scrollamount=4><font color='red'>[kym]<b> ** VENOX DROPPED FROM 2010 LINEUP !!** </b> motorcycleusa.com article<a href="http://piwyr.co.cc/topic/2371918/"> <i>STORY HERE </i></a></font></th>
</tr>
</table>



this part shows fixed on the left:
Code:
 

<td class="row4" align="center" width="30%"><a href="http://piwyr.co.cc/forum/661180/"> <i>PIWYR New's</i> :</a></th>


this part scrolls left to right:
Code:
 

<td class="row4" align="center" width="70%"><marquee scrollamount=4><font color='red'>[kym]<b> ** VENOX DROPPED FROM 2010 LINEUP !!** </b> motorcycleusa.com article<a href="http://piwyr.co.cc/topic/2371918/"> <i>STORY HERE </i></a></font></th>


Just replace the url's for links and images with yours.
change the ''marquee scrollamount=4'' # higher to go faster, lower to slow it down...


you can also add this code to the marquee part to stop the scroll when you mouse over it;
Code:
 

<MARQUEE direction="left" onmouseover="this.stop();" onmouseout="this.start();">

here is a web site that can give you a lot of info: http://www.htmlcodetutorial.com/
Edited by obxbiker, Oct 16 2009, 09:44 AM.
Offline Profile Quote Post Goto Top
 
Mishka
Member
[ *  * ]
This is brilliant ! Just what I was looking for.

Thanks for taking the time to post ;)
Offline Profile Quote Post Goto Top
 
Viral.
Member Avatar
Member
[ *  *  *  *  *  * ]
I find these announcement boxes by Nicola to be really useful :) .
Offline Profile Quote Post Goto Top
 
galton
Member
[ * ]
where do i insert them obx?
Offline Profile Quote Post Goto Top
 
Lout
Member Avatar
Member
[ *  *  *  * ]
galton
Oct 23 2009, 08:28 AM
where do i insert them obx?
Board Template - Top of Page or Above the board I would imagine :)
Edited by Lout, Oct 23 2009, 10:10 AM.
Offline Profile Quote Post Goto Top
 
obxbiker
Member Avatar
USMCR
[ *  *  *  * ]
LagerLout
Oct 23 2009, 10:09 AM
galton
Oct 23 2009, 08:28 AM
where do i insert them obx?
Board Template - Top of Page or Above the board I would imagine :)
Correct, you can also place it Below the Board.

Or per theme in the Layout section.
(allows different messages per theme)

It all depends on where you want it to show.
Offline Profile Quote Post Goto Top
 
Aroncar
Member Avatar
Member
[ * ]
"This is a DATABASE not a Support Forum"
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Code & Modification Database · Next Topic »
Add Reply