Wrox Programmer Forums
|
BOOK: Beginning JavaScript and CSS Development with jQuery
This is the forum to discuss the Wrox book Beginning JavaScript and CSS Development with jQuery by Richard York; ISBN: 9780470227794
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning JavaScript and CSS Development with jQuery section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 6th, 2010, 01:37 AM
Friend of Wrox
 
Join Date: Dec 2008
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts
Default Firefox shows GIF about half of the time - randomly

I use jquery blockUI plugin to block pages when necessary. I use a GIF image for the block message, and you can check out the demo for blockUI to understand what I am doing, which is very similar to demo - shows GIF + message.

My page worked fine with IE8 and Opera 10, and the GIF image shows up every time as expected. However with Firefox 3.6 (and Chrome), the GIF image only shows up half of the time, even for the same page - the issue appear to be quite random and at the same time easily repeatable. (Note: the jquery blockUI demo page works with firefox and works all the time - but that demo page is very simple.)

The path to the image is for sure correct, otherwise the image will never show (instead of showing randomly).

Any insight? any similar experience? solution?
 
Old April 6th, 2010, 03:09 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

It would probably be helpful if you could a) show us your code, and b) let us see the GIF.
__________________
/- Sam Judson : Wrox Technical Editor -/

Think before you post: What have you tried?
 
Old April 6th, 2010, 10:06 AM
Friend of Wrox
 
Join Date: Dec 2008
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts
Default

Here is one of the GIF we tried: http://jquery.malsup.com/block/busy.gif. We also tried several other GIF, and none of them worked.

With the above mentioned GIF, we tried: 1) leave it on the jquery site and specify the full path to it, and 2) download it to our IIS. Both had the same issue.

I will post the code in next couple of hours, once I am in office.
 
Old April 6th, 2010, 02:08 PM
Friend of Wrox
 
Join Date: Dec 2008
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts
Default

This issue has been resolved by having the GIF on the page initially as hidden.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Select nodes randomly carlosaml XSLT 3 October 17th, 2007 10:18 AM
Half Perforation Paper Settings kamrans74 VB How-To 1 April 13th, 2007 01:41 AM
Half the code in Access 2000 VBA doesn't work disruptivehair BOOK: Beginning Access VBA 0 December 26th, 2005 02:21 PM
Executing script automatically every half an hour saads90 Pro JSP 0 November 9th, 2005 10:20 AM
Using Datepart to get half an hour precision venomm Access 2 March 16th, 2005 10:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.