<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Problema: prendere un comando da un iframe e passarlo ad un altro]]></title><description><![CDATA[<p dir="auto">Ciao a tutti, ho un insolito problema.<br />
ho due iframe inseriti in una pagina all'interno della tabella in questa maniera:</p>
<blockquote>
<p dir="auto">&lt;table cellpadding="0" cellspacing="0" border="0"&gt;<br />
&lt;tr&gt;<br />
&lt;td rowspan="2"&gt;&lt;iframe src="sinistra.htm" width="217" height="366" border="0" frameborder="no" scrolling="no" framespacing="0"&gt;&lt;/iframe&gt;&lt;/td&gt;<br />
&lt;td rowspan="2"&gt;&lt;img src="../img/07.jpg" width="11" height="366" alt=""&gt;&lt;/td&gt;<br />
&lt;td rowspan="2"&gt;&lt;iframe src="destra.htm" width="462" height="366" border="0" frameborder="no" scrolling="no" framespacing="0"&gt;&lt;/iframe&gt;&lt;/td&gt;<br />
&lt;td&gt;&lt;img src="../img/09.jpg" width="49" height="191" alt=""&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
.<br />
.<br />
.</p>
</blockquote>
<p dir="auto">Ora l'iframe "sinistra" contiene dei link che si dovrebbero aprire nell'iframe "destra" e visto che nell'iframe non si può usare il target ho creato un file .asp che fa questo lavoro:</p>
<blockquote>
<p dir="auto">&lt;!--#include file="../Comuni.asp" --&gt;<br />
&lt;%<br />
Dim Codice<br />
Dim oggetto<br />
'***** Leggo il Template *****<br />
FileHtm = LeggiFileHtm ("destra.htm")<br />
Codice = Request.QueryString("Codice")<br />
'***** Creo l'oggetto *****<br />
oggetto = "box_lente/" &amp; Codice &amp; ".swf"<br />
'***** Scrivo il Template *****<br />
FileHtm = Replace(FileHtm, "box_lente/centro.swf", oggetto, 1, 1, 1)<br />
Response.ExpiresAbsolute = <a href="/hashtags/may">#May</a> 31,1980 13:30:15#<br />
Response.Write FileHtm<br />
Response.End</p>
<p dir="auto">%&gt;</p>
</blockquote>
<p dir="auto">Quindi in poche parole sostituisce una riga di codice html nella pagina destra con il contenuto della variabile "oggetto"<br />
A questo punto però la pagina che dovrebbe aprirsi al posto di "destra"<br />
si apre comunque nell'iframe "sinistra". Come posso fare??:(<br />
Grazie in anticipo per l'aiuto!!:o<br />
(Spero di non aver sbagliato sezione ero in dubbio se metterlo in Html o in Asp)</p>
]]></description><link>https://dev.connect.gt/topic/79318/problema-prendere-un-comando-da-un-iframe-e-passarlo-ad-un-altro</link><generator>RSS for Node</generator><lastBuildDate>Fri, 27 Nov 2026 16:52:33 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/79318.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Aug 2008 13:56:01 GMT</pubDate><ttl>60</ttl></channel></rss>