Article View: a2000.html
Article #164vraag over pulldown menu
From: Hans
Date: Sun, 25 Mar 2001 10:02
Date: Sun, 25 Mar 2001 10:02
66 lines
3431 bytes
3431 bytes
Op de volgende pagina, staat een pulldown menu. (
http://duveltje.nl/content/titels.htm ).
Daar heb ik 2 vragen over:
1) in de bron, kun je zien dat de url's in dat menu als complete url staan,
dus niet als interne url. Toch wil ik dat het als interne url (dus
zonder..http//etc...) er in staat. O.a. omdat Picosearch anders de
betreffende pagina's niet update. Als ik dat doe, dan werkt dat menu niet.
Wat doe ik fout? Of kan het niet zoals ik wil.
2) ondanks dat ik zowel het standaard doelframe van de pagina, als dat van
dat pulldown menu heb gezet op "_blank", dus nieuw venster, opent hij toch
alles in hetzelfde frame en dat wil ik dus niet. Het gaat mij hier met name
om de keuze's vanuit het pulldown menu. Wie weet raad?
Voor wie geen zin/tijd heeft de betreffende pagina te bezoeken, volgt hier
het ter zake doende javascript.:
----------------
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function formHandler(form){
var URL =
document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}
// End -->
</SCRIPT>
<base target="_blank">
<knip>
<div align="center">
<form name="form" target="_blank">
<select name="site" size=1 onChange="javascript:formHandler()">
<option selected>Maak een keuze...
<option value="http://www.duveltje.nl/content/stripboeken.htm">Strips
<option value="http://www.duveltje.nl/content/kinderboeken.htm">Kinderboeken
<option value="http://www.duveltje.nl/content/literatuur.htm">Literatuur
&
Boekenweek
<option value="http://www.duveltje.nl/content/sport.htm">Sport
<option value="http://www.duveltje.nl/content/kunst_cultuur.htm">Kunst &
Cultuur
<option value="http://www.duveltje.nl/content/geschiedenis.htm">Geschiedenis
<option value="http://www.duveltje.nl/content/topografie.htm">Topografie
<option value="http://www.duveltje.nl/content/mens_maatschappij.htm">Mens
&
Maatschappij
<option value="http://www.duveltje.nl/content/natuur.htm">Natuur
<option value="http://www.duveltje.nl/content/hobby.htm">Hobby
<option value="http://www.duveltje.nl/content/vervoer.htm">Vervoer
<option value="http://www.duveltje.nl/content/varia.htm">Varia
<option value="http://www.duveltje.nl/content/cds.htm">CD's</option>
</select>
</form>
</div>
-------------------
alvast bedankt voor de antwoorden,
Hans,
www.duveltje.nl
Technical Details
Message-ID:
<99kfm6$d4u$1@boile.a2000.nl>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!amsnews01.chello.com!pascal.a2000.nl!newsfeed.a2000.nl!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: 10f4ff,532a5afa21217b56,start X-Google-Attributes: gid10f4ff,public X-Google-Thread: 10b08a,532a5afa21217b56,start X-Google-Attributes: gid10b08a,public X-Google-ArrivalTime: 2001-03-25 02:04:52 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!amsnews01.chello.com!pascal.a2000.nl!newsfeed.a2000.nl!not-for-mail From: "Hans" <hammie@chello.nl> Newsgroups: a2000.html,nl.internet.www.ontwerp Subject: vraag over pulldown menu Date: Sun, 25 Mar 2001 12:02:42 +0200 Organization: A2000 Kabeltelevisie en Telecommunicatie Lines: 69 Message-ID: <99kfm6$d4u$1@boile.a2000.nl> NNTP-Posting-Host: node100d.a2000.nl X-Trace: boile.a2000.nl 985514502 13470 62.108.16.13 (25 Mar 2001 10:01:42 GMT) X-Complaints-To: abuse@a2000.nl NNTP-Posting-Date: 25 Mar 2001 10:01:42 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400