Apparently, placing the script at the bottom means it is not executed
until all the rest of the HTML has loaded, but not necessarily all the
images, while onload()only starts after everything on the page has loaded.

on

On Fri, October 9, 2009 11:18 am, Foskett, Mike wrote:
>> "Try onload() event handler"
>
> Alternatively place the script at the bottom of the page?
>
>
> mike
>
> -----Original Message-----
> From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On
> Behalf Of Stuart Foulstone
> Sent: 09 October 2009 11:00
> To: wsg@webstandardsgroup.org
> Subject: Re: [WSG] IE6 display issue
>
> 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
> *******************************************************************
>
>
> This is a confidential email. Tesco may monitor and record all emails. The
> views expressed in this email are those of the sender and not Tesco.
>
> Tesco Stores Limited
> Company Number: 519500
> Registered in England
> Registered Office: Tesco House, Delamare Road, Cheshunt, Hertfordshire EN8
> 9SL
> VAT Registration Number: GB 220 4302 31
>
>
> *******************************************************************
> 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