»ç¿ë¹æ¹ý
ÀÌ ½ºÅ©¸³Æ®´Â 2°³ÀÇ ÇÁ·¹ÀÓÀ¸·Î ³ª´²Á®ÀÖÀ¸¸ç, ¸Þ´ººÎºÐÀº outlook.html ÆÄÀÏ ÀÔ´Ï´Ù. main.htmlÆÄÀÏÀº ½ÇÀç·Î ÆäÀÌÁö°¡ Ç¥½ÃµÇ´Â ºÎºÐÀÔ´Ï´Ù
outlook.html ÆÄÀϼöÁ¤ ¿ì¼± ¾Æ·¡ÀÇ ¹®ÀåÀÌ µé¾î°¡ÀÖ¾î¾ß ÇÕ´Ï´Ù.
<script language="JavaScript" src="crossbrowser.js" type="text/javascript"></script> <script language="JavaScript" src="outlook.js" type="text/javascript"></script>
//create OutlookBar var o = new createOutlookBar('Bar',0,0,screenSize.width,screenSize.height,'#606060','white')//'#000099') // OutlookBar var p
//create first panel p = new createPanel('al','Anwendungen'); p.addButton('netm.gif','ÇØÇÇCGI','parent.main.location="http://www.happycgi.com"'); p.addButton('news.gif','News','alert("News")'); p.addButton('word.gif','Word','alert("Word")'); p.addButton('peditor.gif','Editor','alert("Editor")'); p.addButton('mail.gif','Mail','alert("Mail")'); o.addPanel(p); p = new createPanel('p','Postf?her'); p.addButton('mail.gif','Mail 2','alert("Mail2")'); p.addButton('peditor.gif','Personal<BR>Editor','alert("Personal Editor")'); p.addButton('word.gif','Projekte','alert("Projekte")'); p.addButton('news.gif','Adresse','alert("Adresse")'); p.addButton('mail.gif','Postausgang','alert("Postausgang")'); p.addButton('mail.gif','Posteingang','alert("Posteingang")'); p.addButton('news.gif','Information aus<BR>erster Hand','alert("Infos")'); p.addButton('peditor.gif','Gelbe Post','alert("Gelbe Post")'); p.addButton('word.gif','Schreiben','alert("Schreiben")'); o.addPanel(p);
p = new createPanel('l','Leeres Panel'); o.addPanel(p);
p = new createPanel('l2','Leeres Panel 2'); o.addPanel(p);
o.draw(); //draw the OutlookBar
½ÇÀç·Î Ãâ·ÂµÇ´Â ¸Þ´ººÎºÐ ¼öÁ¤Çϱâ
p = new createPanel('al','Anwendungen'); p.addButton('netm.gif','ÇØÇÇCGI','parent.main.location="http://www.happycgi.com"'); p.addButton('news.gif','News','alert("News")'); p.addButton('word.gif','Word','alert("Word")'); p.addButton('peditor.gif','Editor','alert("Editor")'); p.addButton('mail.gif','Mail','alert("Mail")'); o.addPanel(p);
À§ÀÇ ½ºÅ©¸³Æ®¸¦ º¸½Ã¸é °¡Àå»ó´Ü¿¡ ÀÖ´Â p = new createPanel('al','Anwendungen'); ºÎºÐÀÌ Å«¸Þ´ººÎºÐÀÔ´Ï´Ù. Anwendungen¶ó°í ÀûÈùºÎºÐÀÌ ±× ¸Þ´ºÀÇ À̸§ÀÌ µÇ°Ú½À´Ï´Ù.
p.addButton('netm.gif','ÇØÇÇCGI','parent.main.location="http://www.happycgi.com"'); À̺κÐÀÌ ÇØ´ç Å«¸Þ´º ¾Æ·¡¿¡ µé¾î°¡´Â ¼ºê¸Þ´º·Î º¸½Ã¸éµË´Ï´Ù. ¼ø¼´ë·Î netm.gif´Â ¾ÆÀÌÄÜÀÇ À̸§ÀÌ°í ÇØÇÇCGI´Â ¸Þ´ºÀÇ À̸§ÀÔ´Ï´Ù. ±×¸®°í °¡Àå µÞºÎºÐÀÇ ÁÖ¼ÒURLÀÌ ¸µÅ© ÁÖ¼Ò°¡ µË´Ï´Ù.
¸¶Áö¸·Àº ²À o.addPanel(p); ºÎºÐÀ¸·Î ´Ý¾ÆÁÝ´Ï´Ù.
|