使用简单文本文件和图像文件夹作为控制器的 Jquery 图像/内容旋转器?
我需要在朋友网站的顶部添加一个简单的旋转器。由于朋友没有技术/html知识,并且我不想不断地被调用来更改经常更改的内容,我希望有一个可用的插件可以使用简单的文本文件来控制插件?
我想到的是一个简单的“每行一个项目”布局,例如:
image001.jpg,“这是图像 1 的标题”,sitepage.html
image002.jpg, "这是另一个标题,属于图像 2", "/news/newsItem2.html"
...
等等。
这样,我的朋友可以简单地上传所需的图片,编辑文件并将其上传到文件夹并重新加载页面。该插件会查看图像名称的文本文件(希望是我的朋友上传的!)并使用它,覆盖图像的标题,并使整个内容成为可点击的链接,转到指定的 URL。显然,如果他链接到的是一个网站页面,他需要我先创建该页面,但他可能链接到一个外部页面,这样他就可以完全控制它。
I need to add a simple rotator to the top of a friend's website. As the friend has NO tech/html knowledge and I don't want to be continually called to change the frequently changing content, I was hoping there was a plugin available that can use a simple text file to control the plugin?
What I have in mind is a simple "one item per line" layout such as:
image001.jpg, "This is the caption for image 1", sitepage.html
image002.jpg, "This is another caption and belongs to image 2", "/news/newsItem2.html"
...
and so on.
This way, my friend can simply upload the required pics, edit the file and upload it to the folder and reload the page. The plugin looks at the text file for the image name (which my friend has uploaded, hopefully!) and uses that, overlays the caption for the image and makes the whole thing a clickable link that goes to the URL specified. Obviously if it's a site page he's linking to, he'll need me to create the page first, but it might be that he's linking to an external page so he can control it entirely.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道是否有这样的插件,但是您可以尝试如下:
现在您可以使用您喜欢的任何滑块。
I do not know if there is a plugin like that, but what you can try is something like:
Now you are able to use whatever slider you like.