如何将 Fancybox 应用于 DIV
简要背景:我刚刚开始进入编码网站。我当前的网站是 jamesendres.com 我想要做的是使用 Fancybox 移动我的名为 project, left & 的 div ;正确取决于在其父 div 项目容器内单击的箭头。我已经阅读了文档,我觉得他们的示例缺乏对初学者编码人员的帮助。此外,我还广泛搜索了 Google 和 SO。我的问题是是否有人能够为我指明如何将 Fancybox 实际应用到我当前网站的正确方向。
我想做的: 当右箭头单击时向右移动: 左侧也同样如此。 然后更新寻呼机位置,即 01/02
另外,如果有人注意到任何冗余编码技术或有任何建设性批评,我对此非常开放。良好/实用的编码风格
Brief background: I just started getting into coding websites. My current website is jamesendres.com and what I want to do is use Fancybox to move my div called project, left & right depending on which arrow is clicked inside of its' parent div projectContainer. I've read through the documentation and I feel that their examples lack in regards to beginner coders. Additionally I extensively searched Google and SO. my question is if someone would be able to point me in the right direction of how to actually apply Fancybox to my current website.
What I wanted to do:
when right arrow is click move to the right:
same goes for left respectively.
Then update the pager position i.e. the 01/02
Also if anyone notices any redundant coding techniques or have any constructive criticism I am plenty open to it. Good/practical coding style
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论