Show Random Photos Script
Started on the old forum in September 2008 · view the original in the archive · old links redirect here
10 replies · 53 views · started 18 years ago · 1 min read
Poll Show Random Photos Script
-
yes
67% · 2
-
yes i love it
0% · 0
-
good
33% · 1
Votes over time · 18 Apr – 15 Nov
Votes are anonymous · 3 voters
· Sign in to vote.
IN
inet
Senior · 264 posts
#1
Show random photos script
facedown_pogi@yahoo.com
is this helps you?
rate it!
CODE<html>
<body background="k.jpg" bgproperties="fixed">
<marquee behavior="alternate">pinoy2.com
</marquee><hr width=900>
Show random photos script
facedown_pogi@yahoo.com
<script>
var x=1;
var y=6;
function showit()
{
x++;
if (x==1)
{
pic.src="one.jpg"
}
if (x==2)
{
pic.src="two.jpg"
}
if (x==3)
{
pic.src="three.jpg"
}
if (x==4)
{
pic.src="four.jpg"
}
if (x==5)
{
pic.src="five.jpg";
}
if (x==6)
{
x=0;
}
}
function showit1()
{
x--;
if (x==1)
{
pic.src="one.jpg"
}
if (x==2)
{
pic.src="two.jpg"
}
if (x==3)
{
pic.src="three.jpg"
}
if (x==4)
{
pic.src="four.jpg"
}
if (x==5)
{
pic.src="five.jpg"
}
if (x==0)
{
x=6
}
}
</script>
<table border="1">
<tr>
<th>
<th>
<th>
<th>
<th>
</tr>
<tr>
<th>Picture 1
<th>Picture 2
<th>Picture 3
<th>Picture 4
<th>Picture 5
</tr>
</table><hr width=900>
<table border="1">
<tr>
<td>
</tr>
</table>
<input type="button" value="next" onclick="showit();">
<input type="button" value="prev" onclick="showit1();">
</body>
</html>
Services
Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?
Below is a list of services I offer:
Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.
Rates
General consulting – My current hourly rate is $100 / hour.
Custom Wapsite Community - My current rate is $500 / Wap Community Development.
LE
IN
inet
Senior · 264 posts
#3
nice
try this one its good for your site bro...
Services
Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?
Below is a list of services I offer:
Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.
Rates
General consulting – My current hourly rate is $100 / hour.
Custom Wapsite Community - My current rate is $500 / Wap Community Development.
GU
try this one its good for your site bro...
PLZ code 4 wml pages....
AM
amylee
Principal · 1,092 posts
#5
can do the same function in about 4 lines of code btw
BH
is this script work in mobile browsers. 😛
DJ
QUOTE (bhushan3 @ Oct 12 2008, 12:40 PM) <{POST_SNAPBACK}>
is this script work in mobile browsers. 😛
whats the scrript for the random gallery please
OR
ori
Lead · 512 posts
#8
try this its much simpler
$total="3";
$file_type=".gif";
$start="1";
$random=mt_rand($start, $total);
$image_name=$random . $file_type;
$logo="logo_".$image_name;
just have ur files as logo_1.gif logo_2.gif etc
HA
and this script does what? not a lot of info on it....
OR
ori
Lead · 512 posts
#10
that code will pick a random image depending on the total number specified
KE