本文介绍了每月自动更新图像js的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在尝试在该网站上创建一些网站我在该图像字段中有图像字段(我有12张图片)在我的网站中我想根据月份更新我的图像。如果月份是1月我想要显示第一张图片。如果它是feb那么它显示第二张图像就像这样。我创建了一周但我无法找到这个可以任何人帮助我的想法,任何人都可以发送一些示例代码。


谢谢

Hi
I am trying to create some websites in that website i have images field in that image field(totally i have 12 images) in my website i want to update my images according to month.If the month is january i want to display first picture .if it is feb then it shows 2nd image like this.I created like for a week but i cant find idea for this can anyone help me and can anyone send some example code for this.

thanks

推荐答案



将你的图像重命名为img0.gif,img1.gif,.... img11.gif;

rename your images to img0.gif, img1.gif, .... img11.gif;

展开 | 选择 | Wrap | 行号


展开 | 选择 | Wrap | 行号


展开 | 选择 | Wrap | 行号


这篇关于每月自动更新图像js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-23 18:44