Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

website development

Featured Replies

Hi all,

I want to create a dropdownbox with 4 selections,

and I want to create hyperlink to each of those selections.

I know I can do this with this code:

-------------------------------------------------------

<form name="AutoListBox">

<p><select name="ListBoxURL" size="1" language="javascript" onchange="gotoLink(this.form);">

<option value="URL#1.htm">Place 1 </option>

<option value="URL #2.htm">Place 2 </option>

<option value="URL#3.htm">Place 3 </option>

<option selected> -- Select to Jump -- </option>

</select></p>

<script language="JavaScript">

<!--

function gotoLink(form) {

var OptionIndex=form.ListBoxURL.selectedIndex;

parent.location = form.ListBoxURL.options[OptionIndex].value;}

//-->

</script>

</form>

----------------------------------------------------------

But this will give the down arrow next to each selection.

Is there a way to create the same thing but without that small arrow?

Thanks.

If i understand your question correctly...

I think the answer is no. Dropdown boxes always have an arrow next to them.

  • 2 months later...

U mean like this:

http://tornupletters.com/sars/test/test.php

Here's the script:

<form name="AutoListBox">

<p><select name="ListBoxURL" size="4" language="javascript" onchange="gotoLink(this.form);">

<option value="link1.html">Place 1 </option>

<option value="link2.html">Place 2 </option>

<option value="link3.html">Place 3 </option>

<option selected>Select a option to jump</option>

</select></p>

</form>

<script language="JavaScript">

<!--

function gotoLink(form) {

var OptionIndex=form.ListBoxURL.selectedIndex;

parent.location = form.ListBoxURL.options[OptionIndex].value;}

//-->

</script>

Grtz,

SaRs!

Edited by Sars!

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.