I use dreamweaver to code, and I've always used the generic mouseover scripts that dreamweaver generates for you when doing mousevers. I'm playing around with php right now and have become stuck trying to get mouseovers to work properly the way i'm used to doing them. I'll only post the relevant code below.
Here's another way i tried with the same problem. when i put up the page and view the source, the image path in the js events is highlighted in red. this is the same thing that happens the first way i posted too.
hmmm...thanks Chanie. the frustrating thing abot all that is that originally I DID have the names in the code. and then somewhere in the process of trying to get at the root of the problem i lost them. stupid.
var dynimages=new Array() dynimages=["Images/Projects/Catasauqua/Big/CA002.jpg", " "]dynimages=["Images/Projects/Catasauqua/Big/CA003.jpg", " "]dynimages=["Images/Projects/Catasauqua/Big/CA001.jpg", " "]
the problem is that for the code to execute correctly it needs to have carriage returns in between each array declaration. as in:
I'm sure this is simple, but I don't know how to do it. How do I make it so that when the php generates the code, it generates each declaration on a new line?
Posts: 8741 | Registered: Apr 2001
| IP: Logged |