Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经制作了一个脚本,它预先加载了一个精灵表,以便在其中与 CSS 精灵一起使用,但没有显示在 dsi 上。
这是我目前的修订版。
请告诉我哪里出错了。或者建议一种更简单的方法来预加载图像......但是在加载后,会调用回调。一个 jQuery 插件或 javascript 库之类的……哈哈。它适用于 Chrome ......但不适用于 dsi ......
编辑:固定!见下文:
I just linked to the sprites improperly. XD! If anyone else is having trouble loading images on the DSi, use css sprites!