Why did you remove the line breaks? No one told you to remove those. They are essential for the script on the page to work properly.
The good news is that the slideshow script fadeslideshow.js is now properly linked in.
But you have to restore those line breaks. Just that much will get it working. But for a better experience cross browser, replace everything with this:
HTML Code:
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src=" https://sites.google.com/site/yelpcss/facebook/fadeslideshow.js">
/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [500, 350], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://img825.imageshack.us/img825/5091/unled1pig.jpg", "http://bit.ly/nerdydancingyelp", "_new", "The nerdier you dance, the better! Make sure to RSVP. Click for more details."],
["http://img809.imageshack.us/img809/6184/roboday.jpg", "http://bit.ly/roboday", "_new", "Need some comic books? Rob O. has the scoop on the Sci-Fi Center."],
["http://bit.ly/anthonyrnr", "http://bit.ly/rocknrollday", "_new", "Check out some killer photos from last month's event at the Hard Rock Cafe."]
//<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:3500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: "slideshowtoggler"
})
</script>
<style type="text/css">
#fadeshow1 {
height: 350px;
}
#fadeshow1, #slideshowtoggler {
margin: 0 auto;
width: 500px;
}
#slideshowtoggler, .descpanelfg {
text-align: center;
}
</style>
</head>
<body>
<div id="fadeshow1"></div>
<div id="slideshowtoggler">
<a href="#" class="prev"><img src="http://img651.imageshack.us/img651/8282/previousu.png" style="border-width:0" /></a> <span class="status" style="margin:0 120px; color: d20000; font-family: verdana; font-size: 8pt; font-weight:bold"></span><a href="#" class="next"><img src="http://img3.imageshack.us/img3/315/nextnl.png" style="border-width:0" /></a>
</div>
<br><br>
<font size="2"><font face="arial">Hey Yelpers! We want to hear your thoughts! Post your comments, suggestions and confessions on our Wall. Find it on your left side below the profile picture.</font>
<br><br><img src="http://img263.imageshack.us/img263/7963/wallqu.png">
</body>
</html>
Bookmarks