Can u help this newbie plz??

wxdqz

New Member
I first tried to use javascript a few nites ago and found this site. I am trying to use the "change two images" script available here. it seems straightforward enough but when i preview my page, all i see is white boxes with red crosses. I am sure i have replaced all relevant parts with "myimages".gir/jps..but i am unsure about the following code

var dtext = new Image();
var dlarge = new Image();
var stext = new Image();
var slarge = new Image();
var ttext = new Image();
var tlarge = new Image();

Do i include my image.gif/jpgs inside the () here also? and if not, can anyone help me out with this :) Thanks
 
Back
Top