<snip/>
Do you mean embed the image inside the HTML as e.g. base-64 data?
<html>
<head>
<script language="JavaScript"><!--
function binary(d) {
var o = '';
for (var i=0; i<d.length; i=i+2) o+=String.fromCharCode(eval('0x'+(d.substring(i,i+2)).toString(16)));
return o;
}
gif = binary('47494638376120001000800000000000FFFFFF2C00000000200010000002208C 8FA9CBED0FA344A0D609019E7A47DB799938924A189A07AA9E570BC7F2BC15003B0A');
//--></script>
</head>
<body>
<img src="javascript:gif"/>
</body>
</html>
Wooooow! Awesome weird trick ;-)
works in Netscape (from 4.x to latest firebird), but doesn't work anywhere else.
[taken from http://developer.irt.org/script/955.htm]
I still have to find an equivalent way to do the above in IE, anybody?
Tried in IE6 but doesn't work...
Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com
