Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #8039
| Date | 2011-11-05 15:15 +0100 |
|---|---|
| From | Luuk <Luuk@invalid.lan> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Anyone can help me? |
| References | <mn.2b887dbbebcf5609.92774@Kiss-the-Sphinx> |
| Message-ID | <q1tfo8-bq9.ln1@luuk.invalid.lan> (permalink) |
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
--
Luuk
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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