From: vincent@cubedesigners.com Date: Tue, 24 Apr 2012 14:29:15 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=302428f2a05e5713bf2d3b22aaa20441d7526c7f;p=cubeextranet.git --- diff --git a/fluidbook/compile/_js/fluidbook.js b/fluidbook/compile/_js/fluidbook.js index b784fec9e..8f8d625be 100644 --- a/fluidbook/compile/_js/fluidbook.js +++ b/fluidbook/compile/_js/fluidbook.js @@ -134,6 +134,20 @@ function _isMobile(devices){ return false; } +function redirectPDF(){ + window.location='data/document.pdf'; +} + +function redirectMobile(){ + var get=parseGet(); + var page='index.html'; + if(get['widget']!=undefined && get['widget']=='1'){ + page='widget.html'; + } + window.location='m/'+page; +} + + function wheel(event){ var delta = 0; if (!event) /* For IE. */ diff --git a/fluidbook/compile/fluidbook.js b/fluidbook/compile/fluidbook.js index deeb6ef9f..a4e6c8314 100644 --- a/fluidbook/compile/fluidbook.js +++ b/fluidbook/compile/fluidbook.js @@ -69,6 +69,8 @@ function getCookie(nom) } return null; } + + function setCookie(nom, valeur) { var argv=setCookie.arguments; diff --git a/fluidbook/compile/index.html b/fluidbook/compile/index.html index 2925fffee..388ebfbbe 100644 --- a/fluidbook/compile/index.html +++ b/fluidbook/compile/index.html @@ -17,7 +17,6 @@ - $redirectScript $ga