Una paridita de 5 segundos...
os dejo este código de html que igual le vale a alguien... es una paridita que sirve para abrir una imagen (sobre todo para ventanas) que se le pasa por query a un html, con el parametro "img"... verimg.html?img=miimagen.jpg (por ejemplo)
es util en el caso de no tener PHP...
<code><html>
<head>
<title>OPEN IMG</title>
</head>
<body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" style="background:#FFFFFF; border:0px; margin:0px;">
<script><!--
/*
MISC FUNCTIONS addon v.1.0
Req: genLIB [ GNU LGPL license ] : www.microbians.com
*/
parseQuery=function() {
var a=[]
var query=location.search.substring(1);
var pairs=query.split("&");
for(var i=0; i<pairs.length; i++) {
var pos=pairs[i].indexOf('=');
if (pos==-1) continue;
var argname=pairs[i].substring(0,pos).toLowerCase();
var value=pairs[i].substring(pos+1);
a[argname]=unescape(value);
}
a['length']=pairs.length
return a
}
query=parseQuery()
document.write('<img src="'+query.img +'" border="0">')
-->
</script>
</body>
</html>
</code>
joshuatree
Bueniiiisimo. Ya tengo una idea de donde aplicarlo, thx Gabriel!