在我网站的主页上,我想展示出大量图像的产品。 目前,该网页需要这么长的时间才能装上它实际上要排出的时间,而且该页没有显示。
在多国师协会,或仅仅是伙伴关系。 总而言之,我怎么能够把图像装上同步吗? 基本上,我想做的是展示产品细节,只是显示一个小的装货图像,例如ajaxload.info。 直到图像装满为止。
我认为,这将需要一些 j/j。
在我网站的主页上,我想展示出大量图像的产品。 目前,该网页需要这么长的时间才能装上它实际上要排出的时间,而且该页没有显示。
在多国师协会,或仅仅是伙伴关系。 总而言之,我怎么能够把图像装上同步吗? 基本上,我想做的是展示产品细节,只是显示一个小的装货图像,例如ajaxload.info。 直到图像装满为止。
我认为,这将需要一些 j/j。
<img src="ajax-loader.gif" onload="this.onload=null;this.src= bigimage.png ;" />
或者如果你不明白:
<img src="ajax-loader.gif" id="myimg" />
之后:
$(function() {
$( #myimg ).load(function() {
$(this).unbind( load );
this.src = bigimage.png ;
});
});
首先,值得检查的是,贵方图像的大小是高hum的,简单地缩小到适合页数的尺寸。 为使装货时间尽可能好,图像应该是你想要显示的准确大小,72版,更不用说。 这些图像很可能在假装背书人的时间之后被贴上,因此它只是一次费用。
我只想把<代码>url退回到你AJAX请求中的形象。 事实上,你必然需要甚至把它当作非洲复兴开发银行的要求。 你可以向图像发送一个有<代码>urls的Java式阵列,然后在用户对某个特定地点持照人进行图像时形成一个新的<代码>Image要素(或类似)。
希望能给你们一些想法!
In my webpages I have references to js and images as such: "../../Content/Images/"Filename" In my code if I reference a file as above, it doesnt work so i have to write: "c:/miscfiles/"filename" 1-...
I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...
Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...
I m looking for best practices here. Sorry. I know it s subjective, but there are a lot of smart people here, so there ought to be some "very good" ways of doing this. I have a custom object called ...
I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...
i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...
For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?
I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!