简体   繁体   English

超大jQuery插件如何生成图像标记

[英]How does supersized jQuery plugin generate Image mark up

The other day i was trying to understand how the supersized plugin works, and I was looking forward to using it. 前几天,我试图了解超大插件的工作原理,并期待使用它。

I have downloaded the plugin from the following URL: 我已经从以下网址下载了插件:

http://buildinternet.com/project/supersized/ http://buildinternet.com/project/supersized/

I was debugging it using Firebug, but I don't understand how the image mark up is generated. 我使用Firebug对其进行了调试,但我不了解如何生成图像标记。 I couldn't find its markup in any of the js, css, or html files... 我在任何js,css或html文件中都找不到它的标记...

Can someone please take a look at it, and offer me some direction? 有人可以看看它,并给我一些指导吗?

放置在DOM中的HTML在javascript文件/插件中生成,我在https://github.com/buildinternet/supersized/blob/master/core/js/supersized.core.3.2.1中突出显示了该代码。 .js#L67-L76

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM