Re: drop-down list question..
| From: | Marek Kilimajer | Date: | Thu, 22 May 2003 17:33:59 +0000 |
| Subject: | Re: drop-down list question.. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148587@lists.php.net to get a copy of this message | ||
maybe something like this:
<select onchange="window.location.href = this.options[this.selectedIndex].value">
<option value="sight-2.php">Next</option>
<option value="europa.php">EUROPA Series</option>
<option value="rostock.php"> International Horticultural Exhibition</option>
</select>
remember to provide normal links for javascript disabled browsers
James Hatridge wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all..
I'm not sure if this is a PHP or HTML question, but here go's:
I want to do a drop-down list of links. What I mean is that if you are on page one, look at the list, click on page 5 it will jump you there. I'm able to get the drop-down list to work. But it will not jump, here is what I've done:
<select>
<option> <a href="sight-2.php">Next</a>
<option> <a href="europa.php">EUROPA Series</a>
<option <a href="rostock.php"> International Horticultural Exhibition</a>
</select>
Any one have an idea?
TIA!
JIM
- -- Jim Hatridge
Linux User #88484
- ------------------------------------------------------
BayerWulf
Linux System # 129656
The Recycled Beowulf Project
Looking for throw-away or obsolete computers and parts
to recycle into a Linux super computer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+zJo5v3Z9K7QSWt4RAk82AKDxrI8nnMMNJp89xrmH8yMbzknuFgCfd6Ym
m9iFQnhETFHuPPKhMyiYaWY=
=/AV+
-----END PGP SIGNATURE-----