This is a discussion on "Help Required" within the Web Page Design section. This forum, and the thread "Help Required are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Help Required
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Help Required
Not sure if this is the right forum, forgive me if its not. But I would like to have a section on my site where a picture is, but i want the picture to randomly change to other pictures in my gallery every few seconds or so. How would this be done? Is it flash? Simple HLTM code? Help would be greatful!
|
|
|
|
|||
|
Re: Help Required
Kinda like slide.com... if that helps
|
|
|||
|
Re: Help Required
So how would I go about doing this? Any way to make it select a picture from my gallery at random?>
|
|
||||
|
Re: Help Required
Yeah, actionscript, my specialty!!
Tell me your flash knowledge level, that way I could better point you in the right direction. |
|
|||
|
Re: Help Required
ok.. my level is low... i've got the program, thats about it! But I can follow insturction pretty well with Macromedia applications.
|
|
|||
|
Re: Help Required
give me few minutes Bradz i have what you are looking for ok so i will send you the Code
Last edited by Aaron1988; Nov 24th, 2006 at 19:59. |
|
|||
|
Re: Help Required
<html>
<head> <SCRIPT LANGUAGE="JavaScript"> <!-- //set image paths src = ["Image Name.gif", "Image Name.gif", "Image Name.gif", "Image Name.gif"] duration = 2; //Please do not edit below ads=[]; ct=0; function switchAd() { var n=(ct+1)%src.length; if (ads[n] && (ads[n].complete || ads[n].complete==null)) { document["Ad_Image"].src = ads[ct=n].src; } ads[n=(ct+1)%src.length] = new Image; ads[n].src = src[n]; setTimeout("switchAd()",duration*1000); } function doLink(){ location.href = url[ct]; } onload = function(){ if (document.images) switchAd(); } //--> </SCRIPT> <A HREF="javascript:doLink();" onMouseOver="status=url[ct];return true;" onMouseOut="status=''"> <IMG NAME="Ad_Image" SRC="a_Submit.gif" BORDER=0> </A> Hio this javascript change anly the bits which are in red so if ur iamegs are .gif keep them as above but if there .jpg, .png etc then change the /ext above and also if you want your duration speen to increase then cahnge it from 2 to what ever number u want 2 means 2 = 2 seconds Thanx Aaron |
|
||||
|
Re: Help Required
I still think flash would be the best option, as you could do a nice fade with the images, and they are less likely to be stolen, but whatever, it is up to you.
|
|
|||
|
Re: Help Required
yes i agree with you Jacob mate buit i just thought he could test this one to see if he likes it and if he does or if he wants a much advanced one he could learn flash by searching on google or maybe get help from a generious person like you lol
Thanx Aaron |
|
||||
|
Re: Help Required
Doing a slide show in flash, is one of the easiest effects, because it's just a simple motion tween...lol
|
|
|||
|
Re: Help Required
lol yes you would say that
|
![]() |
| Tags |
| picture |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Checkbox Required | WebNinja | Starting Out | 1 | Jan 6th, 2008 00:36 |
| JSP help required | ScorpionKing | Other Programming Languages | 2 | Aug 27th, 2007 18:29 |
| PHP help required :( | mikka23 | PHP Forum | 7 | Aug 14th, 2006 09:38 |
| Script Required | asa_carter | JavaScript Forum | 0 | Jan 23rd, 2006 14:23 |
| Help required | H_Therapist | Web Page Design | 3 | Nov 9th, 2005 00:09 |