2012-11-02, 02:38 AM
Pages: 1 2
2012-11-02, 03:21 AM
Looking at your forum you load jquery twice:
In the header template:
And in your index template:
The first one is done correctly with the jquery no conflict added just below it, the second one isnt. Also why would you load jquery twice?
In the header template:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
And in your index template:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
The first one is done correctly with the jquery no conflict added just below it, the second one isnt. Also why would you load jquery twice?
2012-11-02, 04:01 AM
(2012-11-02, 03:21 AM)anori Wrote: [ -> ]Looking at your forum you load jquery twice:
In the header template:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
And in your index template:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
The first one is done correctly with the jquery no conflict added just below it, the second one isnt. Also why would you load jquery twice?
I dont know, I believe it's because of a plugin, so should I remove the 2nd one ?
2012-11-02, 04:04 AM
Yes. Remove the older version from loading.
Just load jQ library once with right no conflict declaration, don't use jQ shorthand ($) in your functions, instead use 'jQuery' and it will all go good.
Just load jQ library once with right no conflict declaration, don't use jQ shorthand ($) in your functions, instead use 'jQuery' and it will all go good.
2012-11-02, 04:08 AM
I cannot seem to find the
Its not on the headerinclude, header, and index template.
Where to find it ?
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
Its not on the headerinclude, header, and index template.
Where to find it ?
2012-11-02, 04:37 AM
Yes it is. At the very beginning of your index template.
2012-11-02, 05:00 AM
Its not in my index :\ This below is the start of my index.
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
<style type="text/css">
.buttons {
background: url(images/arrowright.png) no-repeat;
width: 16px;
height: 16px;
display: block;
cursor: pointer;
}
.clickedbuttons {
background: url(images/arrowleft.png) no-repeat;
width: 16px;
height: 16px;
display: block;
cursor: pointer;
}
</style>
</head>
2012-11-02, 05:52 AM
OK, if you can't detect the old library, alternately remove the new lib which is detectable from your headerinclude ...
2012-11-02, 11:19 AM
The sidebar would not work if I remove that node. :\
I rly do not know what is happening, I can't find the other JS you referred in your previous post, why is that ? :\
I rly do not know what is happening, I can't find the other JS you referred in your previous post, why is that ? :\
2012-11-02, 11:27 AM
Could you list the plugins that you use? Might be because of a plugin adding this to the page.
Because it only happens on the index page. And it is put right behind the <!--headerinclude--> almost makes me think its done by a plugin. (since normally you cant put it right behind it it always appears below it when doing it through template edits.)
Because it only happens on the index page. And it is put right behind the <!--headerinclude--> almost makes me think its done by a plugin. (since normally you cant put it right behind it it always appears below it when doing it through template edits.)
Pages: 1 2