GaMeRgame
Дата: Пятница, 22.10.2010, 19:23 | Сообщение # 1
Президент
Министр
Академик
Доктор
Кандидат
Аспирант
Магистр
Бакалавр
Абитуриент
Школьник
Звание: Аспирант
Группа: V.I.P персона
Сообщений: 722
У меня не работают js на сайте,что делать ,это адаптация из joomla шаблон потом доднелаю)вот сам шаблон
Code
<!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"> <link href="/css/blue.css" rel="stylesheet" title="" type="text/css" media="all"/> <link rel="alternate stylesheet" type="text/css" href="$HOME_PAGE_LINK$css/red.css" title="red"/> <link rel="alternate stylesheet" type="text/css" href="$HOME_PAGE_LINK$css/blue.css" title="blue" /> <link rel="alternate stylesheet" type="text/css" href="$HOME_PAGE_LINK$css/gray.css" title="dark" /> <link rel="alternate stylesheet" type="text/css" href="$HOME_PAGE_LINK$css/purple.css" title="purple" /> <script type="text/javascript" src="$HOME_PAGE_LINK$src/popbox.js"></script> <script type="text/javascript" src="$HOME_PAGE_LINK$src/moviebox.js"></script> <script type="text/javascript" src="$HOME_PAGE_LINK$src/sve.js"> </script> <!--[if IE 6]> <link href="/css/iesucks.css" rel="stylesheet" title="" type="text/css" media="all"/> <![endif]--> <title>[TITLE]</title> <link rel='stylesheet' type='text/css' href='http://joomla1.0.youjoomla.info/movietimes/modules/mod_myfp_slider/mod_myfp_slider_style.css'/> <script type='text/javascript' src='$HOME_PAGE_LINK$srs/slide.js'></script> <style type="text/css">a.myfps_newstitle_c { display: block; font-weight: bold; margin-bottom:5px; border: none; font: bold 125%/normal Cambria, "Times New Roman", Times, serif; text-decoration: none; color: #000000; } a.myfps_newstitle_c:hover { border-bottom: none; color: #8F8F8F; } a.myfps_rm_c { color: #000000; border: none; text-decoration: none; } a.myfps_rm_c:hover { color: #8F8F8F; } a.myfps_al_c { color: #000000; border: none; text-decoration: none; } a.myfps_al_c:hover { color: #8F8F8F; }</style> </head> <body id="boja"> <div id="centar" style="width:930px;"> <div id="sh_l"> <div id="sh_r"> <!--start header--> <div id="header"> <div id="seo"> <h1><a href="/" title="[TITLE]">[TITLE]</a></h1> </div> <div id="logo"> <div id="tools"> <div id="rightbox"> <div id="searchbox"> <div class="moduletable"> <form action="index.php?option=com_search&Itemid=5" method="get"> <div class="search"> <input name="searchword" id="mod_search_searchword" maxlength="20" alt="search" class="inputbox" type="text" size="20" value="search..." onblur="if(this.value=='') this.value='search...';" onfocus="if(this.value=='search...') this.value='';" /> </div> <input type="hidden" name="option" value="com_search" /> <input type="hidden" name="Itemid" value="5" /> </form> </div> </div> </div> </div> </div> <!-- TOOLS--> <div id="hidden" > <div id="himg" style="width:260px"><ul> <li><span id="loginlink"><a href="http://joomla1.0.youjoomla.info/movietimes#POP_inline?height=250&width=250&inlineId=login" title="PLEASE SILENCE YOUR CELPHONES" class="popbox">.</a></span></li> <!-- ALL TOOLS--> <li><span id="toolslink"><a href="http://joomla1.0.youjoomla.info/movietimes#POP_inline?height=40&width=300&inlineId=toolbox" title="SITE TOOLS" class="popbox">.</a></span></li> <li><span id="narrow"><a class="smallRun" href="#" title="Narrow">.</a></span></li> <li><span id="wide"><a class="largeRun" href="#" title="Wide">.</a></span></li> <li><span id="fluid"><a class="fluidR" href="#" title="Fluid">.</a></span></li><!-- END ALL TOOLS TOOLS --> <!-- STYLE COLOR AND FONT ONLY--> <!-- END COLOR AND FONT SWITCH TOOLS --> <!-- WIDTH SWITCH ONLY TOOLS--> <!-- END WIDTH SWITCH --> </ul> </div></div><!-- KRAJ--> </div> <!-- end header--> <div id="wrap"> <div id="insidewrap"> <div id="suckcont3"> <div id="suckcont"> <div id="suckcont2"> <div id="suck"> <script type="text/javascript"> <!--//--><![CDATA[//><!-- sfHover = function() { var sfEls = document.getElementById("suck").getElementsByTagName("LI"); for (var i=0; i<sfEls.length; i++) { sfEls[i].onmouseover=function() { this.className+=" sfhover"; } sfEls[i].onmouseout=function() { this.className=this.className.replace(new RegExp(" sfhover\\b"), ""); } } } if (window.attachEvent) window.attachEvent("onload", sfHover); //--><!]]> </script> <ul><li class='active'><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_frontpage&Itemid=1">munkhjin</a></li> <li><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_weblinks&Itemid=23">Links</a></li> <li><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_contact&Itemid=3">Contact Us</a></li> <li><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_search&Itemid=5">Search</a></li> <li><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_newsfeeds&Itemid=7">News Feeds</a></li> <li><a class="topdaddy" href="http://joomla1.0.youjoomla.info/movietimes/#">JStuff</a><ul> <li><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_content&task=view&id=5&Itemid=6">Joomla! License</a></li> <li><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_content&task=blogsection&id=0&Itemid=9">Blog</a></li> <li><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_wrapper&Itemid=8">Wrapper</a></li> <li><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_content&task=category§ionid=3&id=7&Itemid=25">FAQs</a></li> </ul></li> <li><a class="topdaddy" href="http://joomla1.0.youjoomla.info/movietimes/#">Extras</a><ul> <li><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_content&task=view&id=18&Itemid=37">Typography</a></li> <li><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_content&task=view&id=19&Itemid=38">Botom shelfs</a></li> <li><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_content&task=view&id=20&Itemid=39">Site Tools</a></li> <li><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_content&task=view&id=21&Itemid=40">Hidden Module</a></li> <li><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_content&task=view&id=23&Itemid=41">Pop Box</a></li> <li><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_content&task=view&id=27&Itemid=45">Moviebox</a></li> <li><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_content&task=view&id=24&Itemid=42">Module Styles</a></li> <li><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_content&task=view&id=25&Itemid=43">Module Positions</a></li> <li><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_content&task=view&id=26&Itemid=44">My Frontpage Slider</a></li> </ul></li> <li><a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_seyret&Itemid=29">Latest Trailers</a></li> </ul></div> </div> </div> </div> <!-- <middle> --> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" style="padding:3px"> <!-- <container> --> <!-- <block> --> <table border="0" cellpadding="0" cellspacing="2" width="203"> <tr><td height="21" style="background:url('/.s/t/971/9.gif') #D4DFF7;padding-left:30px;"><b>TITLE</b></td></tr> <tr><td style="background:#F1F1F1;padding:5px;border:1px solid #A7A6A6;">CONTENT</td></tr> </table> <!-- </block> --> <!-- </container> --> </td> <td valign="top" width="80%" style="padding-top:5px"> <table border="0" cellpadding="10" cellspacing="0" width="100%" style="border:1px solid #D7D7D7;"><tr><td style="background:#F8F8F8;">[BODY]</td></tr></table> </td> <td valign="top" style="padding:3px"> <!-- <container> --> <!-- </container> --> </td> </tr> </table> <!-- </middle> --> <!-- start slide--> <script type="text/javascript" src="http://joomla1.0.youjoomla.info/movietimes/templates/movie_times/src/slide.js"> </script> <!-- tabs--> <div id="demo-bar"> <div id="karnav"> <div id="movediv"> <ul> <li><a id="link1" href="#" name="link1"><span>Featured</span></a></li> <li><a id="link2" href="#" name="link2"><span>On DVD</span></a></li> <li><a id="link3" href="#" name="link3"><span>In Theatres</span></a></li> <li><a id="link4" href="#" name="link4"><span>On Demand</span></a></li> </ul> </div> </div> </div> <!--end tabs--> <div id="swr3"> <div class ="swr"> <div class ="swr2"> <div id="slidewrap"> <div id="mainslide"> <div class="scrolling-content" id="content1"> <div id="adv1"> <div class="moduletable"> <h3> Featured </h3> <div align="center"> <a title="Transformers Trailer" href="http://www.youtube.com/watch?v=zZp75fWe-ss"><img width="134" height="193" border="0" title="" alt="" src="images/stories/transf.gif" /></a> <a href="http://www.youtube.com/watch?v=9xX2lJDIPZo" title="Subshine Trailer"><img width="134" height="193" border="0" title="" alt="" src="images/stories/sunshine.gif" /></a> <a title="Bourne Ultimatum Trailer" href="http://www.youtube.com/watch?v=DY7CnUY2EWk"><img width="134" height="193" border="0" title="" alt="" src="images/stories/bourne.gif" /></a> <a href="http://www.youtube.com/watch?v=v3lwomM-01o" title="Halloween Trailer"><img width="134" height="193" border="0" src="images/stories/halloween.jpg" alt="" title="Halloween Trailer" /></a><br /> </div> </div> </div> </div><!--end 1--> <div class="scrolling-content" id="content2"> <div id="adv2"> <div class="moduletable"> <h3> On DVD </h3> <p align="center"> <a title="Dan in real life" href="http://www.youtube.com/watch?v=QoekMM7Q0i8"><img width="134" height="193" border="0" title="" alt="" src="images/stories/deanin.jpg" /></a> <a title="Horton" href="http://www.youtube.com/watch?v=zlR_8pT3W98"><img width="134" height="193" border="0" title="" alt="" src="images/stories/slides/hort.jpg" /></a> <a title="Last Legion" href="http://www.youtube.com/watch?v=ogpOgmP6MgI"><img width="134" height="193" border="0" title="" alt="" src="images/stories/slides/leagon.jpg" /></a> <a title="Rendition" href="http://www.youtube.com/watch?v=IaK-HKIdv1E"><img width="134" height="193" border="0" title="" alt="" src="images/stories/slides/reden.jpg" /></a></p> <p align="center"> </p> <p align="center"> </p> <p align="center"> </p> <p align="center"> </p> </div> </div> </div><!--end 2--> <div class="scrolling-content" id="content3"> <div id="adv3"> <div class="moduletable"> <h3> In Theatres </h3> <p align="center"><a href="http://www.youtube.com/watch?v=3NfPbPRJcT8" title="The Nines"><img width="134" height="193" border="0" src="images/stories/slides/ninies.jpg" alt="" title="" /></a> <a href="http://www.youtube.com/watch?v=2PxzNBuuZYU" title="War Trailer"><img width="134" height="193" border="0" src="images/stories/slides/war.jpg" alt="" title="" /></a> <a href="http://www.youtube.com/watch?v=qbShilDjCC8" title="The Comebacks"><img width="134" height="193" border="0" src="images/stories/comebacks.jpg" alt="" title="" /></a> <a href="http://www.youtube.com/watch?v=XVJJ7Dxcncs" title="Reservation "><img width="134" height="193" border="0" src="images/stories/slides/res.jpg" alt="" title="" /></a></p> <p align="center"> </p> <p align="center"> </p> <p align="center"><br /> </p> </div> </div> </div><!--end 3--> <div class="scrolling-content" id="content4"> <div id="adv4"> <div class="moduletable"> <h3> On Dermand </h3> <p align="center"><a title="Dedication" href="http://www.youtube.com/watch?v=7Yf9qeOymfQ"><img width="134" height="193" border="0" title="" alt="" src="images/stories/slides/ded.jpg" /></a> <a title="September Down" href="http://www.youtube.com/watch?v=5UAfjHYg_II"><img width="134" height="193" border="0" title="" alt="" src="images/stories/slides/sept.jpg" /></a> <a title="Rush Hour 3" href="http://www.youtube.com/watch?v=7pIkgkbPv6s"><img width="134" height="193" border="0" title="" alt="" src="images/stories/slides/refg.jpg" /></a> <a title="The Golden Compas" href="http://www.youtube.com/watch?v=T_WDOnhE7u8"><img width="134" height="193" border="0" title="" alt="" src="images/stories/slides/comp.jpg" /></a></p> <p align="center"> </p> <p align="center"> </p> <p><br /> </p> </div> </div> </div><!--end 4--> </div><!--end mainslide--> </div><!--end wraper--> </div> </div> </div> <!-- end slide--> <!-- start bottom shelf--> <!-- end bottomshelf--> <div id="footer"> <div class="footer1"><div class="footer2"><div class="youjoomla"><div class="footmenu"> <div class="moduletable"> <table width="100%" border="0" cellpadding="0" cellspacing="1"><tr><td nowrap="nowrap"><a href="/" class="mainlevel" >Главная</a><a href="/forum" class="mainlevel" >Форум</a><a href="Ссылка" class="mainlevel" >Ссылка</a><a href="Ссылка" class="mainlevel" >Ссылка</a><a href="Ссылка" class="mainlevel" >Ссылка</a><a href="Ссылка" class="mainlevel" >Ссылка</a></td></tr></table> </div> <a href="http://track-x.ucoz.ru/">Design by Gamer</a>$POWERED_BY$<a href="#centar">На верх.</a> </div></div></div></div> </div> </div><!-- end of insidewrap--></div> <!--end of wrap--> </div><!--shade r--> </div><!--shade l--> </div><!-- end centar--> <!-- absolute divs --> <div id="login" style="display:none;"> </div> <div id="toolbox" style="display:none;"> <ul><li><a href="#" onclick="setActiveStyleSheet('dark');return false;"><img src="http://joomla1.0.youjoomla.info/movietimes/templates/movie_times/images/gray.gif " title="Change to dark" alt="" border="0" /></a></li> <li><a href="#" onclick="setActiveStyleSheet('red'); return false;"><img src="http://joomla1.0.youjoomla.info/movietimes/templates/movie_times/images/red.gif " title="Change to red" alt="" border="0" /></a></li> <li><a href="#" onclick="setActiveStyleSheet('blue'); return false;"><img src="http://joomla1.0.youjoomla.info/movietimes/templates/movie_times/images/blue.gif " title="Change to blue" alt="" border="0" /></a></li> <li><a href="#" onclick="setActiveStyleSheet('purple'); return false;"><img src="http://joomla1.0.youjoomla.info/movietimes/templates/movie_times/images/purple.gif " title="Change to purple" alt="" border="0" /></a></li> <li><a href="javascript:void(0)" title="Decrease font size" onclick="changeFontSize(-1);return false;"><img src="http://joomla1.0.youjoomla.info/movietimes/templates/movie_times/images/minus.gif" alt="" /></a></li><li><a href="javascript:void(0)" title="Revert font size to default" onclick="revertStyles(); return false;"><img src="http://joomla1.0.youjoomla.info/movietimes/templates/movie_times/images/jednako.gif" alt="" /></a></li><li><a href="javascript:void(0)" title="Increase font size" onclick="changeFontSize(1);return false;"><img src="http://joomla1.0.youjoomla.info/movietimes/templates/movie_times/images/plus.gif" alt="" /></a></li> </ul> </div> <div id="movies" style="display:none;"> <div class="moduletable_pop"> <h3> Login Form </h3> <form action="http://joomla1.0.youjoomla.info/movietimes/index.php" method="post" name="login" > <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td> <label for="mod_login_username"> Username </label> <br /> <input name="username" id="mod_login_username" type="text" class="inputbox" alt="username" size="10" /> <br /> <label for="mod_login_password"> Password </label> <br /> <input type="password" id="mod_login_password" name="passwd" class="inputbox" size="10" alt="password" /> <br /> <input type="checkbox" name="remember" id="mod_login_remember" class="inputbox" value="yes" alt="Remember Me" /> <label for="mod_login_remember"> Remember me </label> <br /> <input type="submit" name="Submit" class="button" value="Login" /> </td> </tr> <tr> <td> <a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_registration&task=lostPassword"> Lost Password?</a> </td> </tr> <tr> <td> No account yet? <a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_registration&task=register"> Register</a> </td> </tr> </table> <input type="hidden" name="option" value="login" /> <input type="hidden" name="op2" value="login" /> <input type="hidden" name="lang" value="english" /> <input type="hidden" name="return" value="http://joomla1.0.youjoomla.info/movietimes/index.php" /> <input type="hidden" name="message" value="0" /> <input type="hidden" name="force_session" value="1" /> <input type="hidden" name="j912dba10c1e5c4a1d558703543e058d2" value="1" /> </form> </div> <div class="moduletable_blank"> [youtube:http://www.youtube.com/watch?v=uhi5x7V3WXE 300 400] </div> <div class="moduletable"> <h3> Latest News </h3> <ul class="latestnews"> <li class="latestnews"> <a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_content&task=view&id=27&Itemid=9" class="latestnews"> Moviebox</a> </li> <li class="latestnews"> <a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_content&task=view&id=26&Itemid=9" class="latestnews"> My Frontpage Slider</a> </li> <li class="latestnews"> <a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_content&task=view&id=25&Itemid=9" class="latestnews"> Module positions</a> </li> <li class="latestnews"> <a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_content&task=view&id=24&Itemid=9" class="latestnews"> Module Styles</a> </li> <li class="latestnews"> <a href="http://joomla1.0.youjoomla.info/movietimes/index.php?option=com_content&task=view&id=23&Itemid=9" class="latestnews"> POP Box</a> </li> </ul> </div> </div> </body> <!-- <popup> --> <div style="border:1px solid black;padding:3px;"> <div align="center"><b>[TITLE]</b></div> [BODY] </div> <!-- </popup> --> </html>
mdbaner
Дата: Пятница, 22.10.2010, 21:12 | Сообщение # 2
Президент
Министр
Академик
Доктор
Кандидат
Аспирант
Магистр
Бакалавр
Абитуриент
Школьник
Звание: Министр
Группа: V.I.P персона
Сообщений: 4723
$HOME_PAGE_LINK$ замените на ссылку реальную js файла
Подпись пользователя mdbaner 1 Права групп и возможности пользователей 2 Общие правила форума которые нужно знать всем 3 Пожаловаться на Администратора или Модератора тут 4 Задать вопрос в Support сайта Ucozon 5 Ответы на постоянные вопросы в модуле FAQ 6 Цены и виды моих услуг по дизайну и настройке Больше всего меня вырубает когда пользователь просит меня что либо найти, указывая на то что не умеет пользоваться поиском