This forum does not allow guest posting. You must register to participate in this forum.

Messages ordered by earliest posts first
All times are GMT

Forum Home / General Discussion / JavaScript maxheadlines=most 4


[This topic is LOCKED]

AuthorMessage
ChillerBaggins
This user is offline Writer
ChillerBaggins

Location: Perth, Western Australia
Registered: 6 Jun 07

 Forum Profile
 Writer's Profile
 Website
Posted: 10 Jun 07 01:09
Re:
---
Simply copy and paste this code into your HTML page:

<script language="JavaScript" src="http://www.thespoof.com/rss/javascript/jscript.cfm?width=200&maxheadlines=2"></script>

Feel free to tweak the width and number of headlines by changing the 'width' and 'maxheadlines' parameters in the javascript line above, to fit in with the design of your website.
---
I tried 'maxheadlines' at 20 instead of 2, but got 4. At 10 and 5 I still got 4. So, at present it looks like only 4 headlines are available. Unless I am doing it wrong.

"He's not the Messiah, he's just a very naughty boy."

 
Any opinions expressed here are purely the opinions of the contributors and are not necessarily the opinions of The Spoof, its staff or the original writer of the spoof news/parody/satire story.

Go to top

Forum permissions

You are not logged in.

  • You cannot create new topics in this forum
  • You cannot post new messages in this forum
  • You cannot add polls
  • You cannot link to external images in this forum
  • You cannot upload images in this forum
  • You cannot upload files in this forum

Who is online?

There are no registered users currently online.


Profile Featured Writer

mikewadestr
mikewadestr
Joined: 16 September 2008
Stories Written: 173

Go to top