doumeitang572461 2012-09-21 16:38
浏览 65
已采纳

如何在不重新加载页面的情况下使用Jquery fadein / fadeout?

I need to create a website with an audio player that plays as users traverse through the site. At the same time, the content section needs to fade out and back in while this is still going on. So bring in another piece of HTML without reloading the page. The question I have is, how can i get all those to run correctly, while at the same time, running different Jquery plugins on different pages?

Essentially, I need to website to run like this one but with a continuous audio player in the corner or something. http://www.chalicerecording.com/

If you notice, the page never reloads and the name of the actual file doesnt display on the browser top. This gives me the idea thats its using PHP for the page.

So with that idea, I ended up finding this. http://www.youtube.com/watch?v=ytKc0QsVRY4

The problem im having with that is that I cant seem to figure out a way to run individual Jquery plugins on each individual PHP page without reloading the entire page. I hope this is enough info for you guys to work with.

  • 写回答

1条回答 默认 最新

  • duanniu4106 2012-09-21 16:43
    关注

    you will need to use ajax calls to do so
    jQuery.ajax
    jQuery.post
    jQuery.get

    you also need to use jQuery fadeIn , jQuery fadeOut

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 爬虫爬取网站的一些信息
  • ¥15 关于vue2中methods使用call修改this指向的问题
  • ¥15 idea自动补全键位冲突
  • ¥15 请教一下写代码,代码好难
  • ¥15 iis10中如何阻止别人网站重定向到我的网站
  • ¥15 滑块验证码移动速度不一致问题
  • ¥15 Utunbu中vscode下cern root工作台中写的程序root的头文件无法包含
  • ¥15 麒麟V10桌面版SP1如何配置bonding
  • ¥15 Marscode IDE 如何预览新建的 HTML 文件
  • ¥15 K8S部署二进制集群过程中calico一直报错