I need to load a video in shadowbox when the homepage loads I need to know what the code would be and specifically where the onload code would go to make this happen Thank you DeZiner76hd

我需要在主页加载时在shadowbox中加载视频我需要知道代码是什么,特别是onload代码会在哪里实现这一点谢谢DeZiner76hd

1 个解决方案

#1


Well, the actual details would depend on the shadowbox code you use. I'd recommend looking into jquery as there are a number of shadowbox/lightbox plugins for it. For the actual video I assume you'll be using flash. If this is the case you'll also want to look into swfobject (which also has a good jquery plugin) for handling the embedding.

那么,实际细节将取决于您使用的shadowbox代码。我建议调查jquery,因为它有很多shadowbox / lightbox插件。对于实际视频,我假设您将使用闪光灯。如果是这种情况,您还需要查看swfobject(它还有一个很好的jquery插件)来处理嵌入。

更多相关文章

  1. jQuery分页插件jBootstrapPage,一个Bootstrap风格的分页插件
  2. arcgis api for js入门开发系列十 自定义Navigation控件样式风格
  3. 五十行javascript代码实现简单的双向数据绑定
  4. 在内容可编辑DIV中的选定文本周围包装bb代码
  5. Cordova相机插件ios11无法从库中选取图像
  6. javascript适合移动端的响应式瀑布流插件实例演示
  7. 常用验证JS代码基础及实例
  8. 试着在我的javascript代码中理解“this”(一件事有效,另一件没有)
  9. 代码点火-如何从控制器返回Json响应

随机推荐

  1. 如何在SOF上的新帖子中没有像“Grippie”
  2. 覆盖odoo 8中的JS函数
  3. 八款Js框架介绍及比较,Dojo 、Scriptacul
  4. javascripterror 为空或不是对象.
  5. 使用js更改抛出事件的输入值
  6. 多选列表框功能
  7. Angular 2快速入门 - 我的应用程序组件未
  8. des加解密(JavaScript&Java)
  9. javascript的数据类型,以及javascript中类
  10. 如何在Node中创建可重用的函数而不编写样