Page 2 of 3
Collapse image not appearing
Posted: 24 Jun 2012, 18:20
by martin123456
First lets fix 1 problem at a time go to your acp and set it to scroll (no ticker) this will tell us your jquery is good.
then we will move onto the collapse
edit you still have 3 queries on view source
remove
Code: Select all
<script src="./styles/prosilver/template/jquery_base/jquery-1.7.1.min.js" type="text/javascript"></script>
remove
Code: Select all
<script src="./styles/prosilver/template/jquery_base/jquery-ui-1.8.9.custom.min.js" type="text/javascript"></script>
Nothing will work until you do
Collapse image not appearing
Posted: 25 Jun 2012, 02:45
by Jessica
those aren't in my overall_header.html...:/
Collapse image not appearing
Posted: 25 Jun 2012, 04:13
by martin123456
Jessica wrote:those aren't in my overall_header.html...:/
They sure are i can see them when i view source.
Code: Select all
</script>
<script type="text/javascript" src="./styles/prosilver/template/styleswitcher.js"></script>
<script type="text/javascript" src="./styles/prosilver/template/forum_fn.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="./script/jquery.totemticker.min.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
$(document).ready(function() {
$('#vertical-ticker').totemticker({
row_height : '41px',
max_items : 3,
speed : 400,
interval : 4000,
next : '#ticker-next',
previous : '#ticker-previous',
stop : '#stop',
start : '#start',
mousestop : true,
direction : 'down'
});
});
// ]]>
</script>
<script type="text/javascript" src="./styles/prosilver/template/jquery.cookie.js"></script>
<script type="text/javascript" src="./styles/prosilver/template/jquery.collapse.js"></script>
<script type="text/javascript" src="./styles/prosilver/template/tooltip.js"></script>
<script type="text/javascript" src="./styles/prosilver/template/tabs.js"></script>
<link href="./styles/prosilver/theme/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="./style.php?id=1&lang=en&sid=7e2ba69966c8c489d9dd6f44d844ca09" rel="stylesheet" type="text/css" media="screen, projection" />
<link href="./styles/prosilver/theme/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="./styles/prosilver/theme/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="./styles/prosilver/theme/large.css" rel="alternate stylesheet" type="text/css" title="A++" />
<script type="text/javascript" src="./styles/prosilver/template/reputation/reputation.js"></script>
<script type="text/javascript"><!--
var spoiler_show = "[Reveal]";
var spoiler_hide = "[Obscure]";
//--></script>
<script type="text/javascript" src="./styles/prosilver/template/prime_bbcode_spoiler.js"></script>
<link href="./styles/prosilver/theme/prime_bbcode_spoiler.css" rel="stylesheet" type="text/css" /><!-- @todo: Add all code that needs to be executed in the header here -->
<link href="./styles/prosilver/theme/jquery_base.css" rel="stylesheet" type="text/css" />
<script src="./styles/prosilver/template/jquery_base/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="./styles/prosilver/template/jquery_base/jquery-ui-1.8.9.custom.min.js" type="text/javascript"></script>
<script src="./styles/prosilver/template/jquery_base/jquery.notify.min.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
/**
* change this to the div you need for your style
Collapse image not appearing
Posted: 25 Jun 2012, 04:45
by Jessica
ah I notice they're from the jQuery base mod....I'm going to see if disabling that mod would work without having to remove the mod completely.
edit: nope (collapse not working still)
edit #2: jQuery scroll is working though...
Collapse image not appearing
Posted: 25 Jun 2012, 06:31
by Stoker
All you need is to delete the line containing this: jquery_base/jquery-1.7.1.min.js from the jquery base file.
Collapse image not appearing
Posted: 25 Jun 2012, 15:39
by Jessica
that'll stop the mark forums/topics read from working, but I'll just do that (temporarily) to see if it really makes the collapse work
edit: nope, still not working
Collapse image not appearing
Posted: 25 Jun 2012, 19:19
by jabhi
Try this, from \root\styles\xxx\template\jquery_base\jquery_base_header.html
Cut :
Code: Select all
<script src="{T_SUPER_TEMPLATE_PATH}/jquery_base/jquery-1.7.1.min.js" type="text/javascript"></script>
In overall header,
Past below :
Code: Select all
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script>
And remove :
Code: Select all
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
Not sure just try
Collapse image not appearing
Posted: 26 Jun 2012, 02:32
by Jessica
nope doesn't work :/
Collapse image not appearing
Posted: 26 Jun 2012, 07:13
by jabhi
You may have another jquery in some where in any file. only one jquery for one forum
Collapse image not appearing
Posted: 27 Jun 2012, 05:08
by Jessica
how come the jQuery ticker works, then? also, how do I get the collapse icon for the Top Stats?