|
|
|
Junior Member
      
Group: Customers
Last Login: 4/1/2007 3:55:59 AM
Posts: 17,
Visits: 47
|
|
Firstly - congratulations on the beta product and the excellent report generator. I have seen a number of posts relating to the SVG viewer with Firefox and unfortunately I don't seem to have had the same experience as others. It works great with IE but Firefox continually asks me what to do with the file (download, run etc) whenever the pane with the family tree diagram is opened. I'm using firefox 1.5.0.1 the latest version. its supposed ot have the SVG built in but it doesnt seem to work native or with the Adobe addin. Has anyone else had this problem - it's not just one PC either, I have several with the same problem. Any help would be appreciated.
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Yesterday @ 8:26:39 PM
Posts: 3,314,
Visits: 13,223
|
|
Ron is the guru on this issue. I remember him telling me about all the problems he encountered with SVG for various versions of browsers and operating systems... Since then, I forgot the specific details so I cannot give you a reply myself.
"Nothing can stop an idea whose time has come" Victor Hugo, 1852. "Peace, Prosperity and Liberty" - Ron Paul for President. http://www.RonPaul2008.com/
|
|
|
|
|
Forum Master
      
Group: Customers
Last Login: Yesterday @ 5:31:17 PM
Posts: 993,
Visits: 4,478
|
|
111774 (2/10/2006) I have seen a number of posts relating to the SVG viewer with Firefox and unfortunately I don't seem to have had the same experience as others. It works great with IE but Firefox continually asks me what to do with the file (download, run etc) whenever the pane with the family tree diagram is opened. I'm using firefox 1.5.0.1 the latest version. its supposed ot have the SVG built in but it doesnt seem to work native or with the Adobe addin. Has anyone else had this problem - it's not just one PC either, I have several with the same problem. Any help would be appreciated.Could you check that the Firefox built-in SVG plugin is enabled? To do this type about:config in the Firefox address bar and click the GO button. A list of the Firefox preference settings is displayed. Scroll down to the svg.enabled line and check it is on, i.e. 'true', if not double click the line to toggle it. Also the report must have been generated using GenoPro Beta 15 or above, preferably the latest Beta 15f.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
|
|
Junior Member
      
Group: Customers
Last Login: 4/1/2007 3:55:59 AM
Posts: 17,
Visits: 47
|
|
| Ok - I have checked that Firefox SVG is enabled. This obviously happens by default on install. I have tried all options a) built in SVG (b) Adobe addin (c) both . The outcome seems the same it asks me what I want to do with the file or Firefox hangs. It doesn't seem consistent - I have on one occasion got a map diagram but it would not move or scale. I'm running XP SP2 plus latest patches. This of course may be a Firefox problem rather than Genopro!! I think I will try to find some other SVG application and see how Forefox behaves. I notice that the SVG files have the extension SVGZ - is it possible that Firefox will only deal with SVG extensions? which is why it asks what I want to do with the file?
|
|
|
|
|
Forum Master
      
Group: Customers
Last Login: Yesterday @ 5:31:17 PM
Posts: 993,
Visits: 4,478
|
|
This is puzzling me. When viewing a report from a local disc in Firefox it should open the uncompressed SVG files i.e. .svg not .svgz. The skin template genomap.htm contains the following lines var agt=navigator.userAgent.toLowerCase(); is_ie=(agt.indexOf("msie")!=-1); <%[ Report.WriteFormattedLn "var strFileSvg='{}';", strFileSvgIf Report.Parameters("fCompressSvg")="Y" Then Report.WriteLn "if (is_ie || document.location.href.indexOf('file://')==-1) strFileSvg = '../genomapsz/' + strFileSvg + 'z';" End If
| that should generate each genomapn.htm file with the lines var agt=navigator.userAgent.toLowerCase(); is_ie=(agt.indexOf("msie")!=-1); var strFileSvg='genomapn.svg'; if (is_ie || document.location.href.indexOf('file://')==-1) strFileSvg = '../genomapsz/' + strFileSvg + 'z';
| that I think should mean that .svgz is only used for IE or when the URL doesn't contain file://. Could you add the line | alert('agent:'+agt+' href:'+document.location.href); | after | is_ie=(agt.indexOf("msie")!=-1); | in your skin template genomap.htm file and then generate the report, access the SVG and let me know what the alert dialog box contains?
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
|
|
Forum Newbie
      
Group: Customers
Last Login: 3/25/2006 7:08:46 AM
Posts: 2,
Visits: 15
|
|
Hi Ron, my experience has been the same. A locally hosted report displays the svg fine in firefox. However, when it is remotely hosted Firefox tries to save the .svgz file. When I added in
| alert('agent:'+agt+' href:'+document.location.href); |
I got this alert
agent:mozilla/5.0 (windows; u; windows nt 5.1; en-us; rv:1.8.0.1) gecko/20060111 firefox/1.5.0.1 href:http://lucasreunion.up.md/genomaps/genomap0.htm?x=-2860,y=-150,highlight=true |
after which Firefox wishes to save the genomap0.svgz again
Ripp
|
|
|
|
|
Forum Master
      
Group: Customers
Last Login: Yesterday @ 5:31:17 PM
Posts: 993,
Visits: 4,478
|
|
114817 (2/14/2006)
Hi Ron, my experience has been the same. A locally hosted report displays the svg fine in firefox. However, when it is remotely hosted Firefox tries to save the .svgz file. Ripp Your problem is that your Apache Web Server is not correctly configured for serving .svgz pages. It is serving them with Content-Type: text/plain and without any Content-Encoding: header. Visit http://wiki.svg.org/index.php?title=Server_Configuration for instrutions on how it should be configured. Alternatively you can try generating your report with just uncompressed .svg images that will be slower to download. To do this change the skin template file Config.xml parameter fCompressSvg="Y" to fCompressSvg="N" and then generate the report again. Your Web Server may still need configuring for .svg pages.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
|
|
Forum Newbie
      
Group: Customers
Last Login: 3/25/2006 7:08:46 AM
Posts: 2,
Visits: 15
|
|
| Yes that helps me, Thanks
|
|
|
| | |