dreamweaver/courses/in/london - news scrollblog
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

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

replyReply Mon 30 Jul 2007, 17:13Delegate Duncan said...

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

For upcoming training course dates see: Pricing & availability

replyReply Tue 31 Jul 2007, 12:21Trainer Rich said...

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

replyReply Wed 1 Aug 2007, 12:58Delegate Duncan said...

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

replyReply Fri 3 Aug 2007, 16:07Trainer Rich said...

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

replyReply Mon 6 Aug 2007, 09:21Delegate Duncan said...

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

 

Dreamweaver tip:

Css styles

If you are looking for a CSS style for your website / web page and not sure what you want to use, then go to the Csszengarden website, where you can download samples to try.

View all Dreamweaver hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard