Anime Online
Home Forums Gallery Reviews RPG Arcade FleaMarket Links Rules / FAQ

Welcome to AnimeOnline.net, your personal Anime Community!

Anime Online Rulez!


Go Back   Anime Online > Archived Forums > The Vault

 
 
LinkBack Thread Tools Display Modes
Old Mar 30, 2005, 06:29 PM   #1 (permalink)
Untouchable
 
Raven Omega's Avatar
 
Join Date: Oct 2004
Location: Pennsylvania, US.
Posts: 765
Thanks: 0
Thanked 1 Time in 1 Post
Raven Omega will become famous soon enoughRaven Omega will become famous soon enough
Credits: 390
Random image display

alright, after a bit of trial and error I wrote up a working Javascript that allows me to display a random image on a standard HTML-based website. It refreshes to a different image when you view it on the website. Now that I've made that, I'm wondering how, if even possible, I can use this script and the images it's rotating and put it on a forum using standard BBcode. Anyone got some suggestions or able to tell me straight up if it's possible or not?
Status: Offline
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old Mar 30, 2005, 08:55 PM   #2 (permalink)
M A S T E R
 
Zui Quan's Avatar
 
Join Date: Oct 2004
Location: A Vastly Superior Place
Posts: 1,727
Thanks: 0
Thanked 0 Times in 0 Posts
Zui Quan will become famous soon enoughZui Quan will become famous soon enough
Credits: 261
In theory it's possible, but the forum would have to either a)allow Javascript (huge security risk) or b) have a routine written into the parser file to run Javascript code (huge security risk).

For forum use, your best best is to use a rotation routine written in PHP. Here's a link to an image rotation code written in PHP: http://www.alistapart.com/d/randomizer/rotate.txt

Save it as something like "rotate.php" and then call it with the IMG tags. My signature is now set up using the rotation script. I just put the randomizer script i nto a folder called "sigs" in the images folder of my site. The address of the file is http://masterquan.com/images/sigs/rotate.php. I didn't change any of the scripts. In the same folder ("sigs") as the the rotation script I put the images I wanted to rotate. Then I just called the script with [*img]http://http://masterquan.com/images/sigs/rotate.php[*/img] (without the *'s of course) and now with each refresh, the image should rotate to the next picture.



Send me a PM if you have any problems.
__________________
Clan? What Clan?
I'm the Master. I need no Clan.
Status: Offline
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old Apr 02, 2005, 07:11 AM   #3 (permalink)
Shining Star
 
Join Date: Oct 2004
Location: North Carolina
Posts: 2,520
Thanks: 0
Thanked 1 Time in 1 Post
Sinistra will become famous soon enoughSinistra will become famous soon enough
Credits: 1,234
Yeah I would have to agree with Zui PHP is better because you can add what images you want and it will add them in no problem
__________________
Status: Offline
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 


All times are GMT -7. The time now is 03:23 AM.


Manga Fox | Anime Wallpapers | Ringtones | Anime Avatars | Wallpapers | Anime Girls | Watch Anime Online | Anime Buddy Icons
Anime Online Banners by fooligar. ©
This Anime skin cannot be reproduced on any website without written permission from the Anime Online Staff.
Ad Management by RedTyger

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100