ОсновноеRadiotalkПользовательское
MyRadio24 - Хостинг для создания интернет радио
70   •   Посмотреть все темы

Скрипт для Wordpress

 

4
rjwell @rjwell
Подскажите пожалуйста в чем проблема!? Когда пытаюсь подключить JQUERY к сайту, ломается его каркас! Что делать???

7094
--- @Render
rjwell пишет:

Подскажите пожалуйста в чем проблема!? Когда пытаюсь подключить JQUERY к сайту, ломается его каркас! Что делать???

Быть может стоит присмотреться в шаблон сайта? Возможно он уже подключен и незачем его подключать больше 1 раза.

4
rjwell @rjwell
Ну если бы он был пристроен то скрипт бы работал! а он нет!

4
rjwell @rjwell
Вот весь HEAD вроде нет!



<!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" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' |'; } ?> <?php bloginfo('name'); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/screen.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/print.css" type="text/css" media="print" />
<!--[if IE]><link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/ie.css" type="text/css" media="screen, projection"><![endif]-->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<?php if(get_theme_option('featured_posts') != '' && is_home()) {
?>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.css" type="text/css" media="screen" charset="utf-8" />
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2.5-core-yc.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2-more.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.transitions.js" type="text/javascript"></script>

<?php } ?>
<!--[if IE 6]>
<script src="<?php bloginfo('template_url'); ?>/js/pngfix.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<script src="<?php bloginfo('template_directory'); ?>/menu/mootools-1.2.5-core-yc.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/menu/MenuMatic.css" type="text/css" media="screen" charset="utf-8" />
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/menu/MenuMatic-ie6.css" type="text/css" media="screen" charset="utf-8" />
<![endif]-->
<!-- Load the MenuMatic Class -->
<script src="<?php bloginfo('template_directory'); ?>/menu/MenuMatic_0.68.3.js" type="text/javascript" charset="utf-8"></script>
<?php wp_head(); ?>
</head>

7094
--- @Render
Лучше смотреть в исходном коде страницы сайта весь код на выходе.
Ну если бы он был пристроен то скрипт бы работал! а он нет!

Если версия jquery несовместима, то не будет работать, даже если "пристроен".

4
rjwell @rjwell
И чего ж делать то!??? 😀

20089
Dimitry @Dimitry
И самый главной вопрос, причём тут myradio24 ?)

5397
FF @Lion
Dimitry пишет:

И самый главной вопрос, причём тут myradio24)

🤣

6600
Александр @admiral
Между jquery и mootools еще бывают конфликты из за которых одно или другое может не работать
PS а тема да, не в том месте, не в то время )

Отредактировано admiral - 01.07.2012