You'll need php, pearl or a similar language.  If php, in your html you 
would have <embed name="graph" width="800" height="400" 
src="svg.php?oid=11111&style=float: left&align=left" />

The js would look something like this.
theSVC=window.document.embeds[0];
theSVG.setSrc("svg.php?oid=*&style=*&float:left=*&align=*")

tharahan wrote:

>I have an html file contains embeded svg and javascript function 
>which called by triggering an event.
>
>My problem is , I have to replace the url for fetching dynamic svg 
>from server as a stream of characters via js
>
>This is my html
>
><html>
><head>
><title>test meta</title>
></head>
><body>
>
><script>
>
>function testHTM()
>{
>  alert("HTML ");
>  // ????????????  how to replace the "src" parameter to call the url 
>with different oid
>}
></script>
>
><embed name="graph" width="800" height="400" src="http://<server-url>?
>oid=11111" style="float: left" align="left">
>
></body>
></html>
>
>Thanks
>Tharahan
>
>
>
>
>
>-----
>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 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/

<*> 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