Board Logo

Calendar won't work in modal FancyBox
jesk98ac - 6/19/2012 at 06:38 PM

I am trying to use Tigra calendar in a modal window from FancyBox (type='ajax').

In the modal window I import the Tigra javascript file and stylesheet file as usually, but the date picker icon isn't shown?

<script type="text/javascript" src="js/cal/calendar_eu.js">
<!--
// -->
</script>
<link rel="stylesheet" href="js/cal/calendar.css">

<form id="modalForm1">
<input type="text" id="startDate" name="startDate" value="" />
<script type="text/javascript">
<!--
new tcal ({
// form name
'formname': 'modalForm1',
// input name
'controlname': 'startDate'
} );
//-->
</script>

</form>

I tried to increase the Z-index value in the Tigra stylesheet file but it doesn't seem to help.

Any help would be appreciated.


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/