Team:UCLondon/Templates/bottom-contentv2

From 2012e.igem.org

(Difference between revisions)
Line 280: Line 280:
<ul class="sponsor-list">
<ul class="sponsor-list">
<a href="http://www.clcbio.com" class="sponsor-logo"><li><img src="http://www.clcbio.com/fileadmin/template/main/images/clcbio_logo_no_mirror.png"/></li></a>
<a href="http://www.clcbio.com" class="sponsor-logo"><li><img src="http://www.clcbio.com/fileadmin/template/main/images/clcbio_logo_no_mirror.png"/></li></a>
-
<a href="#" class="sponsor-logo" onclick="sponsoring()"><li>click to sponsor!</li></a>
+
<a href="#" class="sponsor-logo nothing" onclick="sponsoring()"><li>click to sponsor!</li></a>
-
<a href="#" class="sponsor-logo" onclick="sponsoring()"><li>click to sponsor!</li></a>
+
<a href="#" class="sponsor-logo nothing" onclick="sponsoring()"><li>click to sponsor!</li></a>
-
<a href="#" class="sponsor-logo" onclick="sponsoring()"><li>click to sponsor!</li></a>
+
<a href="#" class="sponsor-logo nothing" onclick="sponsoring()"><li>click to sponsor!</li></a>
</ul>
</ul>
</div>
</div>
Line 324: Line 324:
*/
*/
-
        loading = $('#load').parent().html();
 
});
});
Line 364: Line 363:
   
   
-
function sponsoring() { alert('hello'); return false; }
+
$(document).ready(function(event) {
 +
  loading = $('#load').parent().html();
 +
 
 +
  $('body').off('click', '.nothing', openBox);
 +
  $('body').on('click', '.nothing', openBox);
 +
 
 +
  $('body').off('click', '#close-box', closeBox);
 +
  $('body').on('click', '#close-box', closeBox);
 +
     
 +
});

Revision as of 03:55, 19 September 2012