Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ General Web Design _ Add "News" area ?

Posted by: TekEss Sep 7 2006, 09:00 AM

Sorry folks, I'll try to explain this as best I can. I would like to add, in the top left section of www.bbqtalk.ca/forums , an area where I can have some text that would rotate news or info that I could add on a daily basis. I have approx. 140 x 240 area to do this in.

In short, it would be a stationary 140x240 box with a static title, but the contents would be text and rotate.

Hope that was clear, cause it sure was painful to write smile.gif

Any help on design is really appreciated. I'm very new to this, so please explain it in detail.


Thanks in advance.

Posted by: pandy Sep 7 2006, 09:35 AM

Hi! smile.gif

http://www.bbqtalk.ca/forums/

You have a cell on each side of the logo image. They just contain empty paragraphs now. You could use one of those.

HTML
<td width="130" align="left" valign="bottom" height="126">
<!-- USE THIS SPACE -->
<p align="left">&nbsp;
<p align="left">&nbsp;
<!-- // -->
</td>
<center>


<td width="150" height="252" valign="middle" align="center" rowspan="2"><a href="http://www.bbqtalk.ca/forums"><img border="0" src="http://www.bbqtalk.ca/forums/templates/NoseBleed/images/bbqtalk.jpg" width="400" height="227"></a></td>

<td width="130" align="right" valign="baseline" height="55">
<!-- OR THIS -->
nbsp;
<p>&nbsp;</p>
</center>
<!-- // -->
</td>



Do you want the text to rotate automatically? In that case you need a script. If you just want to update when you have news to post you could use SSI (Server Side Includes), or better a PHP include since your forum is written in PHP.
http://www.htmlhelp.com/faq/html/design.html#include-file

BTW, you have a some errors in your code. For example you can't use CENTER as you have done in the snip above. Most of these errors probably come frome phpBB so they can be hard to weed out, but the above doesn't look like phpBB.
http://www.htmlhelp.com/tools/validator/

Posted by: TekEss Sep 7 2006, 09:48 AM

QUOTE(pandy @ Sep 7 2006, 10:35 AM) *

Hi! smile.gif

http://www.bbqtalk.ca/forums/

You have a cell on each side of the logo image. They just contain empty paragraphs now. You could use one of those.
HTML
<td width="130" align="left" valign="bottom" height="126">
<!-- USE THIS SPACE -->
<p align="left"> 
<p align="left"> 
<!-- // -->
</td>
<center>


<td width="150" height="252" valign="middle" align="center" rowspan="2"><a href="http://www.bbqtalk.ca/forums"><img border="0" src="http://www.bbqtalk.ca/forums/templates/NoseBleed/images/bbqtalk.jpg" width="400" height="227"></a></td>

<td width="130" align="right" valign="baseline" height="55">
<!-- OR THIS -->
nbsp;
<p> </p>
</center>
<!-- // -->
</td>



Do you want the text to rotate automatically? In that case you need a script. If you just want to update when you have news to post you could use SSI (Server Side Includes), or better a PHP include since your forum is written in PHP.
http://www.htmlhelp.com/faq/html/design.html#include-file

BTW, you have a some errors in your code. For example you can't use CENTER as you have done in the snip above. Most of these errors probably come frome phpBB so they can be hard to weed out, but the above doesn't look like phpBB.
http://www.htmlhelp.com/tools/validator/



Thanks for replying!

I would like the text to rotate, where can I find a script ? Is that difficult ?

Which "center" is in error ? There doesnt seem to be any issues. What should I do about it ?

Posted by: pandy Sep 7 2006, 10:22 AM

You could search for ramdon scripts in PHP.
http://www.google.com/search?q=random+quotes+php
It doesn't matter that those are quotes. You have to exchange whatever sample text they use anyway.

Posted by: TekEss Sep 7 2006, 03:42 PM

I found this script but when I try to add another line, it shows up outside the box. How can I add more lines inside the box?

CODE
<div
align="center"> <font color="#FFFFFF"> <marquee bgcolor="#FFFFFF" scrollamount="2"
direction="up" loop="true" width="25%"> <center>
<font color="#B91E3D" size="+1"><strong>St.Catharines
<u>Competitors</u></strong></font></center></marquee>
  
  </font>
  
   </div>

Posted by: pandy Sep 7 2006, 03:57 PM

MARQUEE is an old IE extension to HTML. You shouldn't use that. But if you must, you have to use one MARQUE for each line.

If it is a scroller you want there are JavaScript ones. Of course, they won't scroll if JS isn't available but they are still better than MAQUEE.

Posted by: TekEss Sep 7 2006, 04:45 PM

QUOTE(pandy @ Sep 7 2006, 04:57 PM) *

MARQUEE is an old IE extension to HTML. You shouldn't use that. But if you must, you have to use one MARQUE for each line.

If it is a scroller you want there are JavaScript ones. Of course, they won't scroll if JS isn't available but they are still better than MAQUEE.



Thanks Pandy, but I picked it cause it was extremely simple...just like me. All I want is a format like that, as easy as that, that I can add some text to, to give info on events on my forum. You said use java...can ya help with a script thats easy

Posted by: pandy Sep 7 2006, 06:10 PM

But you said you wanted automatically updated news? There's nothing like that with a MARQUEE. It's just HTML, or at least Microsoft's take on it.

JavaScript scrollers:
http://www.google.com/search?q=javascript+news+scroller+browser+compatible

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)