Jump to content

How can i code dropbox with links and download button


Recommended Posts



How can i code the following.




i want to add a dropdown box in my wallpaper site (wordpress powered) with multiple resolution options

when user selects "1920 x 1080" and hits download a wallpaper with "1920 x 1080" resolution must start downloading

when user selects "1024 x 768" and hits download a wallpaper with "1024 x 768" resolution must start downloading.


I know this is pretty simple and stupid question but i am honestly quite confused on how to do this, can this be done with just html/css or does this need some php codes too?


Can you please please

Edited by adamsevera
Link to comment
Share on other sites

The way i solved :

<form name="mycombo">
<p><select name="example" size="1">
    <option      value="#Link1">JavaScript Kit</option>
    <option value="#Link2">Coding Forums</option>
      <option> value="#Link3">Dynamic Drive</option>
    <input type="button" name="test" value="Go!" onClick="go()">
function go(){

Link to comment
Share on other sites

  • 2 weeks later...
This thread is more than a year old. Are you sure you have something important to add to it?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.