Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread Poll:
Author: Subject: slider with two input boxes
pacify360
Junior Member

Posts: 2
Registered: 2/3/2007
Location: austin, tx
Member Is Offline
posted on 2/3/2007 at 05:49 PM Reply With Quote
slider with two input boxes


I was looking for a cross browser web enabled slider with TWO input boxes (as in having 'to' and 'from' numbers represented on screen....)

After having spent the better part of today TRYING to modify the source code (and consequently giving up) I thought I would post the solution I found. Obviously I am no javascript wiz, and unless you are I would not advise tampering with the source code as it is fairly complex. Instead, you can simply create a <div> inside your body tag that calls a javascript function. The javascript function modifies the second box onMouseWhatever to give the appearance of having two boxes.

Like this:

<body>
<div onMouseUp="modify_high_textbox();">
[ your html ]
</div>
</body>

The javascript function (placed in your header) looks like this:

<script language="JavaScript">
function modify_high_textbox()
{
document.demoForm.sliderValueHigh.value=document.demoForm.sliderValueLow.value
}
</script>
View User's Profile View All Posts By User U2U Member
Post new thread Poll:

Related Links:
Product Page
Product Demonstrations Live Demos
Multiple Designs
Equalizer
Free Download Free Download
Product Documentation Documentation:
Documentation Page
Change Log
Support Forum Support Forum

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004