473,549 Members | 2,719 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using HTTPRequest to change SVG object attributes

4 New Member
Hi,

I use SVG for web-GUI, but found some serious restrictions 8-(

When I use HTML (dynamically generated from .php), I may use HTTPRequest object to provide dynamically regeneration some part of my HTML (from JavaScript).
But can`t dynamically refresh SVG, becouse SVG support only ECMAScript [ since 1999 year 8-( ] This old ECMAScript specification do not support HTTPRequest object and I can`t refresh data in my object dynamically (data for my objects dynamically generated by other .php script).
How you think, may I refresh data inside SVG object using other way?

May be I may use SVG instead HTML page like embedded object and use access to SVG object properties from JavaScript at HTML?
Like this :
[ some html file ]
<html>
<head>
<script ="javascript " >... script text .... </script>
</head>
<body>
<embed src="some.svg" width="100" height="200" />
</body>
</html>

[ some svg file ]
<svg>
<rect id="tank" x="0" y="0" width="100" height="200" fill="green" opacity="0.75" />
</svg>

I should change "height" properties of SVG "rect" object, but it`s impossible?


Do you know other way to dynamically refresh data inside SVG object?
Do you know other way to change SVG object properties with outside data using ECMAScript?

Thanks.

with best regards,
Roman Gordin.
Aug 8 '05 #1
3 5571
Roman Gordin
4 New Member
Thanks, no need to answer. Problem already resolved.
Aug 8 '05 #2
Roman Gordin
4 New Member
Opera 8.02 instead of IE 6.0 do not provide access to properties of embedded object (or I use it incorrectly? But with IE it working fine)
Aug 8 '05 #3
freeleaf
1 New Member
Hi Roman,
I have the similar situation as yours. How did you resolve your problem?
Thanks.

James
Feb 7 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

9
3790
by: Matt Eberts | last post by:
Sorry, bad title. Anyway, is there a way to pass the arguments to an object instantiated via a constructor using the arguments object and have it expanded, so to speak, so that it doesn't appear as a single argument? I'm sorry, this explanation is just atrocious, but I can't think of exactly how to word it. Maybe an example... Take for...
0
1276
by: Stephen Corey | last post by:
Can I access the PR_COMMENT field of an email using the Outlook Object Model (Using Visual C++)? I don't want to use Redemption, because I've used extended MAPI already in my VC++ project, and there's no need in purchasing that "just for" this reason. If I can't use the Outlook Object Model, how can I access PR_COMMENT from CDO? Thanks!
7
2564
by: Peter Row | last post by:
Hi, I've started work on my own control some parts of which use standard controls, others I need to draw on my controls surface to get the display output I require, however.... I seem to be stupid or missing the point. I used DrawString( ) as a simple test but I cannot get it to work at all unless I handle my custom controls Paint event.
13
1738
by: | last post by:
Simple question, I think... I'm storing an object in the Session object. In the code behind I read that object: trx = CType(Session("Transaction"), BOCSTransaction) If I change any properties, I have to store it back into the session object to "update" it, right? Or will the changes to my object automatically be saved back into the...
1
1588
by: Neko | last post by:
Using Zend and Object property/functions follow-up: With Zend, using PHP5, I am trying to acess property of an object that is stored in a member variable. I'm quite new in using PHP5 and class functions but I haven't seen anything that could answer me. Would someone please tell me what I am doing wrong or link me to somewhere I may find...
0
1140
by: Water Cooler v2 | last post by:
How do you check for the existence of new/unread email in Microsoft Outlook 2002 using the Outlook Object Model with COM Interop, and not using MAPI/CDO to go to the Exchange server? For e.g this snippet uses CDOSYS for Win NT, but I want to use the Outlook Object Model and check at the client (using the inspector/explorer object) and not...
1
1297
by: =?Utf-8?B?SHVzYW0=?= | last post by:
Hi EveryBody: Is there any way by using HttpRequest Class to control the user request ? to make my question clear for example: how can I know If the user request http://www.yahoo.com and transfer its request to http://www.google.com. any help will be appreciated
7
3401
by: Shani Aulakh | last post by:
Hi there, I have a FolderWatcher.cs class that will monitor a given folder and delete files older than X number of days. I have the following methods. I need to add/show delete mothod using date time object. public static DateTime GetRelativeDateTime(int days, int hours, int minutes) { return...
1
1115
by: pcefalu | last post by:
I am having problems modifying textbox attributes (ForeColor, BackColor, Fonts, etc) through the control properties in MS Studio 2005. I created a WebApp Client and dropped a couple of textbox and button controls on to a WebForm. I tried to modify the above mentioned attributes through the Properties Fly Out Form and was unsuccessful,...
2
5354
by: sbasavar | last post by:
Hi All, In my excel programming, I am using XML http object (MSXML2.XMLHTTP.3.0). Using this object when I try to send a request application throws an "Access is Denied" error. Strange thing here is that the request absolutely works fine on some systems with Excel 2003 and doesn't throw any error; but same patch of code throws an error...
0
7520
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7450
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7957
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7470
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6043
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5088
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3500
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.