image flip and effects

liunx

Guest
can someone please tell me how i can add get this effect with 10 of my own images thanks ..here is the link that has the image flip and effect that i want to add to my page. <!-- m --><a class="postlink" href="http://gil.davis.home.att.net/revealtrans3.htm">http://gil.davis.home.att.net/revealtrans3.htm</a><!-- m --><!--content-->umm that page is all messed up. the script has errors and teh page is not setup correctly. it is missing body tags and html tags.<br />
<br />
hope this is not yours :P<!--content-->no its not my , buts its an example of what i want to do with my images on my page...would u know how i could do this....<!--content-->I have no idea what it is becasue it is all messed up and it doesn't work.<!--content-->It is right there in the script. Just use the script. Look at this part:<br />
for (var i=0; i<6; i++)<br />
{imgAry = new Image();<br />
imgAry.src = <!-- m --><a class="postlink" href="http://www.htmlforums.com/archive/index.php/">http://www.htmlforums.com/archive/index.php/</a><!-- m -->"picture" + (i + 1) + ".jpg";<br />
}<br />
<br />
You simply put 6 images into the folder where the script is: name them picture1.jpg, picture2.jpg,...,picture6.jpg<br />
<br />
Which rose is this ?? I can see it is a red Hybrid Tea, but which one ?? Ingrid Bergman ? Mr. Lincoln ? Royal William ? Kardinal ? Fragrant Cloud ? .. tell us !!!<br />
<br />
<br />
<head><br />
<SCRIPT><br />
var agt = navigator.userAgent.toLowerCase();<br />
var is_major = parseInt(navigator.appVersion);<br />
var is_ie = (agt.indexOf("msie") != -1);<br />
var is_ie4 = (is_ie && (is_major == 4));<br />
var is_ie4up = (is_ie && (is_major >= 4));<br />
var _filter = 23;<br />
imgAry = new Array();<br />
for (var i=0; i<6; i++)<br />
{imgAry = new Image();<br />
imgAry.src = <!-- m --><a class="postlink" href="http://www.htmlforums.com/archive/index.php/">http://www.htmlforums.com/archive/index.php/</a><!-- m -->"picture" + (i + 1) + ".jpg";}<br />
which = 0;<br />
filterAry = new Array();<br />
filterAry[0] = "DXImageTransform.Microsoft.Iris(irisstyle='SQUARE', motion='in')";<br />
filterAry[1] = "DXImageTransform.Microsoft.Iris(irisstyle='SQUARE', motion='out')";<br />
filterAry[2] = "DXImageTransform.Microsoft.Iris(irisstyle='CIRCLE', motion='in')";<br />
filterAry[3] = "DXImageTransform.Microsoft.Iris(irisstyle='CIRCLE', motion='out')";<br />
filterAry[4] = "DXImageTransform.Microsoft.Blinds(direction='up', bands=1)";<br />
filterAry[5] = "DXImageTransform.Microsoft.Blinds(direction='down', bands=1)";<br />
filterAry[6] = "DXImageTransform.Microsoft.Blinds(direction='right', bands=1)";<br />
filterAry[7] = "DXImageTransform.Microsoft.Blinds(direction='left', bands=1)";<br />
filterAry[8] = "DXImageTransform.Microsoft.Blinds(direction='right')";<br />
filterAry[9] = "DXImageTransform.Microsoft.Blinds(direction='down')";<br />
filterAry[10] = "DXImageTransform.Microsoft.CheckerBoard(direction='right')";<br />
filterAry[11] = "DXImageTransform.Microsoft.CheckerBoard(direction='down')";<br />
filterAry[12] = "DXImageTransform.Microsoft.RandomDissolve";<br />
filterAry[13] = "DXImageTransform.Microsoft.Barn(orientation='vertical', motion='in')";<br />
filterAry[14] = "DXImageTransform.Microsoft.Barn(orientation='vertical', motion='out')";<br />
filterAry[15] = "DXImageTransform.Microsoft.Barn(orientation='horizontal', motion='in')";<br />
filterAry[16] = "DXImageTransform.Microsoft.Barn(orientation='horizontal', motion='out')";<br />
filterAry[17] = "DXImageTransform.Microsoft.Strips(motion='leftdown')";<br />
filterAry[18] = "DXImageTransform.Microsoft.Strips(motion='leftup')";<br />
filterAry[19] = "DXImageTransform.Microsoft.Strips(motion='rightdown')";<br />
filterAry[20] = "DXImageTransform.Microsoft.Strips(motion='rightup')";<br />
filterAry[21] = "DXImageTransform.Microsoft.RandomBars(orientation='horizontal')";<br />
filterAry[22] = "DXImageTransform.Microsoft.RandomBars(orientation='vertical')";<br />
filterAry[23] = "";<br />
var obj = null;<br />
<br />
function getRandom() {<br />
return Math.floor(Math.random() * 23);<br />
}<br />
<br />
function igo() {<br />
which = (which + 1) % imgAry.length;<br />
if (is_ie4up)<br />
{if (document.getElementById)<br />
{if (_filter == "23")<br />
{obj.style.filter = "progid:" + filterAry[getRandom()];}<br />
else<br />
{obj.style.filter = "progid:" + filterAry[Number(_filter)];}<br />
}<br />
else<br />
{obj.filters.revealTrans.transition = _filter;}<br />
obj.filters[0].Apply();<br />
obj.src = <!-- m --><a class="postlink" href="http://www.htmlforums.com/archive/index.php/imgAry">http://www.htmlforums.com/archive/index.php/imgAry</a><!-- m -->[which].src;<br />
obj.filters[0].Play();}<br />
else<br />
{document.i1.src = <!-- m --><a class="postlink" href="http://www.htmlforums.com/archive/index.php/imgAry">http://www.htmlforums.com/archive/index.php/imgAry</a><!-- m -->[which].src;}<br />
setTimeout("igo()", 2000);<br />
}<br />
<br />
function start() {<br />
if (is_ie4up)<br />
{if (document.getElementById)<br />
{obj = document.getElementById("i1")<br />
obj.style.filter = "progid:" + filterAry[getRandom()];}<br />
else<br />
{obj = document.all["i1"];<br />
obj.style.filter = "revealTrans(duration=1, transition=23)";}<br />
}<br />
setTimeout("igo()", 1000);<br />
}<br />
<br />
function changeFilter(it) {<br />
_filter = it.options[it.selectedIndex].value;<br />
}<br />
</SCRIPT><br />
</head><br />
<body onload="start()"><br />
<table width=100% height=100%><br />
<tr valign="center"><br />
<th><img name="i1" id="i1" src=http://www.htmlforums.com/archive/index.php/"picture6.jpg"></th><br />
</tr><br />
</table><br />
</body><!--content-->Not sure what roses they are kdjoergensen not my page i just like the effect..Thanks for helping me out with the last post..Just 2 other questions if i may if i wanted to only have 1 effect on the pictures not 23 randon ones as it current is how would i do this and which part do i edit to incress the time intervals say to 3 secs between each picture b4 the next picture loads........ thanks<!--content-->
 
Back
Top