Jump to content

javascript, more than one element.


tomdelonge

Recommended Posts

first off, i need to have a slider that changes the font size (as you drag it). for example, here:

http://demos.mootools.net/Slider

 

i don't have to use that one (it's not very pretty) but it's the only one i've found so far. problem is, i need more than one in my webpage. and i don't know how many. it could be one, or two, or ten. each one needs to be connected a specific <span> element. i have no idea how to do this.

 

i also need the number that it's slid at to be sent in with a form. (someone said to have an onchange event that changes a hidden input's value in the form.) that should work just fine.

 

so, firstly, i need to be able to have more than one: this could be done in php, but i don't understand javascript, so i wouldn't know where to start with that.

 

then i need to connect it to some hidden form fields.

 

any help is appreciated. and remember, i don't care which particular slider i use (though i prefer a smooth one)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
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.