magento connect
Thứ Bảy, 13 tháng 3, 2010
Show or hide an image by javascript
It is very easy to hide or show an image according to client's click.
simply call a js function in onclick event handler for example:-
Write this script into your header Tag
<script type="text/javascript">function showblock(){ var img=document.getElementById('image');img.style.display="block"; } function hideblock() { var img=document.getElementById('image') img.style.display="none"; } </script>
Write these code in to your body tag
Không có nhận xét nào:
Đăng nhận xét
Bài đăng Mới hơn
Bài đăng Cũ hơn
Trang chủ
Đăng ký:
Đăng Nhận xét (Atom)
Không có nhận xét nào:
Đăng nhận xét