Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE 7.0.6000.15xxx vs 7.0.6000.16xxx & Javascript 1

Status
Not open for further replies.

wendyp

IS-IT--Management
Mar 4, 2003
51
US
Hi - so frustrated with IE!

I have a form: (it's not live, so go ahead and fill it in with gibberish if you want to see what it's doing)

I am using IE 7.0.6000.1575 and it works perfectly.

My customer however is using a LATER version (7.0.6000.166xx) and when he clicks the calendar, the boxes it covers disappear and then he has to go back
and reenter the data.

Someone using 7.0.5xxxx tried it and while the boxes disappear, when they click on a date on the calendar (and the calendar then goes away) the boxes reappear and still have the data filled in. So that's annoying, but not a problem.

Why is a later version working worse than previous versions? And what can I do? Thanks for any tips.

/Wendy
 
You'd need to debug the "Calendar.prototype.hideShowCovered" method at line 1462 in calendar.js.

As far as I can tell, its job is (in IE) to hide any select elements that are covered by the calendar, and to show ones that the calendar is no longer covering.

It is called when any rendering operations (show, hide, drag, etc) are are completed.

You can debug JS in IE using several products, including Microsoft's free Script Debugger (search on Google for this), or their free Visual Web Developer 2008 package:


There's a good article here about how to debug JavaScript using it :


Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Yes - the problem is solved. Thanks to your hint about the Javascript code needing help, I found a different calendar script that works much better.


It is a little harder to setup - uses external mootools library, but it seems to be very stable in every environment we tried.

Thanks for the tip.

/Wendy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top