Team:UCLondon/Templates/Content-Slide
From 2012e.igem.org
(Difference between revisions)
Line 256: | Line 256: | ||
(d.webkitCancelFullScreen == undefined) ? "" : d.webkitCancelFullScreen(); | (d.webkitCancelFullScreen == undefined) ? "" : d.webkitCancelFullScreen(); | ||
(d.mozCancelFullScreen == undefined) ? "" : d.mozCancelFullScreen(); | (d.mozCancelFullScreen == undefined) ? "" : d.mozCancelFullScreen(); | ||
+ | |||
+ | // add close button back | ||
+ | $('#close-box4').css('display' : 'block'); | ||
} | } | ||
else { | else { | ||
Line 262: | Line 265: | ||
(e.webkitRequestFullScreen == undefined) ? "" : e.webkitRequestFullScreen(); | (e.webkitRequestFullScreen == undefined) ? "" : e.webkitRequestFullScreen(); | ||
(e.mozRequestFullScreen == undefined) ? "" : e.mozRequestFullScreen(); | (e.mozRequestFullScreen == undefined) ? "" : e.mozRequestFullScreen(); | ||
+ | |||
+ | |||
+ | // remove close button so cannot end up in blank screen | ||
+ | $('#close-box4').css('display' : 'none'); | ||
} | } | ||
} | } |
Revision as of 23:58, 18 October 2012