Message # 1 | 10:41 AM
Hello.

I got one problem with my customized comments adding and appearance form..

1) IT works ALMOST where I need and uCoz modules allows,

2) BUT in /publ module it doesn't work.

HOW? Got any ideas? What information I should provide here for answer?
In publisher comments adding form shows me a problem with javascript, other modules are FINE.

Appearance of comments:

Code
<div class="aurComm" style="min-height:32px;" id="$ID$"<?if($MODER_PANEL$)?> onmouseover="$('div[name=del$ID$]').show()" onmouseout="$('div[name=del$ID$]').hide()"<?endif?>>
<?if($MODER_PANEL$)?><a href="javascript://" rel="nofollow" onclick="del_item($ID$);return false;" id="di$ID$"><div class="aurCommDel" name="del$ID$"></div></a><?endif?>
<div class="aurCommAva"><?if($PROFILE_URL$)?><a href="$PROFILE_URL$"><?endif?><img src="<?if($USER_AVATAR_URL$)?>$USER_AVATAR_URL$<?else?>/aurComm/aurCommAva.png<?endif?>"><?if($PROFILE_URL$)?></a><?endif?></div>
   <div class="aurCommBody"><?if($PROFILE_URL$)?><a href="$PROFILE_URL$" class="aurCommUser"><font color="#005B9A">$USERNAME$</font></a><i><font color="grey"><font size="1">, $TIME$, $WDAY$</font></i></font><?endif?> <?if($MODER_PANEL$)?>$MODER_PANEL$<?endif?><br><font color="grey">$MESSAGE$</font><br></div>
</div>


I also tried to delete specific javascript codes from appearance BUT nothing - all other modules working, only publisher doesn't..

Comment posting form:


Code
<div class="aurComm">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>

  <?if($USER_LOGGED_IN$)?><?else?>Jums nav pieejas ierakstu veikšanai, pieslēdzieties/reģistrējaties!<?endif?>
<td height="22"><input class="aurCommInput" name="message" id="message"
placeholder=" .."></td>
<?if($SECURITY_CODE$)?><td width="96" id="aurHide2" class="aurCommSecurity">
$SECURITY_CODE$</td><?endif?>
</tr>
<tr>

</tr>
</table>
</div>
<script type="text/javascript">
$('td#aurHide, td#aurHide2').hide();
$('#message').bind('click', function (e){  
  $('td#aurHide').show();
});
$('#message').keyup(function() {  
  if ($('#message').val().length > 0) {  
  $('td#aurHide2').show()
  }
  else {
  $('td#aurHide2').hide()
  }
});  
$('body').bind('click', function (e){
  if (e.target.id != 'message' && $('#message').val().length < 1) {  
  $('td#aurHide').hide();
}
});

$('input').keypress(function(e) {  
  if(e.which == 13) {  
  _uWnd.alert('$ERROR$','',{w:200,h:40,tm:5000});
}  
});  

$('#secuImgC').next('img').attr('src','/aurComm/aurCommRe.png');
</script>


TY
Post edited by Korijs - Monday, 2014-11-24, 10:43 AM