Even stranger.

 

I went back to another site where I have the cycle plug-in successfully
running

on IE and FF to retrieve the versions of jquery core and cycle plug-in that
are working.

 

I put those into the site at www.holtzmanrealestate.com and I get the same
problem

as before.

 

'jQuery' is undefined (line 10 of jquery.cycle.2.03.pack.js)

and
'jQuery' is undefined (line 90 www.holtzmanrealestate.com, which refers to
the

cycle plug-in script as defined below.)

 

What could possibly be the issue?

 

Rick

 

From: Rick Faircloth [mailto:r...@whitestonemedia.com] 
Sent: Friday, November 20, 2009 11:36 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Why would jQuery be undefined in IE, but not FF???

 

Hi, all.

 

Anyone have any idea about this?  First time I've seen it.

 

I using Mike Alsup's cycle plug-in to cross fade three photos.

When I first set this up, it worked fine in IE and FF.

 

Now, however, the code only works in FF.  IE7 & IE8 (at a minimum),

return the error messages:

 

'jQuery' is undefined

jquery.cycle.all.2.65.min.js (line 16)

 

Line 16 refers to the first line of code in jquery.cycle.all.2.65.min.js,
that starts:

;(function($){var
ver="2.65";if($.support==undefined){$.support={opacity:!($.browser.msie)};}f
unction log(){if(window.console&&window.console.log){ etc.

 

The next error message returned by IE is:

'jQuery' is undefined

www.holtzmanrealestate.com (line 85)

That's referencing this code on index.cfm:

 

                <script type="text/javascript">

                                

                                $(document).ready(function(){

 

                                                $('#photoMontage').cycle({

                                                                fx: 'fade',

                                                                speed: 2000,

                                                                timeout:
6000

                                                });

                                });

                

                </script>

 

Again, this code works fine in FF and did in IE when I first wrote the code

and created the site.

 

The HTML looks like this for the photos cycling:

 

                <div id="photoMontage">

 


                                <img src="graphics/rotation_01.jpg"
width="860" height="425" />

                                <img src="graphics/rotation_02.jpg"
width="860" height="425" />

                                <img src="graphics/rotation_03.jpg"
width="860" height="425" />                           

 

                </div>

 

In IE, the first photo above shows, then nothing else happens except the
error

message in the lower right corner of the browser window.

 

Anyone know of anything that could be happening to cause this?

 

Thanks,

 

Rick

 

----------------------------------------------------------------------------
---------------------------------------

"Those who hammer their guns into plows will plow for those who do not."  -
Thomas Jefferson

 

Reply via email to