Thread: Anybody know???
View Single Post
Old 01-14-2008, 05:23 AM   #1 (permalink)
Havent_a_clue
Recruit
 
Join Date: Jan 2008
Posts: 1
Havent_a_clue is on a distinguished road
Anybody know???

I'm currently working on a project and came across this piece of code. Unfortunately, as my user name suggests, i don't know whats going on. Could anybody help???
thanks in advance...

function flip(pic, r)
{
if(r == 2)
{
source = eval(pic + "2.src");
document[pic].src = source;
}
if(r == 1)
{
source = eval(pic + "1.src");
document[pic].src = source;
}
}

function link()
{
}
Havent_a_clue is offline   Reply With Quote