Template:Team:HokkaidoU Japan/bluescreen

From 2011.igem.org

(Difference between revisions)
 
Line 2: Line 2:
<script type="text/javascript">
<script type="text/javascript">
$(function(){
$(function(){
-
    if($.cookie('hokkaidou-bluescreen')) return;
 
     if($.browser.msie){
     if($.browser.msie){
         if($.browser.version < 9){
         if($.browser.version < 9){
Line 10: Line 9:
             $container.append('<p>This version of Internet Explorer is not supported for rendering this web site correctly.</p>')
             $container.append('<p>This version of Internet Explorer is not supported for rendering this web site correctly.</p>')
             $container.append('<p>That mean the design of this web site may look stupid and ugly.</p>');
             $container.append('<p>That mean the design of this web site may look stupid and ugly.</p>');
-
             $container.append('<p><strong>Click OK to visit our web site anyway</strong> but we recommend you to install latest Internet Explorer or use different really nice browser such as Firefox, Opera, Google Chrome. These browser are far better than Internet Explorer so we think it is good time  to change your browser :-)</p>');
+
             $container.append('<p><strong>Click OK to visit our web site anyway</strong> but we recommend you to install latest Internet Explorer or use different really nice browser such as <a href="http://www.mozilla.org/firefox/" target="_blank">Firefox</a>, <a href="http://www.opera.com/" target="_blank">Opera</a>, <a href="http://www.google.com/chrome" target="_blank">Google Chrome</a>. These browser are far better than Internet Explorer so we think it is good time  to change your browser :-)</p>');
             $('body').append($screen.append($container));
             $('body').append($screen.append($container));
             var $button = $('<div>').addClass('apply-button').text('OK').bind('click', function(){
             var $button = $('<div>').addClass('apply-button').text('OK').bind('click', function(){
                 $screen.remove();
                 $screen.remove();
                 $('#hokkaidou-container').show();
                 $('#hokkaidou-container').show();
-
                $.cookie('hokkaidou-bluescreen', true);
 
             });
             });
             $screen.append($button);
             $screen.append($button);
Line 38: Line 36:
div.bluescreen div.blue-container{
div.bluescreen div.blue-container{
     padding: 20px 50px;
     padding: 20px 50px;
 +
}
 +
div.bluescreen div.blue-container a {
 +
    color: white;
 +
    text-decoration: underline;
}
}
div.bluescreen div.apply-button {
div.bluescreen div.apply-button {

Latest revision as of 03:36, 6 October 2011