$(document).ready(function () { $('image').each(function () { var src = $(this).attr('xlink:href'); var width = $(this).attr('width'); var height = $(this).attr('height') var x = $(this).attr('fdtactualx'); var y = $(this).attr('fdtactualy'); $('#text').append('<div style="position: absolute; top:' + y + 'px; left:' + x + 'px;"><img src="' + src + '" height="' + height + 'px" width="' + width + 'px" border="0" /></div>'); }); });
<div style="removed: absolute;"/>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)