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


Groups > comp.lang.javascript > #8042

Re: Anyone can help me?

From Pasquale <pasquale@net.com>
Newsgroups comp.lang.javascript
Subject Re: Anyone can help me?
Date 2011-11-05 15:58 +0100
Organization Aioe.org NNTP Server
Message-ID <mn.2bbe7dbb2f0b3d23.92774@Kiss-the-Sphinx> (permalink)
References <mn.2b887dbbebcf5609.92774@Kiss-the-Sphinx> <q1tfo8-bq9.ln1@luuk.invalid.lan>

Show all headers | View raw


> On 05-11-2011 15:04, Pasquale wrote:
>> 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.
>> 
>> 

> What info is missing here:
> http://www.javascript-coder.com/window-popup/javascript-window-open.phtml

Thank you soo much...

I've modified the script
Now work well and is fully customizable.. Thanks again :)

Back to comp.lang.javascript | Previous | NextPrevious 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