Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Custom [JS] Top Stories Script for Fansites/Retros

Status
Not open for further replies.
Newbie Spellweaver
Joined
Jun 9, 2010
Messages
69
Reaction score
11
Hi all, this is just a simple script I managed to do today. It's a top stories script like Habbo's, but it doesn't fade. Yes, it changes, every 5 seconds. I do have next and previous functions, and they do work. (Tested in Google Chrome, not sure about other browsers). If you see something wrong, reply and I'll try to fix it. I don't have a demo, but if you would like to set one up, feel free to.

It works like this, there are 3 arrays, 1 for each topstory. (In ts.functions.js)
["LINK","TITLE","DESCRIPTION","TOP STORY IMAGE"]

This would work best if you use an iframe or something among those lines.
Example: Put the topstories.html in an iframe on your homepage, etc.

Virus Scan:
Download in attachments
 

Attachments

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
Jun 9, 2010
Messages
69
Reaction score
11
Look.. all you have to do is download and open the HTML file to test it. It doesn't require PHP. Don't be lazy.
 
Newbie Spellweaver
Joined
Jun 15, 2010
Messages
34
Reaction score
6
Haha, this a really helpfull script. Good job keep it up hope you can release more of these little HTML snippet thingys.
 
Experienced Elementalist
Joined
Mar 26, 2008
Messages
235
Reaction score
1
You should release some more things. Nice release.
 
Newbie Spellweaver
Joined
Oct 12, 2009
Messages
46
Reaction score
8
Hi all, this is just a simple script I managed to do today. It's a top stories script like Habbo's, but it doesn't fade. Yes, it changes, every 5 seconds. I do have next and previous functions, and they do work. (Tested in Google Chrome, not sure about other browsers). If you see something wrong, reply and I'll try to fix it. I don't have a demo, but if you would like to set one up, feel free to.

It works like this, there are 3 arrays, 1 for each topstory. (In ts.functions.js)
["LINK","TITLE","DESCRIPTION","TOP STORY IMAGE"]

This would work best if you use an iframe or something among those lines.
Example: Put the topstories.html in an iframe on your homepage, etc.

Virus Scan:
Download in attachments


Not opening when I click it...
 
Skilled Illusionist
Joined
Oct 7, 2009
Messages
369
Reaction score
46
Sorry for bump but could somebody please upload a mirror? :D
 
Status
Not open for further replies.
Back
Top