Nothing and that's the problem. That is all the JS I'm trying to use. A super-simple onmouseover and onmouseout to swap out images on the navigational buttons. Shouldn't be a problem, right? The page is completely ignoring it like it is not even in there.
I find it obvious that it has something to do with the fact that it's in a .php file because I had this same html (w/ JS) in an .html file and it worked like I thought it should but...
User Profile
Collapse
Profile Sidebar
Collapse
luminary4him
Last Activity: Aug 31 '06, 01:24 AM
Joined: Jun 17 '06
Location: Arkansas
-
Okay.. here's a question for you:
I have been trying to get my Javascript to work on my php page and it doesn't seem to want to. I was beginning to think that maybe you couldn't do that. But obviously from what you guys are saying you should be able to.
So here's my php in which I tried to insert some JS in the echo statement:
...Code:<? if ($page == 'index') { echo "<imgLeave a comment:
-
I'm not sure I know what you mean... like change the background color of particular cells when the mouse moves over them, or something more complex?Leave a comment:
-
formatting options?
Yes, like most everyone else here I am also building a site. ;) I am used to formatting with tables just because that's what I learned. However, I'm realizing that my formatting methods are not appreciated in FF like they are in IE. (My solution to something slightly off is to insert a "margin-left: -2px;" or something like that and I'm beginning to think that's not such a good idea...)
Does anyone have any suggestions...
No activity results to display
Show More
Leave a comment: