ksylvest / jquery-lighter

A jQuery plugin for zoomable images.
http://ksylvest.github.com/jquery-lighter/
MIT License
53 stars 24 forks source link

.xhtml Problem #4

Open elEglon opened 10 years ago

elEglon commented 10 years ago

Hi all, Using html docs everything is fine, but xhtml (<?xml version="1.0" encoding="UTF-8" standalone="no"?>) fails.

Any ideas?

Thank you and best wishes

Eglon

ksylvest commented 10 years ago

What exactly fails? I would highly recommend you don't use that doctype. I can't think of any reason to not use the HTML 5 doctype.

elEglon commented 10 years ago

Thank you for your interest and your fast answer.

I need to work with xhtml because it's an e-book issue. When I test your code inside a xhtml-doc it simply fails, as html everythig runs fine.

elEglon commented 10 years ago

Additinal info:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:ev="http://www.w3.org/2001/xml-events">

works as index.html fails as index.xhtml