Jump to content

jQuery acting slightly strange in IE6


slaterino

Recommended Posts

Hi,

I have a web page which uses the slicker and innerfade jQuery functions. These work fine together except in IE6, where the link for the slicker for some reason is not working. The button is present but the cursor does not change on hover and so there is no way of clicking it. The innerfade function works by fading through images in a list. I've noticed that when there is only one item in the list they both work correctly. It's only when another list entry gets added and the function steps into operation that it stops working. IE has error of 'Fx' is undefined, does this mean anything to anyone? If someone could provide any input on this, or even send me in the right direction on how to debug it, I would be very grateful!!!

 

Here is the relevant html. 'Slickbox' is the name of the area which appears once the 'services-button' is pressed. 'Help' is the list name used by innerfade:

<script src="<?php echo $docroot;?>js/default.js" type="text/javascript"></script>
<script src="<?php echo $docroot;?>js/jquery.js" type="text/javascript"></script>
<script src="<?php echo $docroot;?>js/jquery.innerfade.js" type="text/javascript"></script>
<script src="<?php echo $docroot;?>js/innerfade.js" type="text/javascript"></script>
<script src="<?php echo $docroot;?>js/slicker.js" type="text/javascript"></script>

</head>

<body>

<div id="slickbox" style="display: none; text-align:center">
Health | Floating Support | Training & Development | InterTrans Exchange | Star Business | Gateway Homecare
</div>

<div id="cca-content">
  <div id="top_corner">
			<ul id="help">					
				<li>
					<a href="<?php echo $docroot;?>help.php" rel="gb_page_center[640, 480]"><img src="<?php echo $docroot;?>images/help.gif" alt="Help" /></a>
				</li>
				<li>
					<a href="<?php echo $docroot;?>help.php" rel="gb_page_center[640, 480]"><img src="<?php echo $docroot;?>images/help2.gif" alt="Ayuda" /></a>
				</li>					
				<li>
					<a href="<?php echo $docroot;?>help.php" rel="gb_page_center[640, 480]"><img src="<?php echo $docroot;?>images/help3.gif" alt="Poloc" /></a>
				</li>					
				<li>
					<a href="<?php echo $docroot;?>help.php" rel="gb_page_center[640, 480]"><img src="<?php echo $docroot;?>images/help4.gif" alt="Aider" /></a>
				</li>		

			</ul>
  </div>
<div id="services-button">
<a id="slick-slidetoggle" href="#"></a>
</div>

 

Thanks

Russ

Link to comment
https://forums.phpfreaks.com/topic/120910-jquery-acting-slightly-strange-in-ie6/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.