1ã€ã®ãµã€ããéçºãããšãã«ãããŸããŸãªãã©ãŠã¶ãŒã§window.opené¢æ°ã®åäœã確èªããå¿
èŠããããŸããã çµæãäœæããŠã¬ã€ã¢ãŠãããããšã«ããŸããã誰ããããå¿
èŠãšãã誰ãè¿œå ããããããããŸãã
ãã¹ãã«ã¯ãFireFox 3ããŒã¿3ãNetscape Navigator 9ãInternet Explorer 6ãOpera 9ãKonqueror 3.5ã䜿çšããŸããïŒãããã¯ã®æåŸã«ãSafariãåå¥ã«ãã¹ãããŸãïŒã åæã«ãFireFox 3ã¯2ã€ã®æ§æã§ãã¹ããããŸããïŒããã©ã«ããšTabMixPlusïŒæ°ãããŠã£ã³ããŠã§ãããã¢ãããéãèš±å¯ãæã€ïŒã ã¯ãŒã¯ã¹ããŒã¹ïŒDebianäžã®KDE 3.5ã
1.ãã©ã¡ãŒã¿ãŒãªãã®åŒã³åºã
æåã«èšèšã䜿çšããïŒ
window.openïŒ 'http://www.w3.org/'ã 'popup'ïŒ;
FireFox 3ïŒTMPïŒãã«ã¹ã¯ãªãŒã³ã«æ倧åããããã«ãµã€ãºã®ãŠã£ã³ããŠãéããŸããïŒèŠªã®ããã«ïŒã
Firefox 3æ°ããã¿ããéããŸããã
ããã²ãŒã¿ãŒ9ãã«ã¹ã¯ãªãŒã³ã«æ倧åããããã«ãµã€ãºã®ãŠã£ã³ããŠãéããŸããïŒèŠªã®ããã«ïŒã
Opera 9æ°ããã¿ããéããŸããã
IE 6ãã«ã¹ã¯ãªãŒã³ã«æ倧åããããã«ãµã€ãºã®ãŠã£ã³ããŠãéããŸããïŒèŠªã®ããã«ïŒã
ã³ã³ã¯ã¬ãŒã«ããã©ã«ãã®ãµã€ãºã§ãŠã£ã³ããŠãéããŸããïŒèŠªãŠã£ã³ããŠã¯ãã¹ã¯ãããå
šäœã«æ¡å€§ãããŸããïŒã
2.ãŠã£ã³ããŠã®å¯žæ³
æ°ãããŠã£ã³ããŠã®å¯žæ³ãèšå®ããŸããã
window.openïŒ 'http://www.w3.org/'ã 'popup'ã 'width = 640ãheight = 480'ïŒ;
FireFox 3 ïŒTMPã®æç¡ã«ãããããïŒ640x480ãã¯ã»ã«ã®
衚瀺é åãæã€ãŠã£ã³ããŠãéããŸããã ãŠã£ã³ããŠã«ã¯ãã¹ããŒã¿ã¹ããŒãšã¢ãã¬ã¹ããŒïŒéã¢ã¯ãã£ãïŒã衚瀺ãããŸãã
ã¹ããŒã¿ã¹ããŒãã¢ãã¬ã¹ããŒãã¿ã€ãã«ããŒããŠã£ã³ããŠã®å¢çç·ã«ããããŠã£ã³ããŠèªäœãæå®ããããµã€ãºãè¶
ããŠããŸãã ãŠã£ã³ããŠãµã€ãºã¯å¯å€ã§ãã
Navigaror 9ãšKonqueror640x480ãã¯ã»ã«ã®
衚瀺é åãæã€ãŠã£ã³ããŠãéããŸããã ãŠã£ã³ããŠã®ã¿ã€ãã«ãšå¢çç·ã«ããããŠã£ã³ããŠèªäœãæå®ããããµã€ãºãè¶
ããŠããŸãã
ãŠã£ã³ããŠãµã€ãºã¯å¯å€ã§ãã
Opera 9640x480ãã¯ã»ã«ã®
衚瀺é åãæã€ãŠã£ã³ããŠãéããŸããã ãŠã£ã³ããŠã®ã¿ã€ãã«ãšå¢çç·ã«ããããŠã£ã³ããŠèªäœãæå®ããããµã€ãºãè¶
ããŠããŸãã
ãŸãã銬ã«ã¯å°ããªããã«ããããæŒããš
ããã²ãŒã·ã§ã³ããã«ã«å±éããŸãã ãã
ã«ãã ã衚瀺é åã
çž®å°ãã ããŠã£ã³ããŠãµã€ãºã¯å€æŽãããŸããã ãŠã£ã³ããŠã®ãµã€ãºã¯å¯å€ã§ãïŒããŠã¹ã䜿çšãããŠãŒã¶ãŒãæå³ããŸãïŒã
IE 6640x480ãã¯ã»ã«ã®
衚瀺é åãæã€ãŠã£ã³ããŠãéããŸããã ãŠã£ã³ããŠã®ã¿ã€ãã«ãšå¢çç·ã«ããããŠã£ã³ããŠèªäœãæå®ããããµã€ãºãè¶
ããŠããŸãã ãŠã£ã³ããŠãµã€ãºã¯ãµã€ãºå€æŽã§ã
ãŸãã ã
* * *
ä»ãç§ã¯æããã«ã¢ãã¿ãŒã®è§£å床ãè¶
ãããµã€ãºã«ãŠã£ã³ããŠãèšå®ããŸãã
window.openïŒ 'http://www.w3.org/'ã 'popup'ã 'width = 2000ãheight = 1200'ïŒ;
FireFox 3ãNavigator 9ãKonquerorãŠã£ã³ããŠãéãããã¹ã¯ãããå
šäœã«æ¡å€§ããŸããã FF3ã§ã¯ããŠã£ã³ããŠã«ã¹ããŒã¿ã¹ããŒãšã¢ãã¬ã¹ããŒïŒéã¢ã¯ãã£ãïŒã衚瀺ãããŸãã
Opera 9æ°ããã¿ããéããŸããã
IE 6圌ã¯ããã¹ãŠã®ããã«ïŒã¿ã¹ã¯ãã¡ãã¥ãŒãªã©ïŒãå«ãç»é¢å
šäœãã«ããŒãããŠã£ã³ããŠãéããŸããã ãŠã£ã³ããŠã®ã¿ã€ãã«ã¯ç»é¢å€ã§ãã
çµè«- ãã¹ãŠã®ãã©ãŠã¶ã¯ãæå®ããããµã€ãºããã¥ãŒããŒãã®ãµã€ãºãšèŠãªããŸãã
- å®éã®ãŠã£ã³ããŠãµã€ãºã¯åžžã«æå®ããããã®ããã倧ãããè¿œå ã®ããã«ãååšããããããã©ãŠã¶ããšã«éããç°ãªããŸãã
- Internet Explorer 6ã§ã¯ããŠã£ã³ããŠã®ãµã€ãºãæåã§å€æŽããããšã¯ã§ããŸããã ãšããã§ãããã¯window.openã®æ£ããåäœã§ãã ãã®é¢æ°ã®åŒã³åºãã§æå®ãããŠããªããã¹ãŠã®ãã©ã¡ãŒã¿ãŒã¯ã "no"ïŒãµã€ãºå€æŽå¯èœãå«ãïŒãšçãããšèŠãªãããå¿
èŠããããŸãã ãŠãŒã¶ãŒã®èŠ³ç¹ããã¯å¿
ããã䟿å©ã§ã¯ãããŸãããã
- éããããŠã£ã³ããŠã®ãµã€ãºãç£èŠããå¿
èŠããããŸãã IE6ã®å€§ããªãµã€ãºã§ã¯ããŠãŒã¶ãŒã®ãã¹ã¯ãããå
šäœãã«ããŒã§ããŸãã
3.ããžã·ã§ãã³ã°
次ã®è¡ã¯ããŠã£ã³ããŠã®åº§æšã§ãã ããã«ã¯2çµã®ããããã£ããããŸã
-IEã® å·Šãš
äž ãNNã®
screenXãš
screenYã§ãã
ãããã¯ããã¹ãŠã®ãã©ãŠã¶ãŒã§ãã¹ãŠã®ãã¢ãè©ŠããŸããã
window.openïŒ 'http://www.w3.org/'ã 'popup'ã 'width = 320ãheight = 240ãleft = 50ãtop = 50'ïŒ;
FireFox 3 ãNavigator 9ãIE6ãKonqueror4ã€ã®ãã©ãŠã¶ã¯ãã¹ãŠã
å·Šãš
äžã®ããããã£ãç解ããç»é¢ã®å·Šäžé
ãåºæºã«ããŠãŠã£ã³ããŠãé
眮ããŸããã
ãã®éå§ç¹ã«ãããããããtop = 0ã®ãã©ãŠã¶ã¯ããããããŠã£ã³ããŠã§ã¡ãã¥ãŒããŒããããã¯ã§ããŸããã§ããã
Opera 9leftãš
topã®ããããã£ãç解ããŸããããã¿ãããŒã«å¯ŸããŠãŠã£ã³ããŠãé
眮ããŸããïŒã«ãŠã³ãã¯äžç«¯ããå§ãŸããŸãïŒã
window.openïŒ 'http://www.w3.org/'ã 'popup'ã 'width = 320ãheight = 240ãscreenX = 50ãscreenY = 50'ïŒ;
Geckoãã©ãŠã¶ãŒïŒFFããã³NNïŒã®ã¿ããããã®ããããã£ãç解ããOperaããã³IEã¯ããããç¡èŠããŸããã
ç»é¢ã®ãµã€ãºãæããã«è¶
ããäœçœ®ãèšå®ããããšããå Žåã®èå³æ·±ãåäœã
window.openïŒ 'http://www.w3.org/'ã 'popup'ã 'width = 320ãheight = 240ãleft = 2000ãtop = 1000'ïŒ;
FireFox 3ãNavigator 9ãOperaãã¹ã¯ãããã®å³äžé
ã«ãããŠã£ã³ããŠãéããŸããïŒOpera-ãã®ã¯ãŒã¯ã¹ããŒã¹ïŒã ãŠã£ã³ããŠå
šäœã衚瀺ãããŸãã ããã«ã¯ãããã¯ãããŸããã
ã³ã³ã¯ã¬ãŒã«åœŒã¯ããã¹ã¯ãããã®å·Šäžé
ã®ãŠã£ã³ããŠãèŠããŸããã ããã«ã¯ãããã¯ãããŸããã
IE6ãã§ãã¯ã«å€±æããŸããã IEã¯ãããã»ã¹ã匷å¶çã«åé€ããåã«ãŠã£ã³ããŠãéãã®ãåæ¢ããŸããã
çµè«- ãŠã£ã³ããŠãé
眮ããã«ã¯ã å·Šãšäžã®ããããã£ã䜿çšããŸãã ãããã¯ãã¹ãŠã®barausersã«ãã£ãŠç解ãããŸãã
- Operaã¯ãç»é¢ã«å¯ŸããŠãŠã£ã³ããŠãé
眮ããã®ã§ã¯ãªããã¿ãããŒã«å¯ŸããŠãŠã£ã³ããŠãé
眮ããŸãã
- ãŠã£ã³ããŠããã¹ã¯ãããã«åãŸããªãç¶æ³ãåé¿ããããšãè©Šã¿ãããšã¯ããããã§ãããªããªã ãã©ãŠã¶ã®åäœã¯ç°ãªããŸãã
4.ã€ã³ã¿ãŒãã§ãŒã¹èŠçŽ
æåŸã«ç¢ºèªããã®ã¯ãã€ã³ã¿ãŒãã§ã€ã¹èŠçŽ ã®ç®¡çïŒç¹å®ã®ãã©ãŠã¶ãŒã«åºæã®èŠçŽ ãé€ãïŒã§ãã
- location-äžé£ã®URLã®ãã£ãŒã«ã
- ã¡ãã¥ãŒã㌠-ã¡ãã¥ãŒããŒ
- ã¹ã¯ããŒã«ã㌠-ã¹ã¯ããŒã«ããŒ
- ã¹ããŒã¿ã¹ - ã¹ããŒã¿ã¹ããŒ
- ããŒã«ã㌠-ãæ»ããããé²ããããåèªã¿èŸŒã¿ããªã©ã®ãã¿ã³ãããããã«
åãã©ã¡ãŒã¿ãŒã¯ãyesãšnoã®äž¡æ¹ã§è©Šè¡ãããŸããã
Firefox 3- location-åžžã«è¡šç€ºãããåžžã«éã¢ã¯ãã£ãããã©ã¡ãŒã¿ãŒã¯ç¡èŠãããŸã
- ã¡ãã¥ãŒã㌠-ã¡ã€ã³ã¡ãã¥ãŒã衚瀺ãããŸã
- ã¹ã¯ããŒã«ã㌠-ã¹ã¯ããŒã«ããŒã衚瀺ãããŸã
- ã¹ããŒã¿ã¹ -ç¡èŠãã¹ããŒã¿ã¹ããŒã¯åžžã«è¡šç€ºãããŸã
- ããŒã«ã㌠-URLããŒãã¢ã¯ãã£ãã§ãã¿ãããŒãšè¿œå ã®ããã«ïŒWebDeveloperïŒã衚瀺ãããŸãã
ããã²ãŒã¿ãŒ9- ãã±ãŒã·ã§ã³ -éã¢ã¯ãã£ãã«èŠããŸãã ããã«ãããŒã«ããŒã®1ã€ã衚瀺ãããŸããïŒWebDeveloperïŒ
- ã¡ãã¥ãŒã㌠-ã¡ã€ã³ã¡ãã¥ãŒã衚瀺ãããŸã
- ã¹ã¯ããŒã«ã㌠-ã¹ã¯ããŒã«ããŒã衚瀺ãããŸã
- ã¹ããŒã¿ã¹ - ã¹ããŒã¿ã¹ããŒã衚瀺ãããŸã
- ããŒã«ã㌠-URLããŒãã¢ã¯ãã£ãã§ãã¿ãããŒãšè¿œå ã®ããã«ïŒWebDeveloperïŒã衚瀺ãããŸãã
Opera 9- ãã±ãŒã·ã§ã³ -ã¢ã¯ãã£ããªå
¥åãã£ãŒã«ããšãã¿ã³ãæ»ããããé²ãããªã©ã衚瀺ããŸãã
- ã¡ãã¥ãŒã㌠-ç¡èŠ
- ã¹ã¯ããŒã«ã㌠-ã¹ã¯ããŒã«ããŒã衚瀺ãããŸã
- ã¹ããŒã¿ã¹ -ç¡èŠ
- ããŒã«ã㌠-ç¡èŠ
IE 6- location-ã¢ã¯ãã£ããªå
¥åãã£ãŒã«ããã¡ã€ã³ã¡ãã¥ãŒãããã³ãæ»ããããé²ãããªã©ã®ãã¿ã³ã衚瀺ããŸãã
- ã¡ãã¥ãŒã㌠-ã¡ã€ã³ã¡ãã¥ãŒã衚瀺ãããŸã
- ã¹ã¯ããŒã«ã㌠-ã¹ã¯ããŒã«ããŒã衚瀺ãããŸã
- ã¹ããŒã¿ã¹ - ã¹ããŒã¿ã¹ããŒã衚瀺ãããŸã
- ããŒã«ã㌠-ã¡ã€ã³ã¡ãã¥ãŒãšããŒã«ããŒã衚瀺ããŸã
ã³ã³ã¯ã¬ãŒã«- location-åžžã«è¡šç€ºãããåžžã«éã¢ã¯ãã£ãããã©ã¡ãŒã¿ãŒã¯ç¡èŠãããŸã
- ã¡ãã¥ãŒã㌠-ã¡ã€ã³ã¡ãã¥ãŒãšããŒã«ããŒã衚瀺ããŸã
- ã¹ã¯ããŒã«ã㌠-ã¹ã¯ããŒã«ããŒã衚瀺ãããŸã
- ã¹ããŒã¿ã¹ - ã¹ããŒã¿ã¹ããŒã衚瀺ãããŸã
- ããŒã«ã㌠-ã¡ã€ã³ã¡ãã¥ãŒãšããŒã«ããŒã衚瀺ããŸã
ç§ãèªåã§ããã¹ãçµè«ã ç§ã®æèŠã§ã¯ãIEã¯window.opené¢æ°ã®ããé©åãªå®è£
ã瀺ããŠããŸãã
ãµãã¡ãª
ïŒããããšã
qnick ïŒ
Safari 3.0.4ïŒ5523.15ïŒãMac OS 10.5.2
ããããã¢ããããããã¯ããããã§ãã¯ããã¯ã¹ãããåäœã¯çµ¶å¯Ÿã«å€ãããŸããã ãªã³ãŽãšäžç·ã«ãªã³ã¯ãæŒããšïŒãŠã£ã³ããŠãæ°ããã¿ãã§åŒ·å¶çã«éãïŒãæ°ãããŠã£ã³ããŠã衚瀺ãããŸãã
ãã©ã¡ãŒã¿ãªãïŒããã©ã«ããµã€ãºãçŸåšã®ãŠã£ã³ããŠã®å³äžã«32ãã¯ã»ã«ïŒç®ã§èŠãŠïŒãé
眮ïŒãã ããçŸåšã®ãŠã£ã³ããŠã®äžã®å¢çãç»é¢ã®äžã®å¢çã«éåžžã«è¿ãå Žåãæ°ãããŠã£ã³ããŠã¯top = 0ã«ãªããŸãïŒãããŒã«ããŒãã¹ã¯ããŒã«ã¹ããŒã¿ã¹ããŒãå©çšå¯èœããŠã£ã³ããŠã¯å
šæ¹åã«äŒžã³ãŸã
寞æ³640x480ïŒããŒã«ããŒãã¹ã¯ããŒã«ãã¹ããŒã¿ã¹ããŒãæ¶ãããŠã£ã³ããŠã䌞ã³ãªããªããŸããã äœçœ®ã¯çŸåšã®ãã¯ã»ã«ã®å³äžã®32ãã¯ã»ã«ïŒãŸãã¯äž= 0ãäžèšåç
§ïŒã§ããµã€ãºã¯640x480 + 32ãã¯ã»ã«ã§ãã
éåžžã«å€§ãããµã€ãºïŒãµã€ãºã¯1440x900ïŒç»é¢è§£å床ïŒã«å€æŽãããŸãããçŸåšã®ãŠã£ã³ããŠã®äœçœ®ã«é¢ä¿ãªããtop = 0ã§ãã ä»ã®ãã¹ãŠã¯ä»¥åãšåãã§ãã
ããžã·ã§ãã³ã°ïŒã«ãŠã³ãããŠã³ã¯ãå·Šäžé
ããã¡ãã¥ãŒãåŒãããã®ãã€ãŸã

Netscapeã¹ã¿ã€ã«ïŒåã
ãã¹ã¯ããã以å€ïŒå·Š= 0ãäž= 0
å ŽæïŒã¢ãã¬ã¹ããŒãšããŒã«ããŒã衚瀺ãããã¹ã¯ããŒã«ããªãã寞æ³ãå€æŽã§ããŸããã
ã¡ãã¥ãŒããŒïŒç¡èŠãã€ãŸã 640x480ã®ãµã€ãºã«äŒŒãŠããŸãã
ã¹ã¯ããŒã«ããŒïŒ640x480ã®ãµã€ãºãšåãã§ãããåçŽã¹ã¯ããŒã«ã衚瀺ãããŸã
ã¹ããŒã¿ã¹ïŒ640x480ã®ãµã€ãºãšåãã§ãããã¹ããŒã¿ã¹ããŒã衚瀺ãããŸãã
ããŒã«ããŒïŒå Žæãšåãã
åæ¥
ãã¡ãããä»ã®ãã©ãŠã¶ãŒããã©ãããã©ãŒã ã§ãã¹ããè¿œå ããå Žåã¯ããã¡ããããŸãWindowsã®Ineternet Explorer 7ã§ãã¹ããè¿œå ããŠãã ããã
PSãŸã第äžã«ãFireFox3ã®é©æ°ãçºèŠããŸãããçŸåšãããã©ã«ãã§ã¯ãJavaScriptã¯ãŠã£ã³ããŠã®ãµã€ãºãå€æŽãããé
眮ãããã§ããŸããã ããã解決ããã«ã¯ãäŸå€ã®ãªã¹ãã«ãµã€ããè¿œå ããå¿
èŠããããŸãã
