 |
 |
pOP-uP'S in IE5
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jul 2001
Status:
Offline
|
|
Hi all -- I'm a windows guy seeking Mac wisdom. For a photographer's website, I'm using standard javascript pop-up windows for enlargements. You click a thumbnail and the enlargement opens in a new window defined to the image dimensions. Everything is groovy until somebody views the site with IE on a Mac. On IE for Mac, the pop-up window opens larger than the image, even though both are defined to the same pixel dimensions. THIS HAS BEEN DRIVING ME NUTS!!! *sorry for shouting*
So my latest theory about it is that Microsoft's 'Tasman' rendering engine in IE 5, which tries to imitate the dominant Windows 96ppi by tweeking Mac's native 72ppi environment, is causing my pop-up windows to scale up slightly. Make any sense? IE adds space to the right side and bottom of the image so that my background wallpaper shows through, which is very distracting. IE uses the 96ppi thing as a default and you can turn it off in preferences.
First I need to confirm that this is the source of the problem and then I need to come up with a work-around. I can detect the browser but I'm not sure about detecting the user setting.
I would really appreciate any insight you guys have to offer. If I'm way off base and the issue is some other silly thing, please let me know. You can see the problem here: http://www.lancestaedler.com
Thanks
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2000
Location: Ferndale, MI
Status:
Offline
|
|
Ran into the same problem. If you're running Dreamweaver, there is an Extension called "JustSo Picture Window" that seemed to fix the problem. You can see it in work at my site http://www.screamingfit.com .
If you don't have Dreamweaver and want the actual js that does this, let me know and I can email you the actual js file that is created.
-s'fit
|
|
"I have a lot of nightmares and I poop too much." ~Beavis
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Oct 2000
Location: Copenhagen, Denmark
Status:
Offline
|
|
I have also tried to solve that problem, but could only do it using browser specific code. I am, though, pretty sure it has nothing to do with the dpi environment.
Peter
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jul 2001
Status:
Offline
|
|
Okay, I finally solved the problem. The extra space along the right side and the bottom of the window is there for SCROLLBARS, even though no scrollbars are present! The solution is simply to specify scrollbars=no in the script.
I was a bit shocked when I finally figured this out. All the javascript tutorials I've read say that if you don't specify a window feature in a pop-up window script, the default is 'no'. If you don't ask for scrollbars or resize handles, you won't get any. If you don't specify any window features at all, you get a plain window. This is how it works with Netscape on both platforms, and with Internet Explorer on Windows. But it seems that IE on the Mac is a little different.
Conclusion: for full cross-browser compatibility, you should specify all the window features and explicitly turn off the ones you don't want.
Thanks for your replies, guys.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|