This shows you the differences between two versions of the page.
shared:homej [2013/06/30 05:34] |
shared:homej [2022/08/30 13:40] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ガードナー研究チーム ====== | ||
- | <html> | ||
- | <script type="text/javascript" language="JavaScript"> | ||
- | |||
- | // create cookie | ||
- | function createCookie(name,value,days) { | ||
- | if (days) { | ||
- | var date = new Date(); | ||
- | date.setTime(date.getTime()+(days*24*60*60*1000)); | ||
- | var expires = "; expires="+date.toGMTString(); | ||
- | } | ||
- | else var expires = ""; | ||
- | document.cookie = name+"="+value+expires+"; path=/"; | ||
- | } | ||
- | |||
- | // read cookie | ||
- | function readCookie(name) { | ||
- | var nameEQ = name + "="; | ||
- | var ca = document.cookie.split(';'); | ||
- | for(var i=0;i < ca.length;i++) { | ||
- | var c = ca[i]; | ||
- | while (c.charAt(0)==' ') c = c.substring(1,c.length); | ||
- | if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); | ||
- | } | ||
- | return null; | ||
- | } | ||
- | |||
- | // Set to how many images there are | ||
- | nImages = 4; | ||
- | |||
- | imageNames = new Array(nImages); | ||
- | imageWidth = new Array(nImages); | ||
- | imageHeight = new Array(nImages); | ||
- | |||
- | // Names of images | ||
- | imageNames[0] = 'brainnewfin800.jpg'; | ||
- | imageNames[1] = 'brain_hoodoo800.jpg'; | ||
- | imageNames[2] = 'brainwordle800.png'; | ||
- | imageNames[3] = 'brainice800.jpg'; | ||
- | //imageNames[3] = 'efficientselection800.png'; | ||
- | //imageNames[4] = 'shinjuku800.jpg'; | ||
- | |||
- | // read the cookie value for the last displayed image | ||
- | var lastImageNum = readCookie('lastImageNum'); | ||
- | |||
- | // increment value | ||
- | lastImageNum = parseInt(lastImageNum)+1; | ||
- | if (!((lastImageNum < nImages) && (lastImageNum >= 0))) | ||
- | lastImageNum = 0; | ||
- | |||
- | // save the lastImageNum | ||
- | createCookie('lastImageNum',lastImageNum,1) | ||
- | |||
- | // set the image number to display | ||
- | dispImage = lastImageNum; | ||
- | |||
- | // write out display string | ||
- | document.write('<table style="width:800px;border:0;"><tr style="border:0;"><td style="border:0;"><img src="/lib/exe/fetch.php/shared/'+imageNames[dispImage]+'" cache=cache" class="media" alt="" />'); | ||
- | </script> | ||
- | <noscript><table style="width:800px;border:0;"><tr style="border:0;"><td style="border:0;"><img src="/lib/exe/fetch.php/shared/brainnewfin800.jpg" class="media" alt="" /></noscript> | ||
- | </td> | ||
- | </tr> | ||
- | <tr style="border:0;"><td style="border:0;font-family:verdana,arial,sans-serif;font-size:14px;font-style:italic;"> | ||
- | 脳はどのような神経活動によって、視覚を認知するのでしょうか?我々は脳活動のfMRI測定、意思決定における計算理論、及び心理物理実験を組み合わせて、ヒトの視覚と脳活動の結び付きを解き明かします。</td></tr></table> | ||
- | </html> |