Template talk:Item: Difference between revisions

m
Line 75: Line 75:
::When it loads, it starts expanded (because this style doesn't exist), but onload() it is set to style="display:none;" via JavaScript. What I'm saying is make sure it starts collapsed so that the anchors work on all browsers correctly.
::When it loads, it starts expanded (because this style doesn't exist), but onload() it is set to style="display:none;" via JavaScript. What I'm saying is make sure it starts collapsed so that the anchors work on all browsers correctly.
::I just tested, and it seems Firefox does a *better* job than Chrome of moving to the correct view, but is still sometimes inaccurate... <b>~ [[User:Ribose|<span style="color:green" title="user">Ribose</span>]] · [[User talk:Ribose|<span style="color:blue" title="talk">talk</span>]] · [[Special:Contributions/Ribose|<span style="color:blue" title="contributions">cntr</span>]] ·</b> 19:29, 20 May 2011 (UTC)
::I just tested, and it seems Firefox does a *better* job than Chrome of moving to the correct view, but is still sometimes inaccurate... <b>~ [[User:Ribose|<span style="color:green" title="user">Ribose</span>]] · [[User talk:Ribose|<span style="color:blue" title="talk">talk</span>]] · [[Special:Contributions/Ribose|<span style="color:blue" title="contributions">cntr</span>]] ·</b> 19:29, 20 May 2011 (UTC)
:::Show me what you're talking about in your userspace then, because I'm not getting what you're trying to say. If you're simply adding style="display:none;" on your testing, then the effect you're seing is due to the page being smaller and therefore loading faster, and you're permanently hiding a component of the template. <span class="sc">[[User:Werdnae|<span style="color:#2D4B98;">Werdnae</span>]]</span> <small>[[User talk:Werdnae|<span style="color:#009000;">(talk)</span>]]</small> 20:12, 20 May 2011 (UTC)
16,071

edits