Show
Ignore:
Timestamp:
12.12.2014 20:02:56 (5 years ago)
Author:
davidb
Message:

Extra code added so initial flag is one based on JSESSIONID, if it exists

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/nz-flag-design/trunk/render-3d/flag.html

    r29608 r29616  
    11<!DOCTYPE html> 
    2  
    3 <html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
     2<html lang="en"> 
     3  <head> 
     4    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
    45 
    56        <title>three.js webgl - 3D Flag hhh</title> 
     
    8990        </script> 
    9091         
     92        <script type="text/javascript" src="../js/jquery-1.11.1.js"></script> 
     93        <script type="text/javascript" src="../js/jquery.cookie.js"></script> 
    9194 
    9295        <script type="text/javascript" src="./Flag_files/Three.js"></script> 
     
    260263                /* ------------------ */ 
    261264                 
     265                var session_id = $.cookie('JSESSIONID'); 
     266                if (session_id) { 
     267                  flags[0] = "flag-" + session_id + ".png"; 
     268                } 
     269 
    262270                // load flag textures 
    263271                var i;