Collaborama About Help Contact Anonymous [login] Source: site.view [edit] Function name: mediaWall Arguments: Description: Page type: html Render function: Module: sandbox Page source: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-US" xmlns="http://www.w3.org/1999/xhtml" dir="ltr"> <head> <title>PhotoWall</title> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <link rel="shortcut icon" href="http://www.collaborama.com:4110/assets/html/css/images/favicon.ico?cb=1" /> <link rel="stylesheet" href="http://www.collaborama.com/assets/html/css/style.css" type="text/css" media="all" /> <link rel="stylesheet" href="http://www.collaborama.com/assets/html/js/fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="all" /> <!--[if IE 6]> <link rel="stylesheet" href="http://www.collaborama.com/assets/html/css/ie6.css" type="text/css" media="all" /> <![endif]--> <script src="http://www.collaborama.com/assets/html/js/jquery-1.4.2.min.js" type="text/javascript" charset="utf-8"></script> <script src="http://www.collaborama.com/assets/html/js/jquery-ui-1.8.5.custom.min.js" type="text/javascript" charset="utf-8"></script> <script src="http://www.collaborama.com/assets/html/js/jquery.easing.1.3.js" type="text/javascript" charset="utf-8"></script> <script src="http://www.collaborama.com/assets/html/js/fancybox/jquery.fancybox-1.3.1.js" type="text/javascript" charset="utf-8"></script> <script src="http://www.collaborama.com/assets/html/js/fancybox/jquery.mousewheel-3.0.2.pack.js" type="text/javascript" charset="utf-8"></script> <script src="http://www.collaborama.com/assets/html/js/js-func.js" type="text/javascript" charset="utf-8"></script> </head> <body> <!-- shell --> <div class="shell"> <!-- header --> <div id="header"> <div class="cl"> </div> <!-- logo --> <h1 id="logo" class="notext"><a href="#">PhotoWall</a></h1> <!-- end logo --> <div class="cl"> </div> </div> <!-- end header --> <!-- main --> <div id="main"> <webl> var res = WubCall("getMedia", ["TV1"]); if Size(res) == 0 then "No Photos" else var s = ""; every photo in res do s = s + ` <!-- image box --> <div class="image-box"> <div class="holder"> <span class="drag-pointer"> </span> <!-- photo cover --> <div class="photo-cover"> <a href="` + photo.url + `" class="big-image"><img width=167 height=107 src="` + photo.url + `" alt="" /></a> </div> <!-- end photo cover --> <!-- photo name --> <p class="photo-name">` + photo.caption + `</p> <!-- end photo name --> </div> </div> <!-- end image-box --> `; end; s; end; </webl> <div class="cl"> </div> </div> <!-- end main --> <!-- footer --> </div> <!-- end shell --> </body> </html>