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: bug? align to center cause slider gone
yeahe83
Newbie

Posts: 1
Registered: 6/3/2011
Member Is Offline
posted on 6/3/2011 at 03:36 AM Reply With Quote
bug? align to center cause slider gone


if set align=center, the slider will in the wrong place while dragging.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>ޱĵ</title>
<script language="JavaScript" src="slider.js"></script>
</head>

<body>
<div id="sliderPane" align="center">
<table cellpadding="2" border="1">
<tr>
<td><input name="sliderValue1" id="sliderValue1" type="Text" size="3"></td>
<td><input name="sliderValue2" id="sliderValue2" type="Text" size="3"></td>
<td><input name="sliderValue3" id="sliderValue3" type="Text" size="3"></td>
</tr>
<tr>
<td>
<script language="JavaScript">
var A_TPL1v = {
'b_vertical' : false,
'b_watch': true,
'n_controlWidth': 120,
'n_controlHeight': 16,
'n_sliderWidth': 15,
'n_sliderHeight': 16,
'n_pathLeft' : 1,
'n_pathTop' : 1,
'n_pathLength' : 103,
's_imgControl': 'img/blueh_bg.gif',
's_imgSlider': 'img/blueh_sl.gif',
'n_zIndex': 1
}
var A_INIT1v = {
's_name': 'sliderValue1',
'n_minValue' : 0,
'n_maxValue' : 100,
'n_value' : 20,
'n_step' : 1
}

new slider(A_INIT1v, A_TPL1v);
</script>
</td>

<td>
<script language="JavaScript">
var A_TPL1v = {
'b_vertical' : false,
'b_watch': true,
'n_controlWidth': 120,
'n_controlHeight': 16,
'n_sliderWidth': 15,
'n_sliderHeight': 16,
'n_pathLeft' : 1,
'n_pathTop' : 1,
'n_pathLength' : 103,
's_imgControl': 'img/blueh_bg.gif',
's_imgSlider': 'img/blueh_sl.gif',
'n_zIndex': 1
}
var A_INIT1v = {
's_name': 'sliderValue2',
'n_minValue' : 0,
'n_maxValue' : 100,
'n_value' : 20,
'n_step' : 1
}

new slider(A_INIT1v, A_TPL1v);
</script>
</td>

<td>
<script language="JavaScript">
var A_TPL1v = {
'b_vertical' : false,
'b_watch': true,
'n_controlWidth': 120,
'n_controlHeight': 16,
'n_sliderWidth': 15,
'n_sliderHeight': 16,
'n_pathLeft' : 1,
'n_pathTop' : 1,
'n_pathLength' : 103,
's_imgControl': 'img/blueh_bg.gif',
's_imgSlider': 'img/blueh_sl.gif',
'n_zIndex': 1
}
var A_INIT1v = {
's_name': 'sliderValue3',
'n_minValue' : 0,
'n_maxValue' : 100,
'n_value' : 20,
'n_step' : 1
}

new slider(A_INIT1v, A_TPL1v);
</script>
</td>
</tr>
</table>
</div>

</body>
</html>
View User's Profile View All Posts By User U2U Member
shiesl
Junior Member

Posts: 4
Registered: 9/11/2011
Location: Pittsburgh
Member Is Offline
posted on 11/15/2011 at 09:52 PM Reply With Quote

Did you ever find a solution to your problem. I seem to be having a similar difficulty, although with only one slider. In my case the control is over to the right. Thanks. Rick
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