Try onload() event handler, see:

http://javascript.about.com/library/bltut31.htm


On Fri, October 9, 2009
6:55 am, Western Web Design wrote:
> Kepler Gelotte wrote:
>>> In IE6, although the image fades and replaces etc, the #header is
>>> enlarged to accommodate all 4 images though three remain hidden.
>>>
>>
>> Hi,
>>
>> I suspect that the javascript is executing before the page has fully
>> loaded
>> so the images are not able to be "stacked" by the javascript function.
>> To
>> make sure your page has fully loaded try using the document.ready
>> function
>> of jquery:
>>
>> <SCRIPT type="text/javascript">
>> $(document).ready(function() {
>>      $('#pics').cycle({
>>          fx:    'fade',
>>          speed:  2500,
>>              timeout: 5500,
>>          random: 1,
>>          pause:  1
>>      });
>> });
>> </SCRIPT>
>>
>> If that still doesn't work, try moving the javascript after the </body>.
>>
> Have tried both to no avail.  You sound like you are on the right track,
> though.  Thanks!
>
>
> --
> Lyn Smith
>
> www.westernwebdesign.com.au
>
> Affordable website design  Perth WA
>
>
>
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: memberh...@webstandardsgroup.org
> *******************************************************************




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to