folgenes probl. habe mir ein WM Countdown gebastelt, aber er funktioniert nicht bei ilch.Wenn ich den seperat laufen habe funkt er.Vertragen sich irgentwelche Scripts bei ilch nicht und wie kann ich das beheben das der countdown runter zählt?
seperat ohne ilch ( index.html )
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Unbenanntes Dokument</title> <link href="basic.css" rel="stylesheet" type="text/css" /> </head> <body> <table width="980" border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top" id="header_bottum"colspan="3"> <div id="lastwars">{_boxes_lastwars}</div> <div id="nextwars">{_boxes_nextwars}</div> <div id="wm"> <div id="c1"></div> <div id="c2"></div> <div id="c3"></div> <div id="c4"></div> </div> </td> </tr> </table> <script type='text/javascript'> var end = new Date('June 11, 2010 16:00:00'); function toSt2(n) { var s = ''; if (n < 10) s += '0'; return (s + n).toString(); } function toSt3(n) { var s = ''; if (n < 10) s += '00'; else if (n < 100) s += '0'; return (s + n).toString(); } function countdown() { var d = new Date(); var count = Math.floor(end.getTime() - d.getTime()); if(count > 0) { var miliseconds = toSt3(count%1000); count = Math.floor(count/1000); var seconds = toSt2(count%60); count = Math.floor(count/60); var minutes = toSt2(count%60); count = Math.floor(count/60); var hours = toSt2(count%24); count = Math.floor(count/24); var days = count; document.getElementById('c1').innerHTML = days ; document.getElementById('c2').innerHTML = hours ; document.getElementById('c3').innerHTML = minutes ; document.getElementById('c4').innerHTML = seconds ; setTimeout('countdown()', 100); } } window.onload = countdown(); </script> </body> </html> |
seperat ohne ilch ( basic.css )
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | #header_bottum{ background-image: url(img/header_buttom.jpg); background-repeat: no-repeat; height: 218px; width: 980px; } #lastwars{ float: left; margin-left: 470px; display: inline; width: 225px; margin-top: 40px; } #lastwars a{ font-family: Tahoma, Geneva, sans-serif; font-size: 11px; color: #FFF; text-decoration: none; } #nextwars{ float: left; margin-left: 40px; display: inline; width: 225px; margin-top: 40px; color: #FFF; } #nextwars a{ font-family: Tahoma, Geneva, sans-serif; font-size: 11px; color: #FFF; text-decoration: none; } #wm{ margin-top: 93px; float: left; display: inline; margin-left: 625px; } #wm_logo{ float: left; } #c1{ font-family: Arial, Helvetica, sans-serif; font-size: 34px; color: #D7C7A9; float: left; font-weight: bold; } #c2{ font-family: Arial, Helvetica, sans-serif; font-size: 34px; color: #D7C7A9; float: left; margin-left: 53px; font-weight: bold; } #c3{ font-family: Arial, Helvetica, sans-serif; font-size: 34px; color: #D7C7A9; float: left; margin-left: 45px; font-weight: bold; } #c4{ font-family: Arial, Helvetica, sans-serif; font-size: 34px; color: #D7C7A9; float: left; margin-left: 44px; font-weight: bold; } |
mit ilch ( index.html )
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="language" content="de" /> <meta name="robots" content="index, follow" /> <meta name="keywords" content="BF2, BF2 Clan, Downloads, Battlefield 2, Battlefield, News, Mods, Werbung, Werbeflächen, Template, Spass, Maps, Battlefield 2142, Statistik, battlefield 2 maps, Gulf of Oman, Kubra Dam, Mashtuur City, Operation Clean Sweep, Sharqi Peninsula, Strike at Karkand, Zatar Wetlands, Dalian Plant, Daqing Oilfields, Dragon Valley, Fushe Pass, Songhua Stalemate, Wake Island 2007, crysis, Battlefieldclan homepage bf2, Battlefield 2, Battlefield 2 Downloads, Fun-Clan, BATTLEFIELD 2 Banner, clan fun battlefield 2,Balltefied 2 Info, BF 2 Tips, Clan, BF2 Topliste, Battlefied 2 Toplist, Topliste, Toplist, Funwar, War, Battlefield2 War, Battlefield 2 Server, Battlefieldserver, BF2 Server, BF2 Train, Battlefield 2 Hilfe, BF2 hilfe, Hilfe, BF 2 Video, Battlefield 2 Video, Video, Battlefield, phpkit, php, html, css, style, stylesheet, stylesheets, design, homepage, hp, java, javascript, script, scripte, guest, guestbook, gast, gästebuch, news, newsletter, free, frei, freeware, kostenlos, umsonst, webbaukasten, web, baukasten, kit, internet, content, management, contentmanagement, community, com, verwaltung, seite, seiten, site, sites, forum, foren, forums erstellung, design, designs, gestalltung, bau, deutschland, Online" /> <meta name="description" content="Online-Gamer Berlin Der Battlefield 2 Fun Clan" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>{TITLE}</title> <link rel="stylesheet" type="text/css" href="include/designs/ilch/basic.css"/> <link rel="stylesheet" type="text/css" href="include/designs/ilch/navi.css"/> <script src="include/designs/ilch/SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script> <link href="include/designs/ilch/SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="include/designs/ilch/navi.js"></script> <script type="text/javascript"> <!-- function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> <script type="text/javascript" src="jquery-1.2.6.min.js"></script> <script type="text/javascript" src="jquery.ie6blocker.js"></script> </head> <body onload="MM_preloadImages('images/partner/ghcw_hover.jpg','images/partner/spm_hover.jpg','include/designs/ilch/images/partner/ghcw_hover.jpg','include/designs/ilch/images/partner/spm_hover.jpg','images/fight_hover.jpg','images/joinus_hover.jpg','include/designs/ilch/images/fight_hover.jpg','include/designs/ilch/images/joinus_hover.jpg')"> <table id="main" width="980" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td colspan="3" valign="top" id="header_top"> <div id="partner_ghcw"><a href="http://www.ghcw-clan.com" target="_blank"><img src="include/designs/ilch/images/partner/ghcw.jpg" alt="GHCW" name="ghcw" width="154" height="17" border="0" id="ghcw" onmouseover="MM_swapImage('ghcw','','include/designs/ilch/images/partner/ghcw_hover.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></div><div id="partner_spm"><a href="http://www.silent-peacemakers.de/html/" target="_blank"><img src="include/designs/ilch/images/partner/spm.jpg" alt="SPM" name="spm" width="44" height="41" border="0" id="spm" onmouseover="MM_swapImage('spm','','include/designs/ilch/images/partner/spm_hover.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></div> <div id="ticker">{_boxes_ticker}</div> </td> </tr> <tr> <td valign="top" id="header_bottum"colspan="3"> <div id="lastwars">{_boxes_lastwars}</div> <div id="nextwars">{_boxes_nextwars}</div> <div id="wm"> <div id="c1"></div> <div id="c2"></div> <div id="c3"></div> <div id="c4"></div> </div> <script type='text/javascript'> var end = new Date('June 11, 2010 16:00:00'); function toSt2(n) { var s = ''; if (n < 10) s += '0'; return (s + n).toString(); } function toSt3(n) { var s = ''; if (n < 10) s += '00'; else if (n < 100) s += '0'; return (s + n).toString(); } function countdown() { var d = new Date(); var count = Math.floor(end.getTime() - d.getTime()); if(count > 0) { var miliseconds = toSt3(count%1000); count = Math.floor(count/1000); var seconds = toSt2(count%60); count = Math.floor(count/60); var minutes = toSt2(count%60); count = Math.floor(count/60); var hours = toSt2(count%24); count = Math.floor(count/24); var days = count; document.getElementById('c1').innerHTML = days ; document.getElementById('c2').innerHTML = hours ; document.getElementById('c3').innerHTML = minutes ; document.getElementById('c4').innerHTML = seconds ; setTimeout('countdown()', 100); } } window.onload = countdown(); </script> </tr> <tr> <td colspan="3" align="center" id="online">{_boxes_online}</td> </tr> <tr> <td colspan="3" align="center" valign="top" id="nav2"> <div id="nav"> <div class="menu"> {_list_menunr1@ <ul> <li><a href="index.php">Home</a> %2 </li> </ul> } {_list_menunr2@ <ul> <li><a href="#">Community</a> %2 </li> </ul> } {_list_menunr3@ <ul> <li><a href="#">Clan</a> %2 </li> </ul> } {_list_menunr4@ <ul> <li><a href="#">Media</a> %2 </li> </ul> } {_list_menunr5@ <ul> <li><a href="#">Sonstiges</a> %2 </li> </ul> } </div> </div> </td> </tr> <tr> <td colspan="3" > <div id="multibox"><img src="include/designs/ilch/images/gameserver.jpg" alt="Gameserver" width="497" height="36" /><div id="server"><iframe src="http://cache.www.gametracker.com/components/html0/?host=194.97.167.110:16567&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=0&showBlogs=0&width=240" frameborder="0" scrolling="no" width="240" height="288"></iframe> <iframe src="http://cache.www.gametracker.com/components/html0/?host=62.104.17.4:16567&bgColor=333333&titleBgColor=222222&borderColor=555555&fontColor=CCCCCC&titleColor=FF9900&linkColor=FFCC00&borderLinkColor=222222&showMap=1&showCurrPlayers=0&showTopPlayers=0&showBlogs=0&width=240" frameborder="0" scrolling="no" width="240" height="288"></iframe></div></div> <div id="info"> <img src="include/designs/ilch/images/news_head.jpg" alt="Top News" width="223" height="40" /><div id="news">{_boxes_lastnews}</div> <img src="include/designs/ilch/images/forum_head.jpg" alt="Top Forum" width="223" height="40" /><div id="forum">{_boxes_lastforum}</div> </div> <div id="login"><img src="include/designs/ilch/images/login_bg.jpg" alt="Login" width="223" height="40" /> <div id="login_con">{_boxes_login}</div> </div> </td> </tr> <tr> <td valign="top"> <div id="laberecke"><img src="include/designs/ilch/images/laberecke.jpg" alt="Laberecke" name="laber" width="190" height="29" id="laber" />{_boxes_shbox}</div> <div id="statistik"><img src="include/designs/ilch/images/statistik.jpg" alt="Statistik" width="190" height="29" />{_boxes_statistik}</div> </td> <td valign="top"> <div id="us"><a href="?fightus"><img src="include/designs/ilch/images/fightus.jpg" alt="fightus" name="fightus" width="178" height="41" border="0" id="fightus" onmouseover="MM_swapImage('fightus','','include/designs/ilch/images/fight_hover.jpg',1)" onmouseout="MM_swapImgRestore()" /></a><a href="?joinus"><img src="include/designs/ilch/images/joinus.jpg" alt="joinus" name="joinus" width="178" height="41" border="0" id="joinus" onmouseover="MM_swapImage('joinus','','include/designs/ilch/images/joinus_hover.jpg',1)" onmouseout="MM_swapImgRestore()" /></a></div> <div id="teamspeak"> <div id="CollapsiblePanel1" class="CollapsiblePanel"> <div class="CollapsiblePanelTab" tabindex="0"><img src="include/designs/ilch/images/teamspeak.jpg" width="174" height="29" /></div> <div class="CollapsiblePanelContent"><script language="javascript" type="text/javascript" charset="utf-8" src="http://www.tsviewer.com/ts3viewer.php?ID=904284&text=666666&text_size=10&text_family=1&js=1&text_s_weight=bold&text_s_style=normal&text_s_variant=normal&text_s_decoration=none&text_s_color_h=525284&text_s_weight_h=bold&text_s_style_h=normal&text_s_variant_h=normal&text_s_decoration_h=underline&text_i_weight=normal&text_i_style=normal&text_i_variant=normal&text_i_decoration=none&text_i_color_h=525284&text_i_weight_h=normal&text_i_style_h=normal&text_i_variant_h=normal&text_i_decoration_h=underline&text_c_weight=normal&text_c_style=normal&text_c_variant=normal&text_c_decoration=none&text_c_color_h=525284&text_c_weight_h=normal&text_c_style_h=normal&text_c_variant_h=normal&text_c_decoration_h=underline&text_u_weight=bold&text_u_style=normal&text_u_variant=normal&text_u_decoration=none&text_u_color_h=525284&text_u_weight_h=bold&text_u_style_h=normal&text_u_variant_h=normal&text_u_decoration_h=none"></script><noscript>Enable JavaScript or visit <a href="http://www.tsviewer.com/index.php?page=ts_viewer&ID=904284">TeamSpeak Viewer</a> to display the TeamSpeak server.</noscript></div> </div> </div> <div id="vote"><img src="include/designs/ilch/images/vote.jpg" alt="Vote" width="174" height="29" /><br /> {_boxes_vote}</div> <div id="kalender"><img src="include/designs/ilch/images/kalender.jpg" alt="kalender" width="174" height="29" />{_boxes_calender}</div> </td> <td valign="top"> <div id="content_head"></div> <div id="hmenu">{HMENU}</div> <div id="content">{EXPLODE}</div> </td> </tr> <tr> <td colspan="3" align="center" valign="top"><div id="footer"><img src="include/designs/ilch/images/temp_logo.jpg" alt="" width="135" height="141" /><br /> Copyright (c) 2009 Online-Gamer Berlin. All rights reseved.<br /> Design by webdesign-bln.de</div><p> <img style="border:0;width:88px;height:31px" alt="CSS ist valide!" /> </a> </p> <div align='center'><script src='http://www.socialbookmarkscript.com/socialbookmarks.php?sb=iz' type='text/javascript'></script><br><a style='text-decoration:none;font-size:10px;font-family:Arial;color: Gray;' href='http://www.socialbookmarkscript.com/' target='_blank'>Social Bookmarking</a></div> </td> </tr> </table> <script type="text/javascript"> <!-- var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1", {contentIsOpen:false}); //--> </script> </body> </html> <!-- {_list_DDDmenupoint@ <strong><big>·</big></strong> <a %1 class="box" href="%2">%3</a> <br /> } //--> <!-- beispiel: [null, '%3', '%2', '%1', null|],|, --> <!-- anfang + link |ende |teilende|teilee --> <!-- horizontaler menupunkt --> {_list_hmenupoint@<li><a target="%1" class="box" href="%2">%3</a>|</li>|<br />|</ul></li>} <!-- horizontaler menupunkt anfang --> {_list_hmenubegi@<ul>} <!-- horizontaler menupunkt ende --> {_list_hmenuende@</ul>} <!-- vertikaler menupunkt --> {_list_vmenupoint@<li><a target="%1" class="box" href="%2">%3</a>|</li>|<br /><ul>|</ul></li>} <!-- vertikaler menupunkt anfang --> {_list_vmenubegi@<ul>} <!-- vertikaler menupunkt ende --> {_list_vmenuende@</ul>} |
Gruß
swenieboy
betroffene Homepage: externer Link