User talk:Arrow: Difference between revisions

Jump to navigation Jump to search
807 bytes added ,  12 February 2013
(→‎Collapsible bars: new section)
Line 29: Line 29:


:::::::Mmk. I'll let you continue to experiment with layouts and such. Also, use File instead of Image. In the long run it can save a few hundred characters per page, especially with all of those little icons. I can do a quick regex to replace them at some point if I notice you haven't. If you use Google Chrome, I recommend installing the "Search and Replace" extension. It's handy. --{{User:Notmyhandle/Sig}} 17:41, 12 February 2013 (UTC)
:::::::Mmk. I'll let you continue to experiment with layouts and such. Also, use File instead of Image. In the long run it can save a few hundred characters per page, especially with all of those little icons. I can do a quick regex to replace them at some point if I notice you haven't. If you use Google Chrome, I recommend installing the "Search and Replace" extension. It's handy. --{{User:Notmyhandle/Sig}} 17:41, 12 February 2013 (UTC)
== Collapsible bars ==
You can use this code, extracted from the template:
<pre>
<div class="NavFrame" style="margin-left:33px;margin-bottom:5px;text-align:left;padding:0">
<div class="NavHead" style="background-color:#D0D0F1">Title</div>
<div class="NavContent" style="display: none">
Content goes here.
</div></div></pre>
Without looking at the code for each of the classes, the first div encapsulates it all and indents the left side. The NavHead has the colored title bar with the javascript show/drop down button. And the NavContent is the separate div that gets hidden until the show button is pressed. Fill in the Title/Content info as you like. You can put parameters in wherever you want changes to be available when calling the template. --{{User:Notmyhandle/Sig}} 21:17, 12 February 2013 (UTC)

Navigation menu