Forum Moderators: open

Message Too Old, No Replies

PC and Mac compatibility

         

ellesparkdesign

3:15 pm on Aug 31, 2004 (gmt 0)

10+ Year Member



Hi there-
I'm new to this forum but I'm hoping
to find some help. I have a similar problem
to some of the postings but reversed..kind of.
i created a site on a PC and some comments from
Mac viewers are that the site crashe, or doesn't view
properly- especially in Safari.
Should I use this same validator for the code?
Will that help?

Thanks in advance,
-elle

isitreal

3:23 pm on Aug 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



If your code validated it's not the problem.

If you are using javascript it's rare for a complex, or even simple script, to work without tweaks cross browser and cross os.

Learning how to get stuff working in macs and windows is not easy, especially if you don't have a mac test box to debug your code on.

You can somewhat emulate safari by downloading the knoppix linux cd image, burning it to a cd, booting off it, then running konqueror, which uses most of the same codebase as safari. For IE 5x mac you're out of luck, hopefully you have mac using friends who can help you debug the site, but sometimes it just isn't possible with IE 5x mac, especially javascript stuff, but also css.

ellesparkdesign

3:38 pm on Aug 31, 2004 (gmt 0)

10+ Year Member



hi there.

thank you for your reply, i appreciate it.
i think it may have something to do with the "onResize" command that i'm using to snap a layer to it's proper place if the user minimizes or maximizes the screen. I have tried using CSS and can't get it to work.

Any thoughts on the onResize command?

isitreal

5:40 pm on Aug 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yes, don't use it, users don't in general resize their windows all the time, that's just something we tend to notice when we develop a site since we are viewing it in different resolutions a lot, but most people don't do that.

You can also test the onResize in the script to escape it, like this:

if ( onResize() )
{
onResize() do whatever
}

but some browser makers have a really annoying habit of claiming to support javascript methods that they don't support, IE mac is very bad for that, Opera sometimes does that, varies browser to browser, version to version, it's why I try to use as little javascript as humanly possible on commercial stuff.