Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
|
|
what's the code for the random splashes |
Page: 1 2 3 | Reply |
Jun 27th 2002 | #55430 Report |
Member since: May 21st 2002 Posts: 537 |
Just wondering because I would like to do that for my site.
|
Reply with Quote Reply |
Jun 27th 2002 | #55435 Report |
Member since: Mar 20th 2001 Posts: 3367 |
You should do some searching before you ask - http://www.teamphotoshop.com/forum/vbforum/showthread.php?s=&threadid=7478
|
Reply with Quote Reply |
Jun 27th 2002 | #55437 Report |
Member since: Jun 20th 2002 Posts: 378 |
You can also do it using ASP and a text file.
|
Reply with Quote Reply |
Jun 27th 2002 | #55479 Report |
Member since: May 21st 2002 Posts: 537 |
ok. php seems a little to involved for what I feel like doing. I've no idea where to even start with php or asp for that matter. oh well.
|
Reply with Quote Reply |
Jun 27th 2002 | #55492 Report |
Member since: Jun 20th 2002 Posts: 378 |
This function in ASP really isn't that difficult, it's pretty much the same as a random banner rotator. If you're interested in ASP a good book to start with is, "Active Server Pages 3.0 from Scratch". There is a section on banner rotators; you can easily set it up for random splash pages. Just an idea. |
Reply with Quote Reply |
Jun 27th 2002 | #55495 Report |
Member since: Mar 24th 2002 Posts: 3114 |
Do you know JS? :D
|
Reply with Quote Reply |
Jun 27th 2002 | #55496 Report |
Member since: Apr 1st 2002 Posts: 1487 |
php is the way to go, get yourself a 900pg book on it and then youll start to understand :D
|
Reply with Quote Reply |
Jun 27th 2002 | #55497 Report |
Member since: Mar 24th 2002 Posts: 3114 |
well, either way, you make an array with all the possible splashes.... Then you make a funtion that randomizes a number.. in JS it would be like this: var randomNumber = Math.round(Math.random(666)* nameOfSplashArray.length) <--- there it would be, then just document.write("[html][body][img src=" + nameOfSplashArray[randomNumber] + "][/body][/html]")... and that should be it. |
Reply with Quote Reply |
Jun 27th 2002 | #55498 Report |
Member since: May 21st 2002 Posts: 537 |
ha ha yeah. no I don't know JS hardly at all. If that would work I could use it though. I can only put already made code into my script. I can't make it from scratch. Is it possible to do something like the randomized sentence generator on your site except with images? |
Reply with Quote Reply |
Jun 27th 2002 | #55501 Report |
Member since: Mar 24th 2002 Posts: 3114 |
I´ll make a very fastie for you..wait a sec...
|
Reply with Quote Reply |
Page: 1 2 3 | Back to top |
Please login or register above to post in this forum |
© Web Media Network Limited. All rights reserved. No part of this website may be reproduced without written permission. Photoshop is a registered trademark of Adobe Inc.. TeamPhotoshop.com is not associated in any way with Adobe, nor is an offical Photoshop website. |