/    Sign up×
Community /Pin to ProfileBookmark

select form onclick new window no toolbars

[SIZE=1]First post.
Well what i have is a dropdown with a couple choices. I would like to be sent to a popup window, that can be resized to fit the image on that page, and have no toolbars, directories, etc. I searched and searched and searched and cannot find a thing, I need it to work in IE and Firefox, please. I got it to popup but not resized and without the toolbars, scrollbars, etc.
[/SIZE]

<html>
<head>
<title>example</title>
<script>
function popup () {
window.open(lense.jump.options[lense.jump.selectedIndex].value);
}
</script>
</head>
<body>
<!– lense –>
<form name=’lense’>
<select name=’jump’>
<option value=’lense/boys.htm’>people</option>
<option value=’lense/tree.htm’>places</option>
<option value=’lense/blocparty.htm’>music</option>
</select>
<input onClick=”popup()” type=’button’ value=’!’>
</form>
</body>
</html>

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@TheBearMayDec 06.2005 — Try:

window.open(lense.jump.options[lense.jump.selectedIndex].value,"","width=200 height=200 resizable");
Copy linkTweet thisAlerts:
@requiembmxauthorDec 06.2005 — thank you very much it worked ?
×

Success!

Help @requiembmx spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.22,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...