Mercurial > hg > digilib
comparison client/digitallibrary/jquery/jquery-test.html @ 606:d08d095430c3 jquery
keeping img tag for embedded mode seems to work now
author | robcast |
---|---|
date | Sun, 16 Jan 2011 00:56:59 +0100 |
parents | 13c8b1ad99d4 |
children |
comparison
equal
deleted
inserted
replaced
605:959bf7c3d684 | 606:d08d095430c3 |
---|---|
1 <?xml version="1.0" ?> | |
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 <html xmlns="http://www.w3.org/1999/xhtml"> | 2 <html xmlns="http://www.w3.org/1999/xhtml"> |
4 <head> | 3 <head> |
5 <title>Digilib jQuery Test HTML</title> | 4 <title>Digilib jQuery Test HTML</title> |
6 | 5 |
21 <script type="text/javascript" src="jquery.digilib.js"></script> | 20 <script type="text/javascript" src="jquery.digilib.js"></script> |
22 | 21 |
23 | 22 |
24 <script type="text/javascript"> | 23 <script type="text/javascript"> |
25 $(document).ready(function(){ | 24 $(document).ready(function(){ |
26 // $('div.digilib').children('img').attr('src', ''); | |
27 // $('div.digilib').children('img').remove(); | |
28 $('div.digilib').digilib({interactionMode : 'embedded'}); | 25 $('div.digilib').digilib({interactionMode : 'embedded'}); |
29 | 26 |
30 $('div.digilib').each(function(){ | 27 $('div.digilib').each(function(){ |
31 console.log($(this).data('digilib').settings); | 28 console.log($(this).data('digilib').settings); |
32 }); | 29 }); |