inherit
80744
0
Jul 30, 2020 4:42:38 GMT -8
Sam
504
June 2006
sheffieldbus
|
Post by Sam on Mar 10, 2012 5:13:18 GMT -8
Hi all,
Is it possible to create a simple flash banner, that would contain no more than 10 images, just constantly repeating over a set period of time?
I do have Flash installed on my PC, but have no idea how to use it unlike the other Adobe elements. Looks far too complex for my liking and therefore I was just wondering if there was an easier option available?
It's for nothing fancy, just a small number of images continually changing after a delay of 7 seconds on a repeat cycle.
Any recommendations or codes available that you are aware of?
Many thanks, Sam
|
|
inherit
136163
0
May 9, 2024 7:30:40 GMT -8
ǻñî§ђ™
597
January 2009
anish
|
Post by ǻñî§ђ™ on Mar 11, 2012 10:26:55 GMT -8
why not create an animated image?
|
|
inherit
156679
0
Oct 9, 2012 14:53:28 GMT -8
KELSEY'S GOT A GUN
1,421
July 2010
wrpg
|
Post by KELSEY'S GOT A GUN on Mar 11, 2012 14:26:44 GMT -8
Would this work? <script language="JavaScript1.2">
var howOften = 5; //number often in seconds to rotate var current = 0; //start the counter at 0 var ns6 = document.getElementById&&!document.all; //detect netscape 6
// place your images, text, etc in the array elements here var items = new Array(); items[0]="<a href='link.htm' ><img alt='image0 (9K)' src=' /Images/image0.jpg' height='300' width='300' border='0' /></a>"; //a linked image items[1]="<a href='link.htm'><img alt='image1 (9K)' src='/Images/image1.jpg' height='300' width='300' border='0' /></a>"; //a linked image items[2]="<a href='link.htm'><img alt='image2 (9K)' src='/Images/image2.jpg' height='300' width='300' border='0' /></a>"; //a linked image items[3]="<a href='link.htm'><img alt='image3 (9K)' src='/Images/image3.jpg' height='300' width='300' border='0' /></a>"; //a linked image items[4]="<a href='link.htm'><img alt='image4 (9K)' src='/Images/image4.jpg' height='300' width='300' border='0' /></a>"; //a linked image items[5]="<a href='link.htm'><img alt='image5 (18K)' src='/Images/image5.jpg' height='300' width='300' border='0' /></a>"; //a linked image function rotater() { document.getElementById("placeholder").innerHTML = items[current]; current = (current==items.length-1) ? 0 : current + 1; setTimeout("rotater()",howOften*1000); }
function rotater() { if(document.layers) { document.placeholderlayer.document.write(items[current]); document.placeholderlayer.document.close(); } if(ns6)document.getElementById("placeholderdiv").innerHTML=items[current] if(document.all) placeholderdiv.innerHTML=items[current];
current = (current==items.length-1) ? 0 : current + 1; //increment or reset setTimeout("rotater()",howOften*1000); } window.onload=rotater; //--> </script> Put that in the headers/footers area you want it to be in.
|
|
inherit
80744
0
Jul 30, 2020 4:42:38 GMT -8
Sam
504
June 2006
sheffieldbus
|
Post by Sam on Mar 12, 2012 5:48:24 GMT -8
why not create an animated image? I have no idea how to make one of those sadly. Thanks, Sam
|
|
inherit
80744
0
Jul 30, 2020 4:42:38 GMT -8
Sam
504
June 2006
sheffieldbus
|
Post by Sam on Mar 12, 2012 5:48:53 GMT -8
Would this work? <script language="JavaScript1.2">
var howOften = 5; //number often in seconds to rotate var current = 0; //start the counter at 0 var ns6 = document.getElementById&&!document.all; //detect netscape 6
// place your images, text, etc in the array elements here var items = new Array(); items[0]="<a href='link.htm' ><img alt='image0 (9K)' src=' /Images/image0.jpg' height='300' width='300' border='0' /></a>"; //a linked image items[1]="<a href='link.htm'><img alt='image1 (9K)' src='/Images/image1.jpg' height='300' width='300' border='0' /></a>"; //a linked image items[2]="<a href='link.htm'><img alt='image2 (9K)' src='/Images/image2.jpg' height='300' width='300' border='0' /></a>"; //a linked image items[3]="<a href='link.htm'><img alt='image3 (9K)' src='/Images/image3.jpg' height='300' width='300' border='0' /></a>"; //a linked image items[4]="<a href='link.htm'><img alt='image4 (9K)' src='/Images/image4.jpg' height='300' width='300' border='0' /></a>"; //a linked image items[5]="<a href='link.htm'><img alt='image5 (18K)' src='/Images/image5.jpg' height='300' width='300' border='0' /></a>"; //a linked image function rotater() { document.getElementById("placeholder").innerHTML = items[current]; current = (current==items.length-1) ? 0 : current + 1; setTimeout("rotater()",howOften*1000); }
function rotater() { if(document.layers) { document.placeholderlayer.document.write(items[current]); document.placeholderlayer.document.close(); } if(ns6)document.getElementById("placeholderdiv").innerHTML=items[current] if(document.all) placeholderdiv.innerHTML=items[current];
current = (current==items.length-1) ? 0 : current + 1; //increment or reset setTimeout("rotater()",howOften*1000); } window.onload=rotater; //--> </script> Put that in the headers/footers area you want it to be in. Should have made it clearer, it is for an external HTML website, not for the forums. Thanks, Sam
|
|
inherit
136163
0
May 9, 2024 7:30:40 GMT -8
ǻñî§ђ™
597
January 2009
anish
|
Post by ǻñî§ђ™ on Mar 12, 2012 13:10:10 GMT -8
why not create an animated image? I have no idea how to make one of those sadly. Thanks, Sam Try graphic request
|
|
inherit
80744
0
Jul 30, 2020 4:42:38 GMT -8
Sam
504
June 2006
sheffieldbus
|
Post by Sam on Mar 12, 2012 14:38:41 GMT -8
Thanks for that. Will look into it.
|
|
inherit
175138
0
Jul 15, 2014 5:51:27 GMT -8
scratchmod
122
December 2011
scratchmod
|
Post by scratchmod on Mar 21, 2012 10:15:55 GMT -8
Would like this flash banner on my proboard forum, but just read above it's not for the forums !! Is there one that I can place in my main header/footer , and where can it be placed on my forum??
Sorry to hyjack the thread with all my questions but I have been searching here for hours for codes to upgrade/improve my forum.
Thanks for any help you can give, and again sorry.
rgds scratchmod
|
|
inherit
136163
0
May 9, 2024 7:30:40 GMT -8
ǻñî§ђ™
597
January 2009
anish
|
Post by ǻñî§ђ™ on Mar 21, 2012 13:28:29 GMT -8
You want to place a flash banner in your main headers/footers?
|
|
inherit
175138
0
Jul 15, 2014 5:51:27 GMT -8
scratchmod
122
December 2011
scratchmod
|
Post by scratchmod on Mar 21, 2012 14:08:32 GMT -8
To be honest I really don't know how it works, but it would be a great addition to my forum to have images in this way, as it would take up less space.
|
|
inherit
136163
0
May 9, 2024 7:30:40 GMT -8
ǻñî§ђ™
597
January 2009
anish
|
Post by ǻñî§ђ™ on Mar 21, 2012 15:23:07 GMT -8
<embed src="URL_OF_FLASH_FILE" width="100"height="100">
Just edit the red parts.
|
|
inherit
175138
0
Jul 15, 2014 5:51:27 GMT -8
scratchmod
122
December 2011
scratchmod
|
Post by scratchmod on Mar 21, 2012 19:42:39 GMT -8
Thank you for that, very cool
scratchmod
|
|
inherit
149509
0
May 31, 2016 10:22:13 GMT -8
RADesign
328
November 2009
radesign
|
Post by RADesign on May 9, 2012 21:27:01 GMT -8
Is it possible to create a simple flash banner, that would contain no more than 10 images, just constantly repeating over a set period of time? Shouldn't be any problem. I can get you the Flash banner and a code to place it on your forum.
|
|
inherit
80744
0
Jul 30, 2020 4:42:38 GMT -8
Sam
504
June 2006
sheffieldbus
|
Post by Sam on May 16, 2012 3:46:11 GMT -8
That would be great if you could 'RADesign'. However it isn't specifically for the forum but if you could create a flash document then I would be extremely grateful. Nothing flashy just a simply rotation of images?
Thanks, Sam
|
|