Changeset 29616 for other-projects


Ignore:
Timestamp:
12/12/14 20:02:56 (6 years ago)
Author:
davidb
Message:

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

File:
1 edited

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;
Note: See TracChangeset for help on using the changeset viewer.