Thread View: pl.comp.lang.javascript
2 messages
2 total messages
Started by Paveuek
Mon, 31 Dec 2001 13:54
Rozwijalne menu nawigacyjne
Author: Paveuek
Date: Mon, 31 Dec 2001 13:54
Date: Mon, 31 Dec 2001 13:54
20 lines
1420 bytes
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
Re: Rozwijalne menu nawigacyjne
Author: piosad
Date: Wed, 02 Jan 2002 13:27
Date: Wed, 02 Jan 2002 13:27
9 lines
1390 bytes
1390 bytes
> 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... zamiast "window.self.location.href = gourl" wstaw "parent.NazwaSasiedniejRamki.location.href = gourl" piosad
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads