Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #8038

Anyone can help me?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail
From Pasquale <pasquale@net.com>
Newsgroups comp.lang.javascript
Subject Anyone can help me?
Date Sat, 05 Nov 2011 15:04:22 +0100
Organization Aioe.org NNTP Server
Lines 35
Message-ID <mn.2b887dbbebcf5609.92774@Kiss-the-Sphinx> (permalink)
NNTP-Posting-Host u38c6nEOODPFBGNCIsroWA.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset="utf-8"; format=flowed
Content-Transfer-Encoding 8bit
X-Complaints-To abuse@aioe.org
X-Notice Filtered by postfilter v. 0.8.2
X-Newsreader MesNews/1.08.03.00-it
X-Face 2pe`NK;kZ8{_{}rJa9C]k4C@$5g`tTe=3x5-&)z,O/;#:w1EqTvopuzrCK./nRD@]D1s"5D sx)=mo<-k}cTim6L|?.+FEuKsLfWVo|roN*2o4ucP/`)U
X-ICQ 1931503972
Xref x330-a1.tempe.blueboxinc.net comp.lang.javascript:8038

Show key headers only | View raw


anyone can help me?

--

following this script:
---------------------------------

<script type="text/javascript">

function mount()
{

var s="http://??????/???????=XXXX";
top.frames['right'].location.href=s.replace(/XXXX/i,document.forms[0].elements['field'].value);

}

</script>
------------------------------

I've created a page with an Iframe [right] and a <form> (cascade links [with  
onchange="mount()] that automatically open the link in the frame [right] every 
time I click one link.

But I would like it to be opened in a new page and I think I should change the 
"top.frames ['right']".

I think with a "window.open ['_blank']" but does not work.

I'm a beginner on Javascript. Anyone can help me?

Thanks in advance
Pasquale.

Back to comp.lang.javascript | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Anyone can help me? Pasquale <pasquale@net.com> - 2011-11-05 15:04 +0100
  Re: Anyone can help me? Luuk <Luuk@invalid.lan> - 2011-11-05 15:15 +0100
    Re: Anyone can help me? Pasquale <pasquale@net.com> - 2011-11-05 15:58 +0100

csiph-web