Ver Mensaje Individual
  #7 (permalink)  
Antiguo 11/06/2002, 17:48
itatpc
Invitado
 
Mensajes: n/a
Puntos:
Re: eliminar un frame, dejar otro

Código:
open(SLOG,">$log") or error("Cannot save log : $!");
foreach $key(@keys)
{
print SLOG qq~$key|$linker_array{$key}\n~;
}
close(SLOG);

return;
}
sub show_topframe{
print "Content-type: text/html\n\n";
foreach $r (@framehtml) {$r =~ s#\$in\{\'(.*?)\'\}#$in{$1}#gsi; print $r;}
exit; 
}

#################################################################################
# Modify top frame HTML here!
#
# You can use any additional variables. Example
# Call the script - http://mydomain.com/cgi-bin/frames.cgi?url=http://www.yahoo.com&return=http://www.mydomain.com
#
# After it return variable will be accessible here as $in{'return'}
# using this rule, you can use unlimited additional values for top frame
# Please modify html after __END__. string. 
#######################################################################################
__END__.
<html>
<head>
<title>Marco superior de sitio.com</title>
<link rel="stylesheet" href="http://www.sitio.com/a-estilos.css" type="text/css">
<script language="javascript" type="text/javascript">
<!--
function favoritos()
{
if (window.external)
external.AddFavorite("$in{'url'}", "$in{'url'}")
else
alert("Lo siento, pero tu navegador no soporta esta característica. Debes añadir el sitio a tus favoritos manualmente o pulsando Ctrl+D.");
}
// -->
</script>
</head>
<body onmouseover="window.status='sitio'; return true;" bgcolor="#990066">
<script language="JavaScript" src="http://www.sitio.com/a-funcionesSIN.js" type="text/javascript"></script>
<table border="0" cellpadding="0" cellspacing="1" width="100%" bgcolor="black">
<tr>
<td bgcolor="#666666" style="text-align:center;"><p><b>sitio.com</b> no se hace responsable del contenido de este sitio - <font color="black">»</font> <a href="javascript:favoritos();" class="menu">Añadir a Favoritos</a> <font color="black">»</font>
sigue...