Changeset 19387


Ignore:
Timestamp:
2010/11/07 02:28:08 (13 years ago)
Author:
kishik
Message:

商品一覧での色による変更中通知

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-C/data/Smarty/templates/admin/products/index.tpl

    r19361 r19387  
    2222 */ 
    2323*}--> 
     24<script type="text/javascript" src="Tween.js"></script> 
     25<script type="text/javascript" src="ColorTween.js"></script> 
     26 
    2427<script type="text/javascript"> 
    2528// URLの表示非表示切り替え 
     
    236239            無制限 
    237240          <!--{else}--> 
    238             <input type="text" name="stock_edit_<!--{$arrProducts[cnt].product_id}-->" size="8" value="<!--{$arrProducts[cnt].stock_min}-->" onchange="this.style.backgroundColor='blue';jQuery.post('./index.php', {'mode':'stock_edit','stock_edit_id':'<!--{$arrProducts[cnt].product_id}-->','stock_edit_value':this.value}, function(result){if(result!='ok'){alert('エラー:変更できませんでした');};});this.style.backgroundColor='transparent';"> 
     241            <input type="text" name="stock_edit_<!--{$arrProducts[cnt].product_id}-->" size="8" value="<!--{$arrProducts[cnt].stock_min}-->" onchange="jQuery.post('./index.php', {'mode':'stock_edit','stock_edit_id':'<!--{$arrProducts[cnt].product_id}-->','stock_edit_value':this.value}, function(result){if(result!='ok'){alert('エラー:変更できませんでした');};});bgColorTween=new ColorTween(this.style,'color',Tween.regularEaseOut,'blue','transparent',3);bgColorTween.start();"> 
    239242          <!--{/if}--> 
    240243        <!--{/if}--> 
Note: See TracChangeset for help on using the changeset viewer.