Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scrolling Ticker Webpart or JavaScript

Status
Not open for further replies.

SgtJarrow

Programmer
Apr 12, 2002
2,937
US
I have a simple requirement...Display a horizontal ticker - similar to a stock ticker tape - on the top of one of my WSS3.0 Sharepoint pages that gets its data from an external file (any format)..

I can't seem to find any webpart that works. I have searched extensively and downloaded several different ones. Either they are MOSS only, scroll up instead of sideways or read from a list and not external file.

I also am open to using JavaScript for this (I use Sharepoint Designer regularly). But I cannot figure out how to use a .js or .jar or whatever file in my pages. I can't seem to figure out how to get Sharepoint to find the external .js file (where the file should be placed on the server and how to reference it).

I have tested using inline JavaScript and parameters entered in the JavaScript block...and can get several working similar to what I want. But this needs to read from an external file as satated.

Anyone know of a horizontal scrolling ticker (less than $250USD if I have to pay) or how to make Sharepoint use an external .js file, or have any script for inline JavaScript that reads from an external file??

Thanks.

=======================================
People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world. (Calvin from Calvin And Hobbs)

Robert L. Johnson III
CCNA, CCDA, MCSA, CNA, Net+, A+, CHDP
VB.NET Programmer
 
hey,

With respect to the ticker why not use a <marquee> tag?

that ought to save all javascript efforts.

i normally add the JS file inside a document library and just refer them with a <script src=""> tag...

Known is handfull, Unknown is worldfull
 
Thanks.

I found an item that uses an iframe to display a second page. This page includes the script and the content in <div> tags. I created a vb exe to run via a scheduled task on my server that recreates this embedded page each day as my figures change. It doesn't scroll across the page like the <marquee> tag, but at least it works.

ASP, Sharepoint and anything Java/Javascript are not my fortes at all....I am making do with what I can figure out. (I'm a Windows Forms person by experience.)

I will look into converting what I have using the marquee though as that is my last requirement to meet. [smile]

=======================================
People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world. (Calvin from Calvin And Hobbs)

Robert L. Johnson III
CCNA, CCDA, MCSA, CNA, Net+, A+, CHDP
VB.NET Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top