dreamweaver/courses/in/london - news scrollblog

Forum home » Delegate support and help forum » Dreamweaver Training and help » dreamweaver/courses/in/london - News scroll/blog

dreamweaver/courses/in/london - News scroll/blog

resolvedResolved · Low Priority · Version Standard

Duncan has attended:
Dreamweaver 8 Introduction course
Dreamweaver 8 Intermediate course

News scroll/blog

Hi

I want to put in a news feed on my home page. Basically i want my news to be in a box which has a scroll bar on the side so the text all moves down but the page stays where it is. like this box i am typing in now. Is there a feature in dremweaver that does this or do i need to insert some kind of blog thing?

Thanks!

Duncan

RE: news scroll/blog - java applet, iFrame or textarea

Hi Duncan,

There are a number of ways to achieve this. Some are listed below.

You can use a Java applets, eg. http://www.appletcollection.com/advnewsscroll.html

You can use an iFrame, eg. http://allwebco-templates.com/support/S_script_newsfeed.htm

Or a read-only textarea, eg. http://htmlhelp.com/reference/html40/forms/textarea.html

I would probably use the iFrame, as this gives your users the ability to scroll the content themselves. I hate waiting for content to appear; the web is supposed to be quick!

Hope this helps.

Regards, Rich

RE: news scroll/blog - java applet, iFrame or textarea

Hi rich

Thanks for your response, although i think i've mislead you slightly. When i said news i just meant my own news, like a blog/what's new type thing, as opposed to a live news feed.

The bottom link you sent me was the closest thing to this, but as far as i can work out it's more of a text box for visitors to write in, rather than a read only. When i input the text i want to be able to edit font size/style easily and have the ability to post pictures in the same area. Will i have to do this through code view?

Just for the record the other two links you sent were spot on for the live news feeds, sorry about that!

Thanks for your help!

Duncan

RE: news scroll/blog - java applet, iFrame or textarea

Duncan,

Sorry for the confusion. In your original post you did say 'news feed', but now I think I understand what you require.

Just so you know, the three suggestions above don't have to be 'live' news feeds, they can contain whatever you want, eg. blog type updates/latest news/updates from yourself/a recipe... doesn't matter! You always set the content. The Java example though, does have to be text, as far as i'm aware.

My third suggestion is, in fact, just a text box, yes. However if you add the parameter "readonly" to the tag, it means the user cannot edit the text, but they can scroll around/read it.

eg. <textarea readonly="readonly" rows="10" cols="40">All the news goes here</textarea>

If you want pictures etc. too, then my advice would be to use an iFrame. I'd recommend you experiment with iFrames, because they allow you to specify an area of your web page, which acts as a window; within that window you can put another whole web page - which can contain text (any fonts) and pictures as well.

So, create your news page first; keep it simple to begin with. Save the page as news.html (for example). Then on your home page, have code like this:
<IFRAME NAME="thenews" SRC="news.html">
</IFRAME>

Note the SRC parameter allows you to specify which HTML page to load into the iFrame.

See these pages for more info on how to use iFrames...
http://msdn2.microsoft.com/en-us/library/ms537627.aspx
http://www.willmaster.com/possibilities/archives/wmp20030506001.shtml

Regards, Rich

RE: news scroll/blog - java applet, iFrame or textarea

Rich

Those bottom two links solved my problem perfectly. Thanks for your help once again!

Regards
Duncan

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Dreamweaver tip:

Paragraph formatting

in Dreamweaver if you type in text and press entre you get double line spacing.

To avoid this hold down the shift key and then press Enter for a soft break

View all Dreamweaver hints and tips


Server loaded in 0.07 secs.