Some progress on this one, but now stuck again.

I managed to enable script error reporting using this:

-----------------
Close Safari and go to C:\WINNT\Profiles\<userid>\Application 
Data\Apple Computer\Safari (application data is a hidden directory)

and edit Preferences.plist in notepad or wordpad. 
        Add

        <key>IncludeDebugMenu</key>
        <true/>

Now relaunch Safari and the Debug menu will appear
Check the "Log JavaScript Exceptions" menu item in the Debug menu.
---------------

This revealed that our WebTrends script was failing

TypeError: Undefined Value
        if (top.document.cookie.indexOf("WTLOPTOUT=")!=-1){
                return;
        }

which is correct when running the SVG without a parent HTML 
document. With a parent docment an error occurs later on in the 
WebTrends script which crashes Safari (!)

Removing the WebTrends script completely, it got further, failing on 
the declaration of mapApp (carto.net routine). Upgrading to the 
newest version of the carto scripts fixed this problem, leaving me 
with no logged errors except

Null Value
layerName = evt.target.parentNode.parentNode.getAttributeNS
(null,"id");

when toggling the background map (which doens't show) or doing a 
metadata popup.

The mouseovers still don't fire and the page still relaods every 
time you do something (making it unusable).

Could it be something to with the event handler in mapApp?

Richard

--- In [email protected], "richard_smith_ons" 
<[EMAIL PROTECTED]> wrote:
>
> I'm hoping to make our Neighbourhood Statistics dynamic thematic 
map 
> (example here http://tinyurl.com/2cgws4 ) work with Safari. 
Currently 
> only IE/ASV and Firefox are supported. Safari is next then Opera.
> 
> The map renders successfully (which is a good start) but the 
> interactive content doesn't work. The mouseovers on the polygons 
do 
> not fire, and every time you click on something (e.g. a coloured 
> square to change the colour of the map) the page reloads.
> 
> Anyone got any ideas what might be happening?
> 
> Thanks
> 
> Richard
> 
> P.S. There is some conditional code in the javascript and this 
tests 
> for the Adobe Viewer, so Safari will execute the code intended for 
> Firefox native.
>




-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to