English 中文(简体)
Ajax 装饰
原标题:Ajax loading gif

在我从服务器中抽取实际内容时,我想显示装货。 我知道,如果只是这样,如何做到这一点。 我面临的问题是,我要把这一装货箱显示为一种模式。 谁能帮助?

编辑:这是我在守则中所做的事

$( # +buttonId).click(function(){

        // Put an animated GIF image insight of content
        $.colorbox({html:"<img src= /mysite/images/" + imageId + " />", open:true, opacity:"0.60"});

            // Make AJAX call
           $( # + divId).load("/mysite/" + urlToLoad);

    });

在这里,我试图利用彩色箱作为模式功能,这的确给我提供了模式窗口......但即使在装满内容之后,窗口仍然开放。

问题回答

这与你使用装货箱的情况相同。

  • load data call
  • show modal
  • data loaded
  • hide modal

你们是用 j子还是像这样的东西?

创造一片覆盖所有事物的影子,并将其形象放在其中。 view view view height height height

you底图书馆是你们使用的? 大部分的贾瓦古兰文图书馆都拥有非常容易使用的箱式包裹。 如果你以手方式将 Java本应用进行编码,那么我非常建议你看。 你们感到非常高兴的是,学习和使用是多么容易,社区的支持和花钱多。





相关问题
ajax login using httpRequest?

I am trying to develop my login script to give feedback to the user if the login is valid or not. Basically if it isn t correct a div box will show saying its wrong, if its correct it will show its ...

Virtual Tour using sketch up, ajax, flash technologies

I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there s none, which will be a good approach ...

How can i update div continuously

I have asp.net application where i have a div which showing the value from other site. The value of that site is changing continuously. I want that my div will automatically update in some interval ...

热门标签