$st = $db->prepare( $stmtCat );
$rv = $st->execute() or die or die "<p>Error->"& $DBI::errstri &"</p>";
-my $cats = qq(<select class="ui-widget-content" id="ec" name="ec" onFocus="toggleVisibility('cat_desc')"
- onBlur="toggleVisibility('cat_desc')" onScroll="helpSelCategory(this)" onChange="updateSelCategory(this)">
+my $cats = qq(<select class="ui-widget-content" id="ec" name="ec"
+ onFocus="toggleVisibility('cat_desc')"
+ onBlur="toggleVisibility('cat_desc')"
+ onScroll="helpSelCategory(this);updateSelCategory(this)"
+ onChange="updateSelCategory(this)">
<option value="0">---</option>\n);
my $frm = qq(<a name="top"></a>
<form id="frm_entry" action="main.cgi" onSubmit="return formValidation();">
- <table class="tbl" border="1" width="$PRC_WIDTH%">
+ <table class="tbl" border="0" width="$PRC_WIDTH%">
<tr class="r0"><td colspan="3"><b>* LOG ENTRY FORM *</b></td></tr>
<tr>
<td style="text-align:right; vertical-align:top">Date:</td>
</tr>
<tr><td style="text-align:right; vertical-align:top">Log:</td>
<td id="al" colspan="2" style="text-align:top;">
- <textarea id="el" name="log" rows="3" style="float:left; width:99%;" onFocus="toggleVisibility('cat_desc',true)"></textarea>
+ <textarea id="el" name="log" rows="3" style="float:left; width:99%;" onChange="toggleVisibility('cat_desc',true)"></textarea>
</td>
</tr>
<tr><td style="text-align:right"><a id="to_bottom" href="#bottom" title="Go to bottom of page.">↡</a> Ammount:</td>
if (toggle) {
toggleSearch(document.getElementById("btn_srch"));
}
-
-
+ $('#ed').poshytip({
+ content: "Select here date and time of your log.",
+ className: 'tip-yellowsimple',
+ showTimeout: 1,
+ alignTo: 'target',
+ alignX: 'center',
+ alignY: 'bottom',
+ offsetY: 5,
+ allowTipHover: false
+ });
+ $('#ec').poshytip({
+ content: "Select here the category for your log.",
+ className: 'tip-yellowsimple',
+ showTimeout: 1,
+ alignTo: 'target',
+ alignX: 'center',
+ alignY: 'bottom',
+ offsetY: 5,
+ allowTipHover: false
+ });
+ $('#el').poshytip({
+ content: "This is your log entry can't be empty.",
+ className: 'tip-yellowsimple',
+ showOn: 'focus',
+ alignTo: 'target',
+ alignX: 'left',
+ alignY: 'center',
+ offsetX: 5,
+ showTimeout: 100
+ });
+ $('#am').poshytip({
+ content: "Symbolic ammount in your local or preferred currency. Can be left empty.",
+ className: 'tip-yellowsimple',
+ showOn: 'focus',
+ alignTo: 'target',
+ alignX: 'left',
+ alignY: 'center',
+ offsetX: 5,
+ showTimeout: 100
+ });
$('#ed').datetimepicker({
dateFormat: 'yy-mm-dd',
timeFormat: 'HH:mm:ss',
firstDay: 1
});
+
+
$("input[type=submit], input[type=reset], .ui-widget-content, button").button();