Coding Horror, be scared

Please fix this code!

The code is supposed to create a slideshow and have captions imbedded, instead the slideshow is half cut off and the captions are no where in sight. PLEASE HELP

Slideshow.php
/** * <p> <iframe src= "//www.cincopa.com/media-platform/iframe.aspx?fid=AgPAKis7MJB7" width="600" height="430" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen"></iframe> </p> <div id="cp_widget_98959663-2c30-4add-b333-1dc086bf07dd"> ... <div id="cp_widget_98959663-2c30-4add-b333-1dc086bf07dd"> <script type="text/javascript"> // <![CDATA[ var cpo = []; cpo["_object"] ="cp_widget_98959663-2c30-4add-b333-1dc086bf07dd"; cpo["_fid"] = "AgPAKis7MJB7"; var _cpmp = _cpmp || []; _cpmp.push(cpo); (function() { var cp = document.createElement("script"); cp.type = "text/javascript"; cp.async = true; cp.src = "//www.cincopa.com/media-platform/runtime/libasync.js"; var c = document.getElementsByTagName("script")[0]; c.parentNode.insertBefore(cp, c); })(); </script><noscript>Powered by Cincopa <a href= 'http://www.cincopa.com/video-hosting'>Video Hosting for Business</a> solution.<span>Pet-a-Palooza</span><span>Various vendors sold their goods that related to dogs. This vendor sold personalized dog paw and nose impression necklaces and other jewelry. Photo by Mary McNamara.</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>720</span><span>height</span> <span>960</span><span>Cover your K9, a police dog organization brought a booth to Pet-a-Palooza. Photo by Emilia Diaz-Magaloni.</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>960</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>720</span><span>height</span> <span>960</span><span>Dogs of all shapes and sizes came out to enjoy the fun. Photo by Mary McNamara.</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>720</span><span>height</span> <span>960</span><span>A dog sketch artist painted pups who came to Pet-a-Palooza. Photo by Emilia Diaz-Magaloni.</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>960</span><span>The winners of the Pet-a-Palooza fashion show were pugs Minnie and Mattie. Photo by Mary McNamara.</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>720</span><span>Pugs Minnie and Mattie have famous Facebook pages with over 900,000 and</span> <span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>960</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>960</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>720</span><span>height</span> <span>960</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>960</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>720</span><span>height</span> <span>960</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>960</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>720</span><span>height</span> <span>960</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>960</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>960</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>720</span><span>Various vendors came to Pet-a-Palooza to sell their goods. The vendor sold customized paw and nose imprint jewelry. Photo by Mary McNamara.</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>720</span><span>height</span> <span>960</span><span>The Cover Your K9 group, a police dog organization came to Pet-a-Palooza. Photo by Emilia Diaz-Magaloni.</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>960</span><span>Dogs of all shapes and sizes came to enjoy the fun. Photo by Mary McNamara.</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>720</span><span>height</span> <span>960</span><span>Dog sketch artist painted pups who came to Pet-a-Palooza. Photo by Emilia Diaz-Magaloni.</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>960</span><span>Minnie and Matti, the winners of the dog fashion show pose after their great victory. Photo by Mary McNamara.</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>720</span><span>Pugs Minnie and Matti with over 900,000 and 33,000 likes on Facebook respectively show off their winning costumes. Photo by Emilia Diaz-Magaloni.</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>960</span><span>White golden doodle sits calmly in shade. Photo by Mary McNamara.</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>960</span><span>Yellow Labrador Jake shows off his 2nd place costume for the fashion show. Photo by Emilia Diaz-Magaloni.</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>960</span><span>Puppies dress up for this big event. Photo by Mary McNamara</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>720</span><span>height</span> <span>960</span><span>Two Corgis sit in a basket enjoying the shade. Photo by Emilia Diaz-Magaloni</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>960</span><span>A small poka-dotted chihuahua shows of her look. Photo by Emilia Diaz-Magaloni</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>720</span><span>height</span> <span>960</span><span>Many people gather at town and country awaiting the main attraction: the Puppypalooza fashion show. Photo by Emilia Diaz-Magaloni</span><span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>960</span><span>Small chihuahua Gigi models a pair of snazzy red sunglasses. Photo by Mary Mcnamara</span> <span>originaldate</span> <span>1/1/0001 6:00:00 AM</span><span>width</span> <span>960</span><span>height</span> <span>960</span></noscript> </div> </div> * Any language, just go for it. */
Slideshow.php
/** * <iframe src="//www.cincopa.com/media-platform/iframe.aspx?fid=AgPAKis7MJB7" width="600" height="430" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen"></iframe> <iframe src="//www.cincopa.com/media-platform/iframe.aspx?fid=AgPAKis7MJB7" width="600" height="430" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen"></iframe> * Any language, just go for it. */

Reactions 0 reactions

No reactions yet, be the first: comment or tweak the code

Comment on this code:

Please Login or Register to leave a comment.