Change the button image in the topic toolbar skin. On the Styles tab, see Toolbar > Toolbar button > Expand All / Collapse All > Background.MaxyDocs wrote:Am I right in thinking that you cannot change the image of the expand all / collapse all button in the topic toolbar proxy - I'm using HTML5 Top Nav?
I've been asked to make the expand all / collapse button a bit clearer so was thinking of adding a named button rather than the current Hamburger looking button.
Default Togglers to Expanded on Page Load
Re: Default Togglers to Expanded on Page Load
Re: Default Togglers to Expanded on Page Load
Cool, I'll give it a whirl, thanks for the guidance and have a great weekendDave Lee wrote:Change the button image in the topic toolbar skin. On the Styles tab, see Toolbar > Toolbar button > Expand All / Collapse All > Background.MaxyDocs wrote:Am I right in thinking that you cannot change the image of the expand all / collapse all button in the topic toolbar proxy - I'm using HTML5 Top Nav?
I've been asked to make the expand all / collapse button a bit clearer so was thinking of adding a named button rather than the current Hamburger looking button.
Kind Regards
Craig
Re: Default Togglers to Expanded on Page Load
I'm also wondering about this, have you (or anyone else) found a solution?MaxyDocs wrote:You wouldn't think that a few lines of script could make a man so happy.Try this:Code: Select all
CODE: SELECT ALL $(document).ready(function() { $(".MCDropDownHotSpot").click(); window.scrollTo(0,0); });
Thanks so much Dave, works a treat.
Am I right in thinking that you cannot change the image of the expand all / collapse all button in the topic toolbar proxy - I'm using HTML5 Top Nav?
I've been asked to make the expand all / collapse button a bit clearer so was thinking of adding a named button rather than the current Hamburger looking button.
Thanks again
Craig
Re: Default Togglers to Expanded on Page Load
Did you see my reply to that just a few posts back?Kolman wrote:I'm also wondering about this, have you (or anyone else) found a solution?
Dave Lee wrote:Change the button image in the topic toolbar skin. On the Styles tab, see Toolbar > Toolbar button > Expand All / Collapse All > Background.
Re: Default Togglers to Expanded on Page Load
I did not, thank you for pointing it out
Re: Default Togglers to Expanded on Page Load
Hello,
Great posts, thank you so much. So, how would I expand the second drop down instead of the first?
Canaussie
Great posts, thank you so much. So, how would I expand the second drop down instead of the first?
Canaussie
Re: Default Togglers to Expanded on Page Load
You could use jQuery :eq(n) selector - the number (n) starts at zero, so :eq(1) is the second element of that type.CanAussie wrote:Hello,
Great posts, thank you so much. So, how would I expand the second drop down instead of the first?
Canaussie
Code: Select all
$(document).ready(function() {
$(".MCDropDownHotSpot:eq(1)").click();
window.scrollTo(0,0);
});
Re: Default Togglers to Expanded on Page Load
Nice...in fact, very nice
Thank you, Sir.
Canaussie
Thank you, Sir.
Canaussie
Re: Default Togglers to Expanded on Page Load
I'm very curious to know what scenarios demand these links being expanded by default. The purpose of these links is to make the topics more compact, and the body of the link content should be optional/obvious to some and only those interested should bother to expand them. Won't expanding them by default defeat the purpose of the links?
Arthur Cui
Flare 2019
Flare 2019
Re: Default Togglers to Expanded on Page Load
EDIT: This slightly updated script is what ended up working for me:
Code: Select all
<script>
$(window).bind("load", function() {
$(".MCDropDownHotSpot").click();
});
</script>