source: extensions/floOS/OS_glass/local_head.tpl @ 10291

Last change on this file since 10291 was 10291, checked in by flop25, 13 years ago

IE is too stupiiid -_-
js is now OK

File size: 2.4 KB
Line 
1
2{footer_script}
3{literal}
4var max_dim_width = 0;
5var max_dim_height = 0;
6jQuery(document).ready(function() {
7  $(".thumbnails img").each(function () {
8    if (jQuery(this).height() > max_dim_height)
9      max_dim_height = jQuery(this).height() + 10;
10    if (jQuery(this).width() > max_dim_width)
11      max_dim_width = jQuery(this).width() + 10;
12
13    jQuery(".wrap2")
14      .css('width', max_dim_width+'px')
15      .css('height', max_dim_height+'px');
16  });
17});
18{/literal}
19{/footer_script}
20
21{combine_script id='jquery.tipTip.minified' load='header' require='jquery' path='themes/OS_glass/tiptip/jquery.tipTip.minified.js'}
22{html_head}{literal}
23<script type="text/javascript">
24jQuery(document).ready(function(){
25        $(".titre_acordeon").click(function() {
26                $(this).next().toggle("medium");
27        }).next().hide();
28});
29jQuery(document).ready(function(){
30        $(".titre_acordeon_0").click(function() {
31                $(this).next().toggle("medium");
32        }).next().show();
33});
34$(function(){
35    $(".categoryActions A").tipTip({delay : 0, fadeIn : 200, fadeOut : 200 });
36    $("#home_icon A").tipTip({edgeOffset : 10, fadeIn : 200, fadeOut : 200, defaultPosition : "top" });
37    $(".randomButtons A").tipTip({delay : 0, fadeIn : 200, fadeOut : 200 });
38    $(".navButtons A").tipTip({delay : 0, fadeIn : 200, fadeOut : 200 });
39    $("#mbCategories a").tipTip({delay : 0, fadeIn : 200, fadeOut : 200 });
40});
41  </script>
42{/literal}
43{/html_head}
44{literal}
45<!--[if lt IE 7]>
46<style>
47        #menubar dl, #section_in {
48        background:  #FFF!important;
49        }
50        /* contenu "section" */
51        #section_up_left, #section_up, #section_up_right, #section_left, #section_bottom_left, #section_bottom, #section_bottom_right, #section_right{
52        background:none!important;
53        }
54</style>
55<![endif]-->
56<!--[if IE 7]>
57<style>
58        #menubar dl, #section_in {
59        background:  #FFF!important;
60        }
61        /* contenu "section" */
62        #section_up_left, #section_up, #section_up_right, #section_left, #section_bottom_left, #section_bottom, #section_bottom_right, #section_right{
63        background:none!important;
64        }
65        BODY#theCommentsPage .content,
66        BODY#theUploadPage .content,
67        BODY#theRegisterPage .content,
68        BODY#theIdentificationPage .content,
69        BODY#theProfilePage .content,
70        BODY#theSearchPage .content,
71        BODY#theAboutPage .content,
72        BODY#thePopuphelpPage .content,
73        BODY#thePasswordPage .content,
74        BODY#theNotificationPage .content,
75        BODY#theTagsPage .content,
76        BODY#theNBMPage .content,
77        #action_pict,
78        #comments
79        {
80        background:  #FFF!important;
81        }
82</style>
83<![endif]-->
84{/literal}
Note: See TracBrowser for help on using the repository browser.