Changeset 8183 for extensions/stripped
- Timestamp:
- Dec 17, 2010, 9:39:08 PM (14 years ago)
- Location:
- extensions/stripped
- Files:
-
- 2 added
- 37 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped/js/scripts-tpp.js
r7989 r8183 59 59 var delay; 60 60 if (options.animatedTabs) {delay = "slow";} else {delay = 0;} 61 var hfirst; 62 if (jQuery.browser.msie) {hfirst=false;} else {hfirst=true;} 61 63 62 64 var tab_titles=jQuery(".tabTitle"); … … 95 97 if (index1 == index2) { 96 98 if (old_selected_tab == -1) { 97 jQuery(this).show("fold",{horizFirst: true,mode:"show",size:'1'},delay);99 jQuery(this).show("fold",{horizFirst:hfirst,mode:"show",size:'1'},delay); 98 100 } else { 99 101 jQuery(this).show(); … … 268 270 // position 269 271 270 var prevbox_pos1= parseInt( ( content_width - image_width + PrevImg.outerWidth()) / 2 ) + 20;272 var prevbox_pos1= parseInt( ( content_width - image_width + PrevImg.outerWidth()) / 2 ) + 120; 271 273 var prevbox_pos0= prevbox_pos1 - PrevBoxOut.width(); 272 274 var left_margin = parseInt( ( window_width - content_width ) / 2 ); … … 301 303 // position 302 304 303 var nextbox_pos1= parseInt( ( content_width - image_width + NextImg.outerWidth()) / 2 ) + 20;305 var nextbox_pos1= parseInt( ( content_width - image_width + NextImg.outerWidth()) / 2 ) + 120; 304 306 var nextbox_pos0= nextbox_pos1 - NextBoxOut.width(); 305 307 var right_margin = parseInt( ( window_width - content_width ) / 2 ); -
extensions/stripped/readme.txt
r7989 r8183 28 28 --------- 29 29 30 *** version 1.1.0 31 32 - picture navbuttons moved into the title bar 33 - increased size of prev/next thumbnail zone on picture page 34 - picture icons and thumbnail arrows replaced by png stripes 35 - improved compatibility with Internet Explorer 6 (centered thumbnails) 36 37 *** version 1.0.2 38 39 - minor layout changes 40 - improved compatibility with Internet Explorer 41 30 42 *** version 1.0.1 31 43 -
extensions/stripped/template/picture.tpl
r8025 r8183 56 56 <li><a href="{$U_SLIDESHOW_START}" title="{'slideshow'|@translate}" rel="nofollow">{'slideshow'|@translate}</a></li> 57 57 {/if} 58 <li><div class="imageNumber">{$PHOTO}</div></li> 58 <li id="imageToolBar"> 59 {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'} 60 </li> 61 <li class="imageNumber">{$PHOTO}</li> 59 62 {php} 60 63 global $pwg_loaded_plugins; … … 81 84 </div> 82 85 83 <!--Infos-->84 85 <div id="imageInfoBar">86 <div id="imageToolBar">87 {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}88 </div>89 </div>90 91 86 {assign var='display_description_tab' value=false} 92 87 {if (!($smarty.config.showDescriptionInsteadOfTitle) && isset($COMMENT_IMG))} … … 145 140 {/if} 146 141 <div id="tabTitleBar"> 147 <ul id="tabTitles" style="height:50px;">142 <ul id="tabTitles"> 148 143 {if $display_description_tab} 149 144 <li id="tabTcaption" class="tabTitle">{'Description'|@translate}</li> -
extensions/stripped/template/picture_nav_buttons.tpl
r7989 r8183 2 2 {if $DISPLAY_NAV_BUTTONS or isset($slideshow)} 3 3 4 {if isset($last)} 5 <a id="icon_last" class="navButton" href="{$last.U_IMG}" title="{'Last'|@translate} : {$last.TITLE}" rel="last"><!--<img src="{$ROOT_URL}{$themeconf.icon_dir}/last.png" class="button" alt="{'Last'|@translate}">--></a> 4 {if isset($slideshow.U_STOP_REPEAT)} 5 <a id="icon_stop_repeat" class="navButton" href="{$slideshow.U_STOP_REPEAT}" title="{'Not repeat the slideshow'|@translate}"> </a> 6 {/if} 7 8 {if isset($slideshow.U_START_REPEAT)} 9 <a id="icon_start_repeat" class="navButton" href="{$slideshow.U_START_REPEAT}" title="{'Repeat the slideshow'|@translate}"> </a> 10 {/if} 11 12 {if isset($first)} 13 <a id="icon_first" class="navButton" href="{$first.U_IMG}" title="{'First'|@translate} : {$first.TITLE}" rel="first"> </a> 6 14 {else} 7 <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/last_0.png" class="button" alt=""></a> 15 <a id="icon_first_0" class="navButton"> </a> 16 {/if} 17 18 {if isset($previous)} 19 <a id="icon_left" class="navButton" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev"> </a> 20 {else} 21 <a id="icon_left_0" class="navButton"> </a> 22 {/if} 23 24 {if isset($U_UP) and !isset($slideshow)} 25 <a id="icon_up" class="navButton" href="{$U_UP}" title="{'Thumbnails'|@translate}" rel="up"> </a> 26 {/if} 27 28 {if isset($U_SLIDESHOW_STOP)} 29 <a id="icon_stop" class="navButton" href="{$U_SLIDESHOW_STOP}" title="{'stop the slideshow'|@translate}"> </a> 30 {/if} 31 32 {if isset($slideshow.U_STOP_PLAY)} 33 <a id="icon_pause" class="navButton" href="{$slideshow.U_STOP_PLAY}" title="{'Pause of slideshow'|@translate}"> </a> 34 {/if} 35 36 {if isset($slideshow.U_START_PLAY)} 37 <a id="icon_play" class="navButton" href="{$slideshow.U_START_PLAY}" title="{'Play of slideshow'|@translate}"> </a> 8 38 {/if} 9 39 10 40 {if isset($next)} 11 <a id="icon_right" class="navButton" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next"> <!--<img src="{$ROOT_URL}{$themeconf.icon_dir}/right.png" class="button" alt="{'Next'|@translate}">--></a>41 <a id="icon_right" class="navButton" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next"> </a> 12 42 {else} 13 <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/right_0.png" class="button" alt=""></a>43 <a id="icon_right_0" class="navButton"> </a> 14 44 {/if} 15 45 16 {if isset($slideshow.U_START_PLAY)} 17 <a id="icon_play" class="navButton" href="{$slideshow.U_START_PLAY}" title="{'Play of slideshow'|@translate}"><!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/play.png" class="button" alt="{'Play of slideshow'|@translate}"> --></a> 18 {/if} 19 20 {if isset($slideshow.U_STOP_PLAY)} 21 <a id="icon_pause" class="navButton" href="{$slideshow.U_STOP_PLAY}" title="{'Pause of slideshow'|@translate}"><!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/pause.png" class="button" alt="{'Pause of slideshow'|@translate}"> --></a> 22 {/if} 23 24 {if isset($U_SLIDESHOW_STOP)} 25 <a id="icon_stop" class="navButton" href="{$U_SLIDESHOW_STOP}" title="{'stop the slideshow'|@translate}"><!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/stop.png" class="button" alt="{'Play of slideshow'|@translate}"> --></a> 26 {/if} 27 28 {if isset($U_UP) and !isset($slideshow)} 29 <a id="icon_up" class="navButton" href="{$U_UP}" title="{'Thumbnails'|@translate}" rel="up"><!-- <img src="{$ROOT_URL}{$themeconf.icon_dir}/up.png" class="button" alt="{'Thumbnails'|@translate}"> --></a> 30 {/if} 31 32 {if isset($previous)} 33 <a id="icon_left" class="navButton" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev"><!--<img src="{$ROOT_URL}{$themeconf.icon_dir}/left.png" class="button" alt="{'Previous'|@translate}">--></a> 46 {if isset($last)} 47 <a id="icon_last" class="navButton" href="{$last.U_IMG}" title="{'Last'|@translate} : {$last.TITLE}" rel="last"> </a> 34 48 {else} 35 <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/left_0.png" class="button" alt=""></a> 36 {/if} 37 38 {if isset($first)} 39 <a id="icon_first" class="navButton" href="{$first.U_IMG}" title="{'First'|@translate} : {$first.TITLE}" rel="first"><!--<img src="{$ROOT_URL}{$themeconf.icon_dir}/first.png" class="button" alt="{'First'|@translate}">--></a> 40 {else} 41 <a class="navButton"><img src="{$ROOT_URL}{$themeconf.icon_dir}/first_0.png" class="button" alt=""></a> 42 {/if} 43 44 45 {if isset($slideshow.U_START_REPEAT)} 46 <a id="icon_start_repeat" class="navButton" href="{$slideshow.U_START_REPEAT}" title="{'Repeat the slideshow'|@translate}"><!--<img src="{$ROOT_URL}{$themeconf.icon_dir}/start_repeat.png" class="button" alt="{'Repeat the slideshow'|@translate}">--></a> 47 {/if} 48 49 {if isset($slideshow.U_STOP_REPEAT)} 50 <a id="icon_stop_repeat" class="navButton" href="{$slideshow.U_STOP_REPEAT}" title="{'Not repeat the slideshow'|@translate}"><!--<img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_repeat.png" class="button" alt="{'Not repeat the slideshow'|@translate}">--></a> 49 <a id="icon_last_0" class="navButton"> </a> 51 50 {/if} 52 51 -
extensions/stripped/template/slideshow.tpl
r8100 r8183 10 10 11 11 </div> 12 <ul class="randomButtons"> 13 <li id="imageToolBar"> 14 {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'} 15 </li> 16 <li class="imageNumber">{$PHOTO}</li> 17 </ul> 12 18 <div style="clear: both;"></div> 13 19 </div> <!-- imageHeaderBar --> 14 20 15 21 <div id="content"> 16 <div id="imageInfoBar">17 <div id="imageToolBar">18 {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}19 </div>20 </div>21 22 22 {assign var='display_description_tab' value=false} 23 23 {if (!($smarty.config.showDescriptionInsteadOfTitle) && isset($COMMENT_IMG))} -
extensions/stripped/theme.css
r8025 r8183 167 167 168 168 .titrePage { 169 height:21px; 169 170 font-size:115.385%; 170 171 margin: 0.5em 0 0 0; 171 line-height: 1. 5em;172 line-height: 1.4em; 172 173 } 173 174 … … 201 202 display: inline; 202 203 vertical-align:top; 203 padding-left:3px; 204 padding-left:7px; 205 float:left; 204 206 } 205 207 … … 572 574 top: 195px; 573 575 left: 4px; 574 background: transparent url(icon/ nb_prev_1.png) no-repeat scroll;576 background: transparent url(icon/arrows.png) 0 0 no-repeat; 575 577 } 576 578 #thumb_navigation #tn_next { … … 578 580 top: 195px; 579 581 right: 4px; 580 background: transparent url(icon/ nb_next_1.png) no-repeat scroll;582 background: transparent url(icon/arrows.png) -20px 0 no-repeat; 581 583 } 582 584 #thumb_navigation a#tn_prev:hover { 583 background: transparent url(icon/ nb_prev_2.png) no-repeat scroll;585 background: transparent url(icon/arrows.png) 0 -150px no-repeat; 584 586 } 585 587 #thumb_navigation a#tn_next:hover { 586 background: transparent url(icon/ nb_next_2.png) no-repeat scroll;588 background: transparent url(icon/arrows.png) -20px -150px no-repeat; 587 589 } 588 590 … … 591 593 #thePicturePage #theHeader { 592 594 display: none; 593 }594 595 #imageToolBar {596 float:right;597 }598 599 #imageInfoBar {600 display:block;601 height:25px;602 clear:both;603 padding: 0 2px;604 595 } 605 596 … … 621 612 display: inline; 622 613 vertical-align:top; 623 padding-left:3px; 614 padding-left:7px; 615 float:left; 624 616 } 625 617 … … 654 646 display:inline; 655 647 font-weight:normal; 656 padding-left:2px;657 648 } 658 649 … … 704 695 top: 0; 705 696 left: 0px; 706 width: 200px;697 width: 300px; 707 698 height: 600px; 708 699 text-align: right; … … 713 704 top: 0; 714 705 right: 0px; 715 width: 200px;706 width: 300px; 716 707 height: 600px; 717 708 text-align: left; … … 720 711 #linkPrevIn { 721 712 margin-right: 40px; 713 padding-right:100px; 722 714 height: 100%; 723 715 text-align: right; … … 727 719 #linkNextIn { 728 720 margin-left: 40px; 721 padding-left:100px; 729 722 height: 100%; 730 723 text-align: left; … … 824 817 825 818 #imageToolBar .navButton { 826 display:inline -block;827 width:2 4px;828 height:2 4px;829 float: right;819 display:inline; 820 width:20px; 821 height:20px; 822 float:left; 830 823 margin:0 2px; 831 } 832 833 #icon_last { background:url(icon/last_1.png); } 834 #icon_last:hover { background:url(icon/last_2.png); } 835 #icon_right { background:url(icon/right_1.png); } 836 #icon_right:hover { background:url(icon/right_2.png); } 837 #icon_play { background:url(icon/play_1.png); } 838 #icon_play:hover { background:url(icon/play_2.png); } 839 #icon_stop { background:url(icon/stop_1.png); } 840 #icon_stop:hover { background:url(icon/stop_2.png); } 841 #icon_pause { background:url(icon/pause_1.png); } 842 #icon_pause:hover { background:url(icon/pause_2.png); } 843 #icon_up { background:url(icon/up_1.png); } 844 #icon_up:hover { background:url(icon/up_2.png); } 845 #icon_left { background:url(icon/left_1.png); } 846 #icon_left:hover { background:url(icon/left_2.png); } 847 #icon_first { background:url(icon/first_1.png); } 848 #icon_first:hover { background:url(icon/first_2.png); } 849 #icon_start_repeat { background:url(icon/start_repeat_1.png); } 850 #icon_start_repeat:hover { background:url(icon/start_repeat_2.png); } 851 #icon_stop_repeat { background:url(icon/stop_repeat_1.png); } 852 #icon_stop_repeat:hover { background:url(icon/stop_repeat_2.png); } 853 #icon_dec_period { background:url(icon/dec_period_1.png); } 854 #icon_dec_period:hover { background:url(icon/dec_period_2.png); } 855 #icon_inc_period { background:url(icon/inc_period_1.png); } 856 #icon_inc_period:hover { background:url(icon/inc_period_2.png); } 824 background-image: url(icon/picture.png); 825 background-repeat: no-repeat; 826 overflow:hidden; 827 } 828 829 #icon_first_0 { background-position: 0 0 } 830 #icon_first { background-position: 0 -20px } 831 #icon_first:hover { background-position: 0 -40px } 832 #icon_left_0 { background-position: -20px 0 } 833 #icon_left { background-position: -20px -20px } 834 #icon_left:hover { background-position: -20px -40px } 835 #icon_up { background-position: -40px -20px } 836 #icon_up:hover { background-position: -40px -40px } 837 #icon_stop { background-position: -60px -20px } 838 #icon_stop:hover { background-position: -60px -40px } 839 #icon_pause { background-position: -80px -20px } 840 #icon_pause:hover { background-position: -80px -40px } 841 #icon_play { background-position: -100px -20px } 842 #icon_play:hover { background-position: -100px -40px } 843 #icon_right_0 { background-position: -120px 0 } 844 #icon_right { background-position: -120px -20px } 845 #icon_right:hover { background-position: -120px -40px } 846 #icon_last_0 { background-position: -140px 0 } 847 #icon_last { background-position: -140px -20px } 848 #icon_last:hover { background-position: -140px -40px } 849 #icon_stop_repeat { background-position: -160px -20px } 850 #icon_stop_repeat:hover { background-position: -160px -40px } 851 #icon_start_repeat { background-position: -180px -20px } 852 #icon_start_repeat:hover { background-position: -180px -40px } 853 #icon_inc_period { background-position: -200px -20px } 854 #icon_inc_period:hover { background-position: -200px -40px } 855 #icon_dec_period { background-position: -220px -20px } 856 #icon_dec_period:hover { background-position: -220px -40px } 857 857 858 858 /* Tabs ---------------------------------------------------------------------------------------- */
Note: See TracChangeset
for help on using the changeset viewer.