如何使用javascript自动刷新图像名称

时间:2016-01-24 15:34:40

标签: javascript php jquery html css

您好我使用此脚本SimpleImage



		// making SimpleImage instances of selected friends including main image
		$img = new abeautifulsite\SimpleImage('main.jpg');
		//$img1 = new abeautifulsite\SimpleImage($friend1);
		//$img2 = new abeautifulsite\SimpleImage($friend2);
		//$img3 = new abeautifulsite\SimpleImage($friend3);




使用javascript或jQuery刷新页面后如何自动刷新图像名main.jpg

我试过这个教程jQuery DIV Auto Load and Refresh

此变量位于图像<?php echo $bg_array[$bg];?>的某处但是它无法正常工作

我想要的是每次加载页面时更新main.jpg

0 个答案:

没有答案