You are here: Re: help me debug Safari « HTML « IT news, forums, messages
Re: help me debug Safari

Posted by dorayme on 05/28/07 23:13

In article
<1180392776.476856.287380@n15g2000prd.googlegroups.com>,
windandwaves <nfrancken@gmail.com> wrote:

> Hi Folk
>
> I am trying to debug my page in Safari.
>
> Please have a look at
>
> http://www.friars.co.nz/listing.php?p=ptc
>
> When clicking on the images on the right-hand-side, they open at the
> top of the page in a big size.
>
> However, in Safari the JS does not work and it opens in a new window
> (my backup for if JS does not work). I have been trying to debug this
> on a Mac + Safari, but I could not find the problem.
>
> Can you help by telling me what is wrong with the JS in Safari.
>

Same in iCab. Which reports:

http://www.friars.co.nz/s/s.css
CSS Error (204/24): Unknown CSS property opacity.
CSS Error (204/36): Unknown CSS property filter.
CSS Error (204/69): Unknown CSS property -moz-opacity.
http://www.friars.co.nz/s/map.css
CSS Error (11/77): Unknown CSS property opacity.
CSS Error (11/89): Unknown CSS property filter.
CSS Error (11/122): Unknown CSS property -moz-opacity.
CSS Error (12/84): Unknown CSS property opacity.
CSS Error (12/94): Unknown CSS property filter.
CSS Error (12/128): Unknown CSS property -moz-opacity.
http://www.friars.co.nz/listing.php?p=ptc
JavaScript Error:[object DOMException: HIERARCHY_REQUEST_ERR (3)]

If you are going to use javascript, and want the enlargements to
open without "losing" the page being looked at, quite reliable at
least for those with js enabled is, in fact to open a new window,
the size of the enlargement. If you want the code for this, ask.

Frankly, I think you should not be doing all these tricks, it
looks jerky and bad and gimmicky even when it "works" as intended.

Leave the pics on the right alone and put the captions underneath
to stay. This will stop all that dancing about there. And, either
let the enlargements open in a new "pop-up" window (the same one
can be used for all the enlargements (avoiding a proliferation of
windows) by making sure you size it for the biggest of your
enlargements or else and much simpler and better, let the
enlargements go to a different url with the user either using the
back button of the browser or else a ink back to the main page
provided by you.

--
dorayme

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация