:: Forum >>

adding a personal image into a grid!

I know that it's possible to add an image to html page via XML and with JAVASCRIPT, but I don't know how to do that ! I set my XML like this :

<?xml version="1.0" encoding="iso-8859-1"?>
<employees xmlns="http://www.foo.com/employees">
<employee id="123456">
<phone>(415) 333-0235 </phone>

and the JAVASCRIPT file like this :


img= new Image()

and I added those two lines to the head of my html file :

<script type="text/javascript" src="img.js"></script>

var dsEmployees = new Spry.Data.XMLDataSet("employees-01.xml", "employees/employee");

Can any body help on that ?
Tuesday, January 29, 2008

This topic is archived.

Back to support forum

Forum search