Click to See Complete Forum and Search --> : [RESOLVED] php require_once, title pic not showing


dmikester1
12-28-2007, 12:41 PM
I'm not sure if this would belong in the php or the css or html forum. I just started using the php require_once command to load in my footer, navigation, and header to make it so i could have multiple pages load with minimal duplicated code. Now it all works great except i can't get my title(neither the jpg, png, or gif) to show up in the header. The dimensions of the image should fit fine in the header. It just doesn't show up. Here is my site: http://umwplacement.com/mikeandreg.php
I'm using php require_once to load in the header div, navigation div, and the footer div.
Thanks
Mike

TheBearMay
12-28-2007, 12:46 PM
According to the generated source title2.png should be in the root directory of the site - is it? If it is, is the spelling and capitalization correct?

dmikester1
12-28-2007, 12:49 PM
OK, thats the really weird part. My friend also told me it was looking for that file and I thought it was just a fluke. However on my computer it says that its looking for "header.gif" Why would it be different on my computer from every other computer? And why doesn't it change when I edit the file and save it to the server?

TheBearMay
12-28-2007, 12:56 PM
Your JS is replacing the header.gif. You aren't looking at the post javascript execution generated source (view|source shows pre-execution).

dmikester1
12-28-2007, 01:04 PM
Hah hah, that was exactly the problem!! I was working on that js code a while ago and had abandoned it. Thank you so much. That was stumping me forever. :)
Mike