More Related Content
Similar to Keynote In Japanese
Similar to Keynote In Japanese (20)
Keynote In Japanese
- 4. リレー設定例 <RELAY_CONFIG> <OBJECT TYPE="relay" NAME="Camp07"> <PREF NAME="enabled">true</PREF> <OBJECT CLASS="source" TYPE="udp_source"> <PREF NAME="in_addr">192.168.0.11</PREF> <LIST-PREF NAME="udp_ports"> <VALUE>7120</VALUE> <VALUE>7122</VALUE> </LIST-PREF> </OBJECT> <OBJECT CLASS="destination" TYPE="udp_destination"> <PREF NAME="dest_addr"> 192.168.0.11 </PREF> <LIST-PREF NAME="udp_ports"> <VALUE> 8120 </VALUE> <VALUE> 8122 </VALUE> </LIST-PREF> </OBJECT> <OBJECT CLASS="destination" TYPE="udp_destination"> <PREF NAME="dest_addr">192.168.0.13</PREF> <LIST-PREF NAME="udp_ports"> <VALUE>8120</VALUE> <VALUE>8122</VALUE> </LIST-PREF> </OBJECT> </OBJECT> </RELAY_CONFIG> relayconfig.xml v=0 o=- 0 1072511234 IN IP4 127.0.0.0 s=QuickTime t=0 0 a=x-qt-text-an � ス :Macwebcaster-ML Camp07 a=x-qt-text-pc � ス :Macwebcaster-ML 2007 All Rights Reserved a=x-qt-text-ua � ス :Macwebcaster-ML a=range:npt=now- a=isma-compliance:2,2.0,2 m=audio 8120 RTP/AVP 96 c=IN IP4 192.168.0.11 a=rtpmap:96 mpeg4-generic/44100/1 a=fmtp:96 profile-level-id=15;mode=AAC-hbr;sizelength=13 ;indexlength=3;indexdeltalength=3;config=1208 a=mpeg4-esid:101 b=AS:55 a=x-bufferdelay:8.000000 m=video 8122 RTP/AVP 97 c=IN IP4 192.168.0.11 a=rtpmap:97 H264/90000 a=fmtp:97 packetization-mode=1;profile-level-id=4D4015;sprop- parameter-sets=J01AFakYMhP94A1BgEGtsK173wE=,KM4JF6A= a=mpeg4-esid:201 a=cliprect:0,0,300,400 a=framesize:97 400-300 b=AS:600 a=x-bufferdelay:8.000000 camp07.sdp
- 6. 実際の JavaScript <a onclick="return gotoURL()" href="../metafiles/server01.qtl"><img src="4_topr1_c4.gif" ></a> <script type="text/javascript"> <!-- // parameters var setURL = new Array() var setPAR = new Array(); setURL[0] = 'http://www.macwebcaster.com/metafiles/server01.qtl'; setPAR[0] = 1000 ; setURL[1] = 'http://www.macwebcaster.com/metafiles/server02.qtl'; setPAR[1] = 2000 ; setURL[2] = 'http://www.macwebcaster.com/metafiles/server03.qtl'; setPAR[2] = 0; setURL[3] = 'http://www.macwebcaster.com/metafiles/server04.qtl'; setPAR[3] = 0; setURL[4] = 'http://www.macwebcaster.com/metafiles/server05.qtl'; setPAR[4] = 0; var countNUM; var allPAR = 0; for(countNUM=0;countNUM<setPAR.length;countNUM++){ allPAR += setPAR[countNUM]; } // Randominzing var randomNUM = Math.floor(Math.random() * allPAR); function gotoURL(){ document.form01.text01.value = randomNUM; var tempNUM = 0; if(randomNUM < 0 || randomNUM > allPAR){ // if Randomizing fails, use URL of herf return true; }else{ countNUM = 0; while(randomNUM >= tempNUM){ tempNUM += setPAR[countNUM]; countNUM++; } location.href = setURL[countNUM-1]; document.form01.text02.value = setURL[countNUM-1]; return false; } } //--> </script> リンク部分 振り分け用スクリプトその1 振り分け用スクリプトその2