Forum


00:02

08/07/2010

I can not embed timeselect, edit or add to the back row of the dialog is
if (@mysql_field_name($resultado, $x)=="Hora_inicio")
{$ruler=',editoptions:{size:12, dataInit:function(el){ $(el).ptTimeSelect({ containerClass: "timeCntr", containerWidth: "350px", setButtonLabel: "Select", minutesLabel: "min", hoursLabel: "Hrs"}); }} ';
}
if (@mysql_field_name($resultado, $x)=="Hora_Termino")
{$ruler=',editoptions:{size:12, dataInit:function(el){ $(el).ptTimeSelect({ containerClass: "timeCntr", containerWidth: "350px", setButtonLabel: "Select", minutesLabel: "min", hoursLabel: "Hrs"}); }} ';
}
http://pttimeselect.sourceforg.....ct-js.html
[Image Can Not Be Found]
10:56

10/08/2009

Sorry, but I don't understand what is yet unclear. If you open jquery.ptTimeSelect.js you can immediately find that ptTimeSelect has defaulf option zIndex: 10. You use currently ptTimeSelect so:
$(el).ptTimeSelect({ containerClass: "timeCntr", containerWidth: "350px",
setButtonLabel: "Select", minutesLabel: "min", hoursLabel: "Hrs"}
If you add one more option
$(el).ptTimeSelect({ containerClass: "timeCntr", containerWidth: "350px", zIndex: 1300,
setButtonLabel: "Select", minutesLabel: "min", hoursLabel: "Hrs"}
it should work, but I didn't make any tests.
Most Users Ever Online: 715
Currently Online:
65 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66