|
Posted by Jonathan N. Little on 10/05/99 11:38
ross wrote:
> I would like to make the targets _blank in this menu code. Not working
> unless used this way. Can you advise on this please? I appreciate this
> newsgroup. Dick Ross
>
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Jump Menu</title>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> </head>
>
> <body>
> <form method="POST" name="mapform" align="left">
no attribute "ALIGN" for element FORM and missing required "ACTION"
> <p align="center"><font color="#0000FF" size="6">
If this deprecated FONT element is an attempt to style the form's drop
list box it doesn't, lookup CSS
> <select
> name="jump" size="1">
> <option value="value" selected>Click here to browse</option>
> <option value="http://jcprd.com/apps/events/"
> target="_blank">Johnson
> County Parks and Recreation</option>
no attribute "TARGET" for element OPTION
> </select>
> <input type="button" value="Go!"
> onclick="location = '' + document.mapform.jump.options[
> document.mapform.jump.selectedIndex ].value;">
> </font></p>
> </form>
> </body>
> </html>
Will not function if JavaScript is disabled.
Lastly, what happens if user clicks "go" /without/ changing the drop
list box from its default "Click here to browse", Eh?
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|