SunQuest
           Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 1st, 2001, 11:06 AM
gumbykrg gumbykrg is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 10 gumbykrg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry svg - scalable vector graphics viewing

I have been experimenting with SVG. When I go to a site which has examples I can view them. However when I copy the code down from those sites to my server and try to view them it does not recognize it as svg. I just see the text. I am pretty sure the code is correct, because I have only cut and pasted. Any Ideas on why I can't view pages from my own site?

example:

<?xml version="1.0" standalone="yes"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000802//EN"
"http://www.w3.org/TR/2000/CR-SVG-20000802/DTD/svg-20000802.dtd">
<svg width="5cm" height="6cm">
<desc>An SVG example</desc>
<rect style="fill:blue;" x="0.5cm" y="0.5cm" width="2cm" height="1cm"/>
<rect style="fill:green;" x="3.5cm" y="0.5cm" width="1cm" height="1.5cm"/>
<ellipse style="fill:red;" cx="2.5cm" cy="3.5cm" rx="2cm" ry="1cm" />
<text style="fill:black;" x="0.8cm" y="5.5cm">A simple SVG example.</text>
</svg>

Reply With Quote
  #2  
Old June 1st, 2001, 10:23 PM
pieux pieux is offline
Seņor Member
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2000
Posts: 1,156 pieux User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 59 sec
Reputation Power: 9
Please don't take offense to this question, but are you sure you have an SVG enabled browser?
__________________
Michael

Reply With Quote
  #3  
Old June 4th, 2001, 08:44 AM
gumbykrg gumbykrg is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 10 gumbykrg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs down svg enabled browser

Yes, for several reasons.
1. I have Internet Explorer 5.5
2. The svg tutorials I have tried have displayed correctly.


I have noticed something...

When I try to test using the test svg page on adobe, three spheres appear, but 2 of them disappear after about a second. the top 1 remains there. I have tried uninstalling and reinstalling several times, but I get the same results.

This is the test site: http://www.adobe.com/svg/viewer/install/svgtest.html

Reply With Quote
  #4  
Old June 4th, 2001, 10:12 AM
pieux pieux is offline
Seņor Member
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2000
Posts: 1,156 pieux User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 59 sec
Reputation Power: 9
Well, the reason I'm asking, is I wasn't able to look at any SVG examples on the W3C site until I downloaded the Adobe plugin (and, yes, I too am using IE 5.5). Regarding the tutorials displaying correctly, I was thinking it was possible that they were not svg code, but image files.

However, I tried out your code and IE thinks it is malformed. If you remove the two XML tags, the doctype tag, and name the file with a .svg extension, you should be able to view it. If you still can't, get the plugin.

Last edited by pieux : June 4th, 2001 at 10:14 AM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > svg - scalable vector graphics viewing


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway