mtvboy

mtvboy

V2EX member #2790, joined on 2010-11-07 12:48:19 +08:00
关于跟随鼠标移动的两个 js 功能合并问题,求解!
jQuery  •  mtvboy  •  Jul 26, 2016  •  Lastly replied by lxrmido
1
怎么能把这两个 js 功能合并,满头大汗的求问。
  •  1   
    JavaScript  •  mtvboy  •  Nov 17, 2020  •  Lastly replied by xiyuesaves
    19
    有什么好办法屏蔽 app 的广告。改 dns 可以吗?
    iPad  •  mtvboy  •  Mar 10, 2014  •  Lastly replied by imn1
    7
    设想,网吧可以用VMware等虚拟机实现一托多吗?
    服务器  •  mtvboy  •  Jan 2, 2014  •  Lastly replied by fuxkcsdn
    19
    能帮我买个域名吗?有偿。
    投资  •  mtvboy  •  May 21, 2013  •  Lastly replied by Moker
    2
    完败
    Clash of Clans  •  mtvboy  •  Mar 15, 2013  •  Lastly replied by Pactzhao
    12
    数据
    Clash of Clans  •  mtvboy  •  Mar 6, 2013
    我的偶像
    Clash of Clans  •  mtvboy  •  Feb 5, 2013  •  Lastly replied by pepsin
    4
    Ubuntu 真的这么难吗?
    Ubuntu  •  mtvboy  •  Jan 25, 2013  •  Lastly replied by Rand01ph
    47
    我的奖杯弄多了,肿么办啊!!!!!!!!!!!!
    Clash of Clans  •  mtvboy  •  Jan 17, 2013  •  Lastly replied by qq286735628
    15
    mtvboy's recent replies
    Aug 3, 2017
    Replied to a topic by junbaor 程序员 免费的内网穿透服务,自己搭了个 ngrok
    @9yu 工信部投诉过瘾吗?程序复杂吗?
    @Tink
    @benwwchen
    我一会重装一下,再试试。我又多出来一个问题。在不改这些之前我电脑重来没出过死机、卡死的问题,改过之后,会经常卡死只有鼠标能懂而且变得很大。其他什么也干不了。偶尔卡完之后还能动会。知道原因吗?
    还是不行,登录的时候给我一个 12 位数字让我打电话。打电话之后也不行。
    我把他说的翻译过来,能帮我看看我哪里做的不对嘛?
    1.打开 CloverConfigurator ,挂载 efi 分区。
    2.打开 config.plist
    3.确定 Rt Variables 下什么都没有。
    4.在 SMBIOS 里用魔棒点几下,弄出个错误的 serial number
    5.在 SmUUID 里输入终端 uuidgen 号
    6.Board Serial Number 粘贴 serial number +5 个随机数字。然后保存。
    7.终端输入 defaults write com.apple.finder AppleShowAllFiles TRUE 。输入 killall Finder 时出错。
    8.删除 /Users/[Username]/Library/Chaches
    com.apple.Messages
    com.apple.imfoundation.IMRemoteURLConnectionAgent
    /Users/[Username]/Library/Preferences
    com.apple.iChat.
    com.apple.imagent.
    com.apple.imessage.
    com.apple.imservice.
    /Users/[Username]/Library/Messages
    9.清空垃圾箱
    10.Open up Disk Utility, select your OSX partition, and rebuild the permissions. Reboot when this is completed.(这项不懂,就没做)
    然后就重启,登陆了,哪里做的不对或者理解错误,请帮指正。
    @benwwchen
    @Tink
    @benwwchen
    https://checkcoverage.apple.com 我换个国家可以了,不过显示这个
    We're sorry, but this serial number is not valid. Please check your information and try again.
    可以吗?
    另外第五条他说 If you get an error message, that is good. 是现实错误就可以吗?
    @benwwchen
    @benwwchen 多谢指点。大体我都看明白了,不过 https://selfsolve.apple.com/这个地址 404 了, https://checkcoverage.apple.com/cn/zh/这个地址点搜索显示空白页,不明来了,能再指点指点嘛?
    还有第 15 条, and rebuild the permissions.是什么意思?怎么操作?
    @Tink
    @benwwchen
    新装的 10.12.2 ,所有驱动都装好了,使用正常,就 imessage 、 facetime 不能激活, pcbeat 还上不去,能教教我怎么弄吗?感激不尽。
    @shiki
    @yixiang
    @phxsuns
    @miaotaizi
    @lxrmido
    谢谢大家。我想要的功能好像真的不是这两个插件整合就可以的,也整合不了。
    第一个网址的功能是点击后焦点图片就到正中央了。而我需要的是焦点是鼠标,鼠标到哪里,哪里的图片就最大,而不是跳到中央。。
    还得请大家给个建议,是重新找个别的方案,还是继续弄第一个网址的插件来实现。
    @shiki 哇塞好神奇,我能这么理解吗,你是让鼠标在图片上变成点击了吗?
    这让我很为难。看似达到了效果,可是和第二个网址功能差别很大,由于第一个网址是被点击的图片就到中间位置了,如果鼠标不在中间位置,图片理论上就会不停的转,直到最后。我想做在页面底下当小图片目录,上面是大图,因为一次可能要载入上百张小图,所以才想这么弄的。
    还有其他捷径可以指点指点吗?
    @DoraJDJ 别生气,都是我的错,下回不会这样了。
    @shiki
    $('#container2 > img').hover(function(){$(this).click()});
    SyntaxError: Unexpected token ILLEGAL
    message: "Unexpected token ILLEGAL"
    stack: (...)
    get stack: function () { [native code] }
    set stack: function () { [native code] }
    __proto__: Error

    是不是我的姿势不对,我是用浏览器浏览第一个网址的 console 里输入的。

    我觉得现在最大的问题是焦点问题,我在删除某些 css 后,能左右动但没有焦点,这么说你能理解?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   942 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 20:04 · PVG 04:04 · LAX 13:04 · JFK 16:04
    ♥ Do have faith in what you're doing.