Jump to content

How Was This Done?


udon

Recommended Posts

<script language=JavaScript>

var linkpix=new Array()

linkpix[0]=''

linkpix[1]='<img src="Pyramids_1.gif" width="330" height="264">'

linkpix[2]='<img src="Pyramids_2.gif" width="330" height="264">'

linkpix[3]='<img src="Pyramids_3.gif" width="330" height="264">'

linkpix[4]='<img src="Pyramids_4.gif" width="330" height="264">'

linkpix[5]='<img src="Pyramids_5.gif" width="330" height="264">'

linkpix[6]='<img src="Pyramids_6.gif" width="330" height="264">'

var ns6=document.getElementById&&!document.all

var ie=document.all

function show_pix(thepix, whichdiv){

if (ie) eval("document.all."+whichdiv).innerHTML=linkpix[thepix]

else if (ns6) document.getElementById(whichdiv).innerHTML=linkpix[thepix] }

function reset(whichdiv){

if (ie) eval("document.all."+whichdiv).innerHTML=''

else if (ns6) document.getElementById(whichdiv).innerHTML=''}

//-->

</SCRIPT>

Link to comment
Share on other sites

and the code that calls the javascript :

<TD class=smallWhite onmousedown="bgColor='#FAB846'"

onmouseover="bgColor='#D86B17'; "

style="CURSOR: hand" onclick="show_pix(1,'div1')"

onmouseout="bgColor=''">1<BR><IMG height=70

hspace=3

src="BOMBING THE PYRAMIDS - Ahmed & Mohammed's Hideout_files/Pyramids-1-T.gif"

width=88 border=1></TD>

Edited by penelope
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.






×
×
  • Create New...