我在网格视图中得到了一个图像字段.从编码的角度来看,当鼠标悬停在图像上时,它将弹出一个更大的图像. [英] I got the an image field in my grid view. When mouse over the image it will pop up a bigger image.from coding aspect.

查看:44
本文介绍了我在网格视图中得到了一个图像字段.从编码的角度来看,当鼠标悬停在图像上时,它将弹出一个更大的图像.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<script language="javascript" type="text/javascript" >
    $().ready(function () {
        //alert("I am in the ready");
        //alert($("img").length);
        $("img").mouseover(function () {
            $(this).width(200);
            $(this).height(200)
        });
        $("img").mouseleave(function () {
            $(this).width(50);
            $(this).height(50)
        });
    });
</script>



救救我吧!

预先表示感谢.



Help me!

Thanks in advance.

推荐答案

().ready( function (){ // 警报(我已经准备好了"); // 警报(
().ready(function () { //alert("I am in the ready"); //alert(


("img").length);
("img").length);


(" ).mouseover(功能(){
("img").mouseover(function () {


这篇关于我在网格视图中得到了一个图像字段.从编码的角度来看,当鼠标悬停在图像上时,它将弹出一个更大的图像.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆