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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I get the Marquee in IE to display an external text file?

Status
Not open for further replies.

Cadwalader

IS-IT--Management
Feb 12, 2002
297
US
What I am trying to accomplish is to display a small text file in the Marquee in IE...something like news, or notifications, etc., without having to upload the whole web page to the server everyday, just that small text file. I tried the datasrc, datafield, and dataformats and it didn't work. I know that it would work if I had some kind of database, but writing a text file is much easier. Can it work? and how?

Thanks in advance...
 
Try this...
Code:
<html>
<body>
<marquee behavior=slide direction=left width=250>
<script src=&quot;include.js&quot;></script>
</marquee>
</body>
</html>

where include.js contains:
Code:
document.writeln('<A HREF=&quot;[URL unfurl="true"]http://www.tek-tips.com&quot;[/URL]  TITLE=&quot;HTML forum at Tek-Tips.com.&quot;>Visit the HTML forum</A>');
Hope this helps,
Jessica
[ponytails2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top