Re: [Proto-Scripty] Prototype Fade Code Not Working in IE10

618 views
Skip to first unread message

Jason Westbrook

unread,
Jan 6, 2013, 11:15:30 AM1/6/13
to prototype-s...@googlegroups.com

Firstly I'm using IE 10 and the fade effect is working for me

also I still see 1.6.0.3 prototype and 1.8.2 scriptaculous

also I get a javascript error on this bit of code

<div>
<!-- PHP should replace this image with the default image that should go in the portal when JS is turned off -->
<!-- Quotes are already included around the image source since it is necessary for the JS array created -->
<img id="ir_default" src="" 
style="cursor: pointer; cursor: hand;" onclick = "window.location = " 
/>

<!-- Show text if any -->
</div>

in the <img the onclick - window.location needs to be set to something - or take it out




Jason Westbrook | T: 313-799-3770 | jwest...@gmail.com


On Sat, Jan 5, 2013 at 11:20 AM, Alan Owen <hermon...@gmail.com> wrote:
Hi!
 
I apologize if i'm vague in my message as I'm not really a programmer. I am running a website at http://www.mariyalivchikova.com . The page here http://www.mariyalivchikova.com/russian/index2.php , the top banner is supposed to fade to a new image every 4 seconds. On IE 9 and all earlier versions of IE, Firefox, and other known browsers, it works fine. However, on IE 10, the fade effect doesn't work. The image changes, but without the fade.
 
It will work if I fall back to compatibility view, but I'm hoping to avoid this just so the code is natively compatible with the newer IE.
 
I am quite certain the code is using prototype to support the image fading. I upgraded to the latest prototype, version 1.7.1 knowing that there's code changes that's supposed to make this effect work in IE 10. I went ahead and upgraded the latest scriptaculous as well. I did find the steps on this page (

https://prototype.lighthouseapp.com/projects/8886-prototype/tickets/1278-ie-detection-and-opacity)

, but the lines they reference aren't the same and even when I found the lines and applied the revision, it made no difference.

 
I'm guessing that the newer version I applied of prototype does fix the issue, but I may need to revise the code on my page to utilize the feature.
 
Can anyone help me identify why the fade effect does not work in IE10?
 
Thank you!
 
Alan Owen

--
You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group.
To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/AiA5KVabvJwJ.
To post to this group, send email to prototype-s...@googlegroups.com.
To unsubscribe from this group, send email to prototype-scripta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.

Alan Owen

unread,
Jan 20, 2013, 7:53:03 PM1/20/13
to prototype-s...@googlegroups.com
Thank you! That was my mistake. I uploaded a local copy of scriptaculous and prototype on my sites, but forgot that I was linking to the version on the remote server. I also removed the tag you mentioned was causing the javascript error from all of the pages.

It's working great now!

Alan
To unsubscribe from this group, send email to prototype-scriptaculous+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages