Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

How to create this

Last post 03-30-2005 4:45 PM by bernd. 20 replies.
Page 2 of 2 (21 items) < Previous 1 2
Sort Posts: Previous Next
  • 03-29-2005 5:38 PM In reply to

    • hollystyles
    • Top 150 Contributor
    • Joined on 03-22-2005
    • United Kingdom
    • Fanatic Member
    • Points 575

    How to create this

    >>correct but you also have to make sure that the server is sending the right mimetype !
    The server belongs to my ISP, how can I check what it's serving?

    Ok I have ditched the DOCTYPE, and added the namespace.

    I put the version 3.0  dll and zip in firefox's plugins dir, this stopped the plugin wizard but I just got blank page.

    I installed Adobe SVG 6.0 but this broke IE.

    So I copied the version 6.0 dll and zip to firefox and ditched the version 3 files, then uninstalled Adobe SVG 6.0 and re-installed version 3.0.

    I can browse my page fine in IE and Opera, but Firefox still just shows a blank white page.





    Holly
    ------------------------------------
    • Post Points: 5
  • Advertisement

    • Red Gate Software

    Advertisement

    Want to boost your .NET application performance?

    Some developers always seem to write efficient and lightening-fast code. What is their secret? It’s ANTS Profiler. “We improved the performance of the application up to 10 times” Dan Ports, Intrigma.

    Try it for yourself now.

  • 03-29-2005 7:24 PM In reply to

    • bernd
    • Top 50 Contributor
    • Joined on 06-12-2003
    • Guru
    • Points 2,245

    How to create this

    hi hollystyles

    >>The server belongs to my ISP, how can I check what it's serving?

    you can check with this with this simple script

    Set xml = CreateObject("msxml2.xmlhttp")
    xml.open "GET", "http://www.gadgitbox.pwp.blueyonder.co.uk/SVGViewSource001.svg", False
    xml.send ""
    msgbox(xml.getresponseheader("content-type"))

    if its an apache server, you can add a .htaccess file to your root folder containing the lines

    AddType image/svg+xml svg svgz
    AddEncoding x-gzip svgz

    concerning ASV6 well it works fine with IE6 and firefox here...

    you might be interrested in the latest mozilla with native SVG  support
    it can be downloaded here:
    ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/contrib/latest-trunk/
    just grab the file mozilla-win32-svg-GDI.zip

    if you run that build for the first time, you have to enable svg first. to do so,
    1. run mozilla
    2. type about:config in the addressfield of the browser
    3.in the appearing searchfield type svg
    4.double click on the the variable appearing to set it to true

    more info can be found here:
    http://www.mozilla.org/projects/svg/

    hth
    bernd

    • Post Points: 5
  • 03-29-2005 10:00 PM In reply to

    • hollystyles
    • Top 150 Contributor
    • Joined on 03-22-2005
    • United Kingdom
    • Fanatic Member
    • Points 575

    How to create this

    Bernd,

    Ok I have grabbed mozilla-win32-svg-GDI.zip

    I think i need some sort of install install script or bat that puts the built files where they need to be, but I'm struggling to see where I get it and how to run it. Can you point me in the right direction ?

    Holly
    ------------------------------------
    • Post Points: 5
  • 03-29-2005 11:03 PM In reply to

    • bernd
    • Top 50 Contributor
    • Joined on 06-12-2003
    • Guru
    • Points 2,245

    How to create this

    no, you dont need an installer, just unzip, then go to the folder that contains the unziped files.
    there is a file called mozilla.exe in the /bin folder . just doubleclick that file.
    • Post Points: 5
  • 03-30-2005 9:13 AM In reply to

    • hollystyles
    • Top 150 Contributor
    • Joined on 03-22-2005
    • United Kingdom
    • Fanatic Member
    • Points 575

    How to create this

    Bernd,

    Ok sorry I lied, I downloaded FIREFOX-win32-svg-GDI.zip

    Anyway there's a firefox.exe so I double clicked that, it opened a gecko browser Did the about:config thing and set svg enabled to true. Opened firefox from my regular shortcut and did about:config and the setting showed true there as well.

    I created a .htacces file in the root of my webspace (where my svg document also resides) with the two lines you specified:

    AddType image/svg+xml svg svgz
    AddEncoding x-gzip svgz

    So now when browsing http://www.gadgitbox.pwp.blueyonder.co.uk/svg.htm I get an embeded object with scroll bars, but still the text of my svg document and not the image.

    So I guess I'm still having trouble with content type ?
    Holly
    ------------------------------------
    • Post Points: 5
  • 03-30-2005 4:45 PM In reply to

    • bernd
    • Top 50 Contributor
    • Joined on 06-12-2003
    • Guru
    • Points 2,245

    How to create this

    hi hollystyles

    well yes seems to be a problem with your ISP. you should contact them, and ask them to add the correct mimetype for svg.
    as your server is still sending  text/plain . could be that its not an apache server, or they switch of that feature.
    are svg files loaded localy from hardrive being displyed correctly ?

    p.s.:if you use the firefox build, be carefull, if there is allready a firefox without  native svg running, and you click
    the firefox.exe in that bin folder, another instance of ff without svg support will be loaded.

    cheers
    bernd
    • Post Points: 5
Page 2 of 2 (21 items) < Previous 1 2