PDA

View Full Version : A script used to work in IE 5.5 now it does not


anilbh
09-18-2002, 02:25 AM
Sub : Problem with Internet Explorer 5.5


Hello,

Machine details : SIS 530 board, AMD K6-II,Win 98 , 64 MB, Internet Explorer 5.5.

The Problem
The script which I have given below( I got this form Acehtmlpro 4.0) has stopped working.
This had happened once before but had got cured on its own , now however the problem seems to be permanent.
The following script show 3 pictures which replace each other by blending gradually.
How do I go about correcting this .
By the way Netscape 4.75 shows the 3 pictures
but they just snap there is no blending.

Any one had a similar problem.

You could check this out at http://meerutup.tripod.com/meerut8.htm
Maybe they will operate properly with your browser.
It does not function with mine.

Anil Bhattacharji

anilbh@w3c.com
anilbhx@yahoo.co.in


<script language="JavaScript1.2">

/*
Blending Image Slide Show Script-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
function reapply(){
setTimeout("slideit()",2000)
return true
}
window.onerror=reapply
</script>
<script language="JavaScript1.1">
<!--
var image1=new Image()
image1.src="mall-1.jpg"
var image2=new Image()
image2.src="mall-2.jpg"
var image3=new Image()
image3.src="mall-4.jpg"
//-->
</script>

</head>
<body leftmargin="25" marginwidth="25" text="#000000" bgcolor="#FFFFC0" link="#0000FF" vlink="#800080" alink="#FF00FF" background="canvas2.jpg" onLoad="slideit()">
<script>
<!--
////change number of images below
var number_of_images=3
//change speed below (in seconds)
var speed=1
var step=1
var whichimage=1
function slideit(){
if (!document.images)
return
if (document.all)
slide.filters.blendTrans.apply()
document.images.slide.src=eval("image"+step+".src")
if (document.all)
slide.filters.blendTrans.play()
whichimage=step
if (step<number_of_images)
step++
else
step=1
if (document.all)
setTimeout("slideit()",speed*1000+3000)
else
setTimeout("slideit()",speed*1000)
}
//-->
</script>

<center><font face="times new roman"><font size=-2>Pictures on this Page:
3 Use PageUp/PageDown Keys. </font></font>
<p>
<hr SIZE=3 WIDTH="73%"></center>
<img SRC="mall-4.jpg" name="slide" hspace=10 VSPACE=7 BORDER=5 height=324 width=496 align=RIGHT style="filter:blendTrans(duration=3)"></body>
</html>

Roy Sinclair
09-18-2002, 02:22 PM
It works for me using IE 6.0 but since it's a Dynamic Drive script you are working with you should have posted in that forum.

anilbh
09-18-2002, 04:05 PM
I am new here joined yesterday.
Only now I noticed that that there is separate area for dynamic drive scripts.

Anil:(

Roy Sinclair
09-18-2002, 05:21 PM
As I said, the script worked fine for me with IE 6 so it's more likely a problem with the version of IE you're using or something else in your system is interfering somehow. If you have access to another machine you should check the page there also.

Philip M
09-18-2002, 06:18 PM
It's working fine for me with IE5.5.