Replace:
*.*/styles/supernova/template/cats.js
Open styles/supernova/template/overall_header.html
Find:
- Code: Select all
<script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery-1.4.2.min.js"></script>
Replace with:
- Code: Select all
<!--<script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery-1.4.2.min.js"></script>-->
Find:
- Code: Select all
<script type="text/javascript">
$(document).ready(function() {
$('#sn-not-logged-in').mouseenter(function() {
$('#sn-not-logged-in-hover').fadeIn('medium');
});
$('#sn-not-logged-in-hover').mouseleave(function() {
$('#sn-not-logged-in-hover').fadeOut('medium');
});
});
</script>
<script type="text/javascript">
$(document).ready(function(){
$("input:checkbox").each( function() {
(this.checked) ? $("#fake"+this.id).addClass('fakechecked') : $("#fake"+this.id).removeClass('fakechecked');
});
$(".fakecheck").click(function(){
($(this).hasClass('fakechecked')) ? $(this).removeClass('fakechecked') : $(this).addClass('fakechecked');
$(this.hash).trigger("click");
return false;
});
});
</script>
<!-- IF $SN_TOOLTIP -->
<script type='text/javascript'>
$(function() {
$('div.colour-block').tipsy({fade: true, gravity: 's'});
});
</script>
Replace with:
- Code: Select all
<script type="text/javascript">
jQuery.noConflict();
(function($) {
$(document).ready(function() {
$(document).ready(function() {
$('#sn-not-logged-in').mouseenter(function() {
$('#sn-not-logged-in-hover').fadeIn('medium');
});
$('#sn-not-logged-in-hover').mouseleave(function() {
$('#sn-not-logged-in-hover').fadeOut('medium');
});
});
});
})(jQuery);
</script>
<script type="text/javascript">
jQuery.noConflict();
(function($) {
$(document).ready(function() {
$(document).ready(function(){
$("input:checkbox").each( function() {
(this.checked) ? $("#fake"+this.id).addClass('fakechecked') : $("#fake"+this.id).removeClass('fakechecked');
});
$(".fakecheck").click(function(){
($(this).hasClass('fakechecked')) ? $(this).removeClass('fakechecked') : $(this).addClass('fakechecked');
$(this.hash).trigger("click");
return false;
});
});
});
})(jQuery);
</script>
<!-- IF $SN_TOOLTIP -->
<script type='text/javascript'>
jQuery.noConflict();
(function($) {
$(document).ready(function() {
$(function() {
$('div.colour-block').tipsy({fade: true, gravity: 's'});
});
});
})(jQuery);
</script>
Find:
- Code: Select all
<script type="text/javascript">
if($.cookie("sn_board_style")) {
$("link.colour-switcher").attr("href",$.cookie("sn_board_style"));
}
$(document).ready(function() {
$("div.colour-block span a").click(function() {
$("link.colour-switcher").attr("href",$(this).attr('rel'));
$.cookie("sn_board_style",$(this).attr('rel'), {expires: 365, path: '/'});
return false;
});
});
</script>
Replace with:
- Code: Select all
<script type="text/javascript">
jQuery.noConflict();
(function($) {
$(document).ready(function() {
if($.cookie("sn_board_style")) {
$("link.colour-switcher").attr("href",$.cookie("sn_board_style"));
}
$(document).ready(function() {
$("div.colour-block span a").click(function() {
$("link.colour-switcher").attr("href",$(this).attr('rel'));
$.cookie("sn_board_style",$(this).attr('rel'), {expires: 365, path: '/'});
return false;
});
});
});
})(jQuery);
</script>
Don't forget to refresh your template, Purge the cache and clear your browser's cache.
Let me know how it goes,
Update:
The above works fine for me on version SN 0.5.2