Unit 7 Essay Criminal Law
(function(){ /* Notes oooooooooooooooooooooooooooooooooooooooooooooooooo */ function main() { /* Normalize oooooooooooooooooooooooooooooooooooooooooooooooooo */ if (!window.console) console = {log: function() {}}; console.log("splash.js() \n--------------------------------------------------"); // console.log("splash.js main()"); /* General oooooooooooooooooooooooooooooooooooooooooooooooooo */ var myEnableTouchStyling = new EnableTouchStyling(); if( myEnableTouchStyling.isTouch() ){ mySplashTouch = new SplashTouch(); }else{ mySplashNonTouch = new SplashNonTouch(); } detectWebFrame( myEnableTouchStyling.isTouch() ); } /// Stakeholders required that a message, instructing users to open presentation in a new window/tab is to display for IE9 and touch-enabled browsers. \\\ /* New Window Invite for Touch and IE9 browsers when in a web-frame : LMS Frame Limitations Workaround (including IE Quirks-mode) oooooooooooooooooooooooooooooooooooooooooooooooooo */ function detectWebFrame( isTouchIn ){ console.log("detectWebFrame()"); if(top !== self){ console.log("\tIn an iframe."); if( isTouchIn==true || typeof browserIsIE9 != 'undefined' ){ // Display New Window Invite Message $(".new_window_invite").css("display","block"); } }else{ console.log("\tNo iframe detected"); } } $(window).ready(function() { main(); }); }());