English 中文(简体)
肯伯恩斯效应与JQuery Animate 并不适用于 Firefox 和 Opera 。
原标题:Ken Burns effect with JQuery animate doesn t work with Firefox and Opera

我尝试与JQuery一起执行Ken Burns(在照片上放大和放大), 但与Firefox(12.

 var endCss = {
      background-position-x :  -20px ,
      background-position-y :  -200px ,
      background-size :  1100px 
 };
 var frame = $( #myid );
 frame.animate(endCss, 1000);

背景大小不会改变, 但它不是位置 。

有人知道我是不是做错了什么 或者我是不是站在虫子前面?

PS:这在铬和Safari地区效果很好。

最佳回答

Firefox 和 Opera 没有支持 backform-position-x backform-position-y - 这些不是标注。

虽然您可能想要在每一步上更改 >x 是否有帮助,但这里有一个颇有信息解答:

问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

jQuery block moving

I wanna move a div block to the top, so I coded like this: CSS part: .movingPart{ margin-top:80px; } jQuery part: $(document).ready(function() { $( #btn ).click(function() { $( .movingPart )....

Private FireFox plugin

I m looking at getting a FireFox plugin developed - but is it possible to create a plugin that is for private use only, so only those I share it with have it and not open to the masses? Need this for ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Cross-browser development

I m developing a web application for a new service, starting from Firefox 3.5. The interface design is tableless, only using divs + CSS & performance-blessed practices. Now, while being ...

Cross browser way of setting IFrame to "about:blank"?

Does anybody know a proper, cross-browser way to "empty" an IFrame? Is "about:blank" recognized without error across all browsers? Is it valid to give an IFrame an empty src?