---+ Customized top bar for PDG web (copied from !TWiki.TopMenuSkinTopBar) Top bar of TWiki.TopMenuSkin, replacing TWiki.WebTopBar. ----- %STARTINCLUDE%%INCLUDE{%SYSTEMWEB%.TopMenuSkin}% <div style="position: fixed; min-width: 35px; height: 22px; background-image: url(%PUBURLPATH%/%SYSTEMWEB%/TopMenuSkin/menu-start.png); background-repeat: no-repeat;" id="topmenu-start"> <div style="position: fixed; width: 100%; height: 22px; background-image: url(%PUBURLPATH%/%SYSTEMWEB%/TopMenuSkin/menu-gray-bg.png); background-repeat: repeat-x; display: block;" id="topmenu-bar"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr style="background-image: url(%PUBURLPATH%/%SYSTEMWEB%/TopMenuSkin/menu-gray-bg.png); background-repeat: repeat-x;"> <td width="35"><img src="%PUBURLPATH%/%SYSTEMWEB%/TopMenuSkin/menu-start.png" width="35" height="22" alt="" /></td> <td width="80%"> <div class="twTopMenuTab">%IF{ "istopic '%BASEWEB%.WebTopMenu'" then="$percntINCLUDE{%BASEWEB%.WebTopMenu}$percnt" else="$percntINCLUDE{%SYSTEMWEB%.TopMenuSkinDefaultWebTopMenu}$percnt" }% </div></td><td><div class="twTopMenuTab" style="float:right"> * [[%WIKIUSERNAME%][ %ICON{"person"}% %MAKETEXT{"Account"}% %ICON{menu-down}%]] %IF{ "context authenticated" then=' * [[%WIKIUSERNAME%][%SPACEOUT{%WIKINAME%}%]]' else="<nop>" }% %IF{ "$ LOGOUT != '' AND context authenticated" then=' * %LOGOUT%' else="<nop>" }% %IF{ "$ LOGIN != '' AND NOT context authenticated" then=' * %LOGIN%' else="<nop>" }% %IF{ "'%USERNAME%'='guest' OR '%USERNAME%'='TWikiGuest'" then="<nop>" else="%IF{ "istopic '%USERSWEB%.%WIKINAME%Bookmarks'" then=" * [[%USERSWEB%.%WIKINAME%Bookmarks][----- %MAKETEXT{Bookmarks}% -----]]$n * [[%SCRIPTURL{viewauth}%/%USERSWEB%/%WIKINAME%Bookmarks?link=%BASEWEB%.%BASETOPIC%;label=%CALCULATE{$NOP(%)ENCODE{$PROPERSPACE($SUBSTRING(.%BASETOPIC%,2,20))}$NOP(%)}%#AddBookmark][Bookmark this page...]]" else=" * [[%SCRIPTURL{viewauth}%/%USERSWEB%/%WIKINAME%Bookmarks?createifnotexist=1&templatetopic=%SYSTEMWEB%.UserBookmarksTemplate&topicparent=%WIKINAME%][----- %MAKETEXT{Bookmarks}% -----]]$n * [[%SCRIPTURL{viewauth}%/%USERSWEB%/%WIKINAME%Bookmarks?createifnotexist=1&templatetopic=%SYSTEMWEB%.UserBookmarksTemplate&topicparent=%WIKINAME%&redirectto=%SCRIPTURL{viewauth}%/%USERSWEB%/%WIKINAME%Bookmarks%3Flink%3D%BASEWEB%.%BASETOPIC%%26amp%3Blabel%3D%CALCULATE{$NOP(%)ENCODE{$PROPERSPACE($SUBSTRING(.%BASETOPIC%,2,20))}$NOP(%)}%#AddBookmark][Bookmark this page...]]" }%" }% %SEARCH{ "^\| *<\!\-\-BOOKMARK\-\-> *\|" type="regex" web="%USERSWEB%" topic="%WIKINAME%Bookmarks" multiple="on" nonoise="on" format=" * [[$pattern(\| *<\!\-\-BOOKMARK\-\-> *\| *(.*?) *\|.*)][$pattern(\| *<\!\-\-BOOKMARK\-\-> *\|[^\|]*\| *(.*?) *\|.*)]]" }%<nop> </div></td><td><div class="twTopMenuTab"> %IF{ "context authenticated" then=' * [[%SYSTEMWEB%.%HOMETOPIC%][<img src="%ICONURLPATH{twiki-help}%" width="16" height="16" border="0" alt="Help" title="%MAKETEXT{"TWiki help"}%" style="margin: 1px;" />]]' else="<nop>" }% </div></td> <td width="40"><img src="%PUBURLPATH%/%SYSTEMWEB%/TopMenuSkin/spacer.gif" width="40" height="1" alt="" /></td> </tr> </table> </div> </div> <div style="height: 25px;"></div> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr style="background-image: url(%PUBURLPATH%/%SYSTEMWEB%/TopMenuSkin/banner-bg.png); background-repeat: repeat-x;"><td width="35"><img src="%PUBURLPATH%/%SYSTEMWEB%/TopMenuSkin/spacer.gif" width="35" height="58" alt="" /></td> <td width="30"> <span id="twikiLogo" class="twikiImage"><a href="%WEBLOGOURL%"><img src="%WEBLOGOIMG%" border="0" alt="%WEBLOGOALT%" title="%WEBLOGOALT%" style="border:none;" /></a></span></td> <td align="right" style="background-image: url(%PUBURLPATH%/%SYSTEMWEB%/TopMenuSkin/banner-net-bg.png); background-repeat: repeat-x;" class="patternMetaMenu"> <noautolink> * <form name="jumpForm" action="%SCRIPTURLPATH{"view"}%/%BASEWEB%/%BASETOPIC%"><input id="jumpFormField" type="text" class="twikiInputField" name="topic" value="" size="10" title="%MAKETEXT{"Jump to a topic by its name; browse to a topic by typing a partial name"}%" /><noscript> <input type="submit" class="twikiButton" size="5" name="submit" value="%MAKETEXT{"Jump"}%" /> </noscript> </form> * <form name="quickSearchForm" action="%SCRIPTURLPATH{view}%/%INCLUDINGWEB%/WebSearch"><input type="text" class="twikiInputField" id="quickSearchBox" name="search" value="" size="10" title="%MAKETEXT{"Search in current web. For example, to search for all topics that contain "SOAP", "WSDL", a literal "web service", but not "shampoo", write: soap wsdl "web service" -shampoo"}%" /><input type="hidden" name="scope" value="all" /><input type="hidden" name="web" value="%BASEWEB%" /><noscript> <input type="submit" size="5" class="twikiButton" name="submit" value="%MAKETEXT{"Search"}%" /> </noscript> </form> </noautolink> </td> <td width="15"><img src="%PUBURLPATH%/%SYSTEMWEB%/TopMenuSkin/spacer.gif" width="15" height="10" alt="" /></td> %IF{ "defined 'READONLYSKINMODE' AND ($ READONLYSKINMODE > 0)" then="<!--" else="<nop>" }% <td width="165" valign="bottom"><div id="twTopBarButtons">%TMPL:P{"topbarbuttons"}%</div></td> %IF{ "defined 'READONLYSKINMODE' AND ($ READONLYSKINMODE > 0)" then="-->" else="<nop>" }% <td width="40"><img src="%PUBURLPATH%/%SYSTEMWEB%/TopMenuSkin/spacer.gif" width="40" height="1" alt="" /></td> </tr> </table> <script type="text/javascript"> var twTopMenuBarCloseTimer = null; var twTopMenuBarTimerMsec = 1000; function twToggleTopMenuBar( isHover ) { if( '%FIXEDTOPMENU%' == 'on' || '%FIXEDTOPMENU%' == '1' ) { return; } var displayState = 'none'; if( $(window).scrollTop()<22 || isHover>0 ) { displayState = 'block'; if(twTopMenuBarCloseTimer) { window.clearTimeout(twTopMenuBarCloseTimer); twTopMenuBarCloseTimer = null; } } else { if(!twTopMenuBarCloseTimer && isHover>=0 ) { twTopMenuBarCloseTimer = window.setTimeout(twCloseTopMenuBar, twTopMenuBarTimerMsec); return; } } if( $('#topmenu-bar').css('display') != displayState ) { $('#topmenu-bar').css('display', displayState); } }; function twCloseTopMenuBar() { twToggleTopMenuBar(-1); } $(document).ready(function () { twToggleTopMenuBar(0); }); $(window).scroll(function () { twToggleTopMenuBar(0); }); $('#topmenu-start').hover( function () { twToggleTopMenuBar(1); }, function () { twToggleTopMenuBar(0); } ); </script>%STOPINCLUDE% ----- * Disable WYSIWYG editor for this page: * Set EDITMETHOD = raw __Related topics:__ TWiki.TopMenuSkin, TopMenuSkinTopBar, TWiki.TopMenuSkinDefaultWebTopMenu, TWiki.WebTopMenu
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r17
<
r16
<
r15
<
r14
<
r13
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r17 - 2017-02-24
-
Beringer
Home
Pdg web
Pdg Web
Index
Search
Changes
No permission to view
TWiki.TopMenuSkinTopicMenu
Account
Log In
E
dit
A
ttach
Copyright Information: This page and all following are copyrighted by the Regents of the University of California