Problem with ie 6
July 14, 2008 - 4:37pm — patuk
Am I missing something?
| Project: | jqModal |
| Version: | 2008.07.06-r13 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Thanks for this great plugin. I have been able to make it work with every browser: FF 2, FF 3, Opera 9, Safari 3 and IE 7. However when used with IE 6, I cannot make a close box show nor can I click on a link inside a jqmodal window. I am at a loss as to why this is nor working.
I have used the css file included with the plugin and the following HTML and js code:
$('#modalExtract').jqm({overlay: 1, ajax: '@name', trigger: 'a.extract', target: '.sv-content'});<div id="modalExtract" class="jqmWindow">
<input type="image" src="icons/modal_close.png" class="jqmClose" />
<div class="sv-content"></div>
</div>Am I missing something?

Comments
#1
I am sort of making progress:
By adding a div for the close box, I managed to make the close box show. However I cannot click on it.
I am using a background picture for #jqmWindow. When I remove it I can click on links and the close box. I am not sure why this is happening since obviously the image is in the background.
#2
I believe I have found "the" solution:
Do not use .png graphics with IE6. I changed the background picture from a .png to a .gif and it works. It obviously is a problem with IE6 not being able to display png files correctly. There is a jquery plugin: pngFix for IE6 that I am already using but it doesn't seem to work with jqmodal.
If you have any idea please let me know.
Thanks.