🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #183

Rozwijalne menu nawigacyjne

#183
From: Paveuek
Date: Mon, 31 Dec 2001 13:54
20 lines
1420 bytes
Cześć. Proszę o pomoc...
Jest sobie taka tablica wyboru umieszczona w ramce:

<script language="JavaScript">
function selecturl(s) {
var gourl= s.options[s.selectedIndex].value; window.self.location.href =
gourl;
}
</script>
<form>
<select name="urljump" OnChange="selecturl(this)">
<option value="http://bleble.ble"> Bleeeee </option>
</select>
</form>

Czy ktoś mógłby mi napisać co mam z tym zrobić, żeby linki nie otwierały się
w tej samej ramce tylko w sąsiedniej? (jest na tym samym poziomie w
hierarchii). Kompletnie się nie znam na JS...

Paveuek
Technical Details
Message-ID: <a0pquv$3nq$1@news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!warszawa.rmf.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!warszawa.rmf.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail
From: "Paveuek" <paveuek@interia.pl>
Newsgroups: pl.comp.lang.javascript
Subject: Rozwijalne menu nawigacyjne
Date: Mon, 31 Dec 2001 14:54:38 +0100
Organization: tp.internet - http://www.tpi.pl/
Lines: 21
Message-ID: <a0pquv$3nq$1@news.tpi.pl>
NNTP-Posting-Host: pq6.warszawa.cvx.ppp.tpnet.pl
Mime-Version: 1.0
X-Trace: news.tpi.pl 1009807135 3834 217.99.0.6 (31 Dec 2001 13:58:55 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Mon, 31 Dec 2001 13:58:55 +0000 (UTC)
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MSMail-Priority: Normal
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit