Dock - przesuwające się forum.

Błąd   Założony przez  czyzo.

wersja skryptu MyBB: 1.6.6
adres forum: www.forum.applemod.pl
na czym polega problem:


Witam!
Chciałem wstawić docka zamiast głównego menu. Wykorzystałem do tego celu "gotowca".
Wszystko ładnie działa lecz przy powiększaniu ikon całe forum leci w dół razem z animacją.
Jest jakaś możliwość zablokowania tego?
Wstaw tutaj ten kod. Strona opada poneiwaz grafiki sa podmieniane na wieksze po najechaniu na rzeczone.
To co dodałem do Index:

<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:regular,bold&amp;v1" />
    <
link rel="stylesheet" href="css/example.css" />
    <
link rel="stylesheet" href="css/dock.css" />

    <!--[if 
lt IE 9]>
    <
script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!--[if 
lt IE 8]>
    <
script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE8.js"></script>
    <![endif]-->


<
style type="text/css"

<script type="text/javascript">
   $(
document).ready(
   function()
   {
   $(
'#dock2').Fisheye(
   {
   
maxWidth60,
   
items'a',
   
itemsText'span',
   
container'.dock-container2',
   
itemWidth40,
   
proximity80,
   
alignment 'left',
   
valign'bottom',
   
halign 'center'
   
}
   )
   }
   );
</
script

CSS:
/* --------------------------------------------
CSS Dock

Version:     2.0
Author:        Michael Hüneburg
URL:         http://michaelhue.com/cssdock
Copyright:     (c)2011 by Michael Hüneburg
License:     MIT License (see LICENSE file)
----------------------------------------------- */

/* @group Animation */
/* Defines the bounce animation. Note that only the up motion is defined as the down motion 
is created automatically using `animation-direction: alternate;`. */
@-webkit-keyframes bounce {
      
0% { -webkit-transformtranslateY(0); }
    
100% { -webkit-transformtranslateY(-20px); }
}

@-
moz-keyframes bounce {
      
0% { -moz-transformtranslateY(0); }
    
100% { -moz-transformtranslateY(-20px); }
}
/* @end */

/* @group Dock */
.dock {
    
positionabsolute;
    
bottom0;
    
z-index10;
    
width100%;
    
text-aligncenter;
    
fontnormal 14px/'Lucida Grande'Arialsans-serif;
}

.
dock ul {
    
positionrelative;
    
displayinline-block;
    
padding0 5px;
    
margin0;
    
backgroundurl(images/dock-m.pngrepeat-x bottom;
}

/* Creates the left and right end caps of the dock. You may not need these
when creating your own dock. */
.dock ul:before, .dock ul:after {
    
content" ";
    
positionabsolute;
    
top0;
    
bottom0;
    
width31px;
}

.
dock ul:before {
    
left: -31px;
    
backgroundurl(images/dock-l.pngno-repeat left bottom;
}

.
dock ul:after {
    
right: -31px;
    
backgroundurl(images/dock-r.pngno-repeat right bottom;
}
/* @end */

/* @group Items */
/* Defines a dock item. Note the `-webkit-box-reflect` property which creates a nice
reflection below the item. The gradient is a mask in order to exlcude the status
indicator from the reflection. */
.dock li {
    
displayinline-block;
    
positionrelative;
    
margin0 1px;
    
margin-bottom15px;
    
vertical-alignbaseline;
    -
webkit-box-reflectbelow -16px -webkit-gradient(
        
linearleft topleft bottom,
        
from(transparent),
        
color-stop(91%, rgba(255255255.1)),
        
color-stop(91.01%, transparent),
        
to(transparent)
    );
}

.
dock a {
    
displayinline-block;
    
cursor: default;
    
outlinenone;
}
/* Applies the bounce animation to the targeted dock item.  */
.dock li:target a {
    -
webkit-animationbounce .3s 6 alternate ease-out;
    -
moz-animationbounce .3s 6 alternate ease-out;
}

/* Generates the status indicator. Looks complex but most of this stuff is just 
repetition with different vendor prefixes. Isn't it fun to write everything 
three times? *sigh* */
.dock li:after {
    
content" ";
    
positionabsolute;
    
bottom: -5px;
    
left50%;
    
width5px;
    
height5px;
    
opacity0;
    
visibilityhidden;
    
background-colorrgba(255255255.8);
    
margin-left: -2px;
    -
moz-border-radius5px;
    -
webkit-border-radius5px;
    -
o-border-radius5px;
    
border-radius5px;
    -
webkit-box-shadow
        
inset 0 1px 3px rgba(75255255.4),
        
0 0 4px rgba(75255255.5),
        
-1px 7px rgb(75255255);
    -
moz-box-shadow
        
inset 0 1px 3px rgba(75255255.4),
        
0 0 4px rgba(75255255.5),
        
-1px 7px rgb(75255255);
    
box-shadow
        
inset 0 1px 3px rgba(75255255.4),
        
0 0 4px rgba(75255255.5),
        
-1px 7px rgb(75255255);
    -
webkit-transitionopacity .5s;
    -
moz-transitionopacity .5s;
    -
o-transitionopacity .5s;
}

/* Displays the status indicator of the targeted dock item. */
.dock li:target:after {
    
visibilityvisible;
    
opacity1;
}
/* @end */

/* @group Label */
/* This is just a wrapper in order to center the actual label horizontally. You
may need to adjust the width negative margin if you have really long labels. */
.dock em {
    
positionabsolute;
    
top: -34px;
    
left50%;
    
displaynone;
    
width150px;
    
margin-left: -75px;
    
text-aligncenter;
}

/* Generates the little arrow at the bottom of the label. */
.dock em:after {
    
content" ";
    
positionabsolute;
    
bottom: -6px;
    
left50%;
    
margin-left: -6px;
    
width0;
    
height0;
    
border-left6px solid transparent;
    
border-right6px solid transparent;
    
border-top6px solid rgba(000.6);
    
border-bottomnone;
}

/* This is the actual label. */
.dock em span {
    
displayinline-block;
    
padding5px 12px;
    
font-size14px;
    
font-stylenormal;
    
color#FFF;
    
background#000;
    
backgroundrgba(000.6);
    
text-shadow1px 1px 1px rgba(000.9);
    -
webkit-border-radius12px;
    -
moz-border-radius12px;
    -
o-border-radius12px;
    
border-radius12px;
}

.
dock li:hover em {
    
displayblock;
}
/* @end */

/* @group Icon */
/* Sets the icons to a smaller width so they can be enlarged and applies
transitions for a smooth animation. Make sure to adjust the width so it 
matches your images. */
.dock img {
    
width86px;
    
heightauto;
    
bordernone;
    -
webkit-transitionwidth .2sheight .2s;
    -
moz-transitionwidth .2sheight .2s;
    -
o-transitionwidth .2sheight .2s;
}
 
.
dock li:hover img {
    
width96px;
}

.
dock li:active img {
    
opacity.9;
}
/* @end */ 

No i samo menu

<div class="dock">
                <
ul>
                    <
li id="mail">
                        <
a href="#mail">
                            <
em><span>Mail</span></em>
                            <
img src="images/icon-mail.png" alt="Mail" />
                        </
a>
                    </
li>
                    <
li id="ical">
                        <
a href="#ical">
                            <
em><span>iCal</span></em>
                            <
img src="images/icon-ical.png" alt="iCal" />
                        </
a>
                    </
li>
                    <
li id="addressbook">
                        <
a href="#addressbook">
                            <
em><span>Address Book</span></em>
                            <
img src="images/icon-addressbook.png" alt="Address Book" />
                        </
a>
                    </
li>
                    <
li id="iphoto">
                        <
a href="#iphoto">
                            <
em><span>iPhoto</span></em>
                            <
img src="images/icon-iphoto.png" alt="iPhoto" />
                        </
a>
                    </
li>
                    <
li id="idisk">
                        <
a href="#idisk">
                            <
em><span>iDisk</span></em>
                            <
img src="images/icon-idisk.png" alt="iDisk" />
                        </
a>
                    </
li>
                </
ul>
            </
div


Czegoś tu brakuje aby to blokowało...




Użytkownicy przeglądający ten wątek:

1 gości