Issues with photoswipe and Ajax
The following is code of my page. The Colorbox Functionality works if i test the page individually but breaks down on the device.Basically its an multi tabbed page and the present tab holds the image.
Can anybody please let me know why?
- <!DOCTYPE html>
- <html >
- <head>
- <title>
- Temp1
- </title>
- <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0-rc.2/jquery.mobile-1.2.0-rc.2.min.css" />
- <script src="http://code.jquery.com/jquery-1.8.1.min.js"></script>
- <script src="http://code.jquery.com/mobile/1.2.0-rc.2/jquery.mobile-1.2.0-rc.2.min.js"></script>
-
- <script src="js/lightbox.js"></script>
- <link href="css/lightbox.css" rel="stylesheet" />
-
- </head>
- <body>
- <div data-role="page" data-add-back-btn="true">
-
- <div data-role="header" data-position="fixed" data-id="headernav">
- <h1>Temp Heading</h1>
- <a href="index.html" class="ui-btn-left" data-icon="home">Home</a>
- <div data-role="navbar">
- <ul>
- <li>
- <a href="TempDescription.html" data-transition="slide" ><b>Temp Description</b></a>
- </li>
- <li>
- <a href="Tempillustration.html" data-transition="slide" class="ui-btn-active ui-state-persist" ><b>Temp Illustration</b></a>
- </li>
- <li>
- <a href="Equipment.html" data-transition="slide"><b>Equipment</b></a>
- </li>
- <li>
- <a href="Indications.html" data-transition="slide" ><b>Indications</b></a>
- </li>
- <li>
- <a href="TempComplications.html" data-transition="slide" ><b>Temp Complications</b></a>
- </li>
-
-
-
- </ul>
- </div>
- </div>
-
- <div data-role="content" id="webdev">
- <img src="Picture1.jpg" />
- <!-- <div id="demo-yl-ca">
- <a href="images/Step1.jpg" rel="lightbox[roadtrip]" title="my caption1"><img src="images/thumb/Step1.jpg" width="150" height="150" alt="Plants: image 1 0f 4 thumb" /></a>
- <a href="images/Step2.jpg" rel="lightbox[roadtrip]" title="my caption2"><img src="images/thumb/Step2.jpg" width="150" height="150" alt="Plants: image 1 0f 4 thumb" /></a>
- <a href="images/Step3.jpg" rel="lightbox[roadtrip]" title="my caption3"><img src="images/thumb/Step3.jpg" width="150" height="150" alt="Plants: image 1 0f 4 thumb" /></a>
- <a href="images/Step4.jpg" rel="lightbox[roadtrip]" title="my caption4"><img src="images/thumb/Step4.jpg" width="150" height="150" alt="Plants: image 1 0f 4 thumb" /></a>
- </div>
- <div data-role="popup" id="demo-yl-de" data-overlay-theme="a" data-theme="d" data-tolerance="15,15" class="ui-content">
- <iframe src="http://player.vimeo.com/video/41135183" width="497" height="298" seamless ></iframe>
- </div> -->
- </div>
- <div data-role="footer" data-position="fixed" data-id="footernav">
-
- <p>Footer</p>
- </div>
- </div>
-
- </body>
-
-
- <!--<script>
- $("body").append(html)
- </script>-->
- </html>