PDA

Zobacz pełną wersję : Marketplace



majkelnajt
16-05-2008, 10:30
Witam wszystkich bardzo serdecznie zainstalowałem komponent marketplace wszystko działa bez problemu natomiast nie wiem jak zrobić by zamiast ceny była możliwość wyboru daty zakończenia ogłoszenia? Wszystkim za pomoc z góry dziękuję i pozdrawiam.

majkelnajt
21-05-2008, 12:54
czy ktoś wie jak to zrobić???

majkelnajt
21-05-2008, 13:13
znalazłem coś takiego
<link rel="stylesheet" type="text/css" media="all" href="http://net-konkursy.pl/components/com_marketplace/jscalendar/calendar-system.css" title="win2k-1" />
<script type="text/javascript" src="http://net-konkursy.pl/components/com_marketplace/jscalendar/calendar.js"></script>
<script type="text/javascript" src="http://net-konkursy.pl/components/com_marketplace/jscalendar/calendar-pl.js"></script>
<script type="text/javascript" src="http://net-konkursy.pl/components/com_marketplace/jscalendar/calendar-setup.js"></script>

<label class="marketplace" for="ad_price">Data zakończenia</label>
<input class='marketplace_required' id='ad_price' value='' readonly='readonly' type='text' name='ad_price' size='10' maxlength='10'><button type="reset" id="f_ad_price">...</button>
<script type="text/javascript">
Calendar.setup({
inputField : "ad_price", // id of the input field
ifFormat : "%Y-%m-%d", // format of the input field
showsTime : false, // will display a time selector
button : "f_ad_price", // trigger for the calendar (button ID)
singleClick : true, // double-click mode
step : 1 // show all years in drop-down boxes (instead of every other year as default)
});
</script>
<label class="marketplace_right" for="ad_price_text">Kalendarz</label>
<!-- price -->