开发者

jQuery code needed [closed]

开发者 https://www.devze.com 2023-01-19 13:23 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 12 years ago. 开发者_开发百科

How do I make an image or flash object run immediately when a webpage is opened and then give the option to close it?

Can this be done using jQuery?

If so can anyone show me how?


Don't do this. Autoplaying things is awful and will make people want to leave your website.

If you must do this, then you don't need jQuery (or any JS for that matter) to run the flash file. Autoplaying and closing can all be done just with the flash object.

I don't know what you mean by an image running however.


use jquery-ui dialog to present : http://jqueryui.com/demos/dialog/#modal

or jquery tools http://flowplayer.org/tools/overlay/index.html enable load:true


I assume that you have seen this thing on another page and you wish to use it too. I'll recommend you to use firefox browser with it's addons for web developers. First of all you have to try: firebug, but take a look on "web developer" and "IE Tab" addons too

Those tools will help you to learn from others code.

Good luck!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号