View Full Version : News Updater IE5+

05-09-2007, 12:57 PM
New to web site development and getting a lot of help on Dynamicdrive - excellent site!

I used the News Updater IE5+ script and had a couple of questions regarding modification. First - can I code the message to open a pdf file onclick?

Secondly, text color and font options were explained. Can I change the font size or use a picture in lieu of text?

Thanks for any help you can provide!


05-10-2007, 06:26 AM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

05-10-2007, 12:45 PM
With apologies, DDAdmin. I'm a quick learner.

Script DD News Updater IE5+
This script offers variables for font color and font type. How can I change font size? And, can I use a picture in lieu of text?

Also, is it possible to launch a pdf file onclick()?

Thanks in advance,


05-10-2007, 02:31 PM
That's an older script that would need revision to work with browsers other than older IE ones. You should consider a newer script like http://www.dynamicdrive.com/dynamicindex2/iframe-scroller.htm or others located at http://www.dynamicdrive.com/dynamicindex2/

To answer your questions, you would change font-size here:

#whatsnew, #temp {font-weight:bold; font-family:Arial; font-size:7px;}

Just replace it with whatever you're using for font. And yes, you can make it go to a pdf or use an image:

tickers[0]='<a href="0.pdf"><img src="smile0.gif" />This is message 0</a>'

But again, you really should look for a script that works with browsers other than IE.