View Single Post
Old 11-30-2012, 01:08 AM   #170
micster began at the beginning.
Posts: 37
Karma: 10
Join Date: May 2012
Device: none
I'm trying to use FancyBox for more things on the website. For example I want to create a modal window that has a custom <title> which is supported by FancyBox.

However there is one thing in the HTML that is causing this to not work, and several other JavaScript related problems on my site. The following code:
header ("Content-Type:application/xhtml+xml")
If I remove this bit of code or change it to "Content-Type:text/html" lot's of my JavaScript starts working again. The downside is that the details for each book no longer show up and some of the links fail to work.

Is there a way to have the site work properly without it being XHTML?
micster is offline   Reply With Quote