123 Eng

Engineering the engineers™


Latest Jobs   Forum Map

 


Home

Source Codes

Engineering Colleges

BE Students

Training  Reports (updated)

Seminar Reports (updated

Placement Papers (updated)

Forums

   Computer Science / IT

   Electronics

   Electrical

   Mechanical

   Chemical

   Civil

   CAT / MBA

   GMAT / Foreign MBA

Latest Jobs

Engineering Jobs / Technical Jobs

Management Jobs

Sitemap

About-Us

Terms of use

Displaying  Source Code(s)  
 

 
Random Picture Generator

--------------------------------------------------------------------------------

Description : This code simply generate a random picture and display.

<HTML>
<HEAD>
<TITLE>Random Generated Picture</TITLE>
</HEAD>
<BODY>
<!--Copy starting from here-->
<CENTER>
<%
Randomize
Dim RandomNum, UpperBound, LowerBound
LowerBound = 1 'Put In the first picture #
UpperBound = 10 'Put In the last picture #
RandomNum = Int((UpperBound - LowerBound + 1) * Rnd + LowerBound)
%>
<IMG SRC="pic<% = RandomNum %>.jpg">
</CENTER>
<!--Copy End here-->
</BODY>
</HTML>
 

 

Contribute content or training reports / feedback / Comments
job placement papers
All rights reserved © copyright 123ENG