piątek, 30 listopada 2012

"POSZKOLE" inna nazwa w zakładce...


trudno wytłumaczyć efekt poprostu wejdź tu  i zobacz xd .

punkt 2 pokazuje jak normalnie wygląda nazwa zakładki
natomiast punk 1 to hmm , ogólnie ten kod zmienia nazwę zakładki
eh porostu wpiszcie to co chcecie żeby się wyświetlało w tych dwóch polach na niebiesko i co chwile to będzie się zmieniać

<script>var a1 = "AceBoy.";var a2 = "Corporation.";;var delay = 2000;b1();function b1() {    ID = setTimeout("b2()", delay);    document.title = (a1);}function b2() {    ID = setTimeout("b1()", delay);    document.title = (a2);}</script>

Zaokrąglone pole tekstowe do pisania komentarzy..


<style>
.boxWall div.wall-box-a div.secondary-a input.input-a {
-webkit-border-bottom-right-radius: 20px;
-webkit-border-top-right-radius: 20px;
-webkit-border-top-left-radius: 20px;
-webkit-border-bottom-left-radius: 20px;
}
</style>


sobota, 24 listopada 2012

wtorek, 20 listopada 2012

"dock menu"

Siema nowe menu , "dock menu"

wysuwane od dołu z animacją ikon ...


 <div id="Dock" class="rotate">
        <a class="link główna" href="http://poszkole.pl/strona/"></a>
        <a class="link przyjaciele" href="http://poszkole.pl/przyjaciele"></a>
        <a class="link grupy" href="http://poszkole.pl/grupy"></a>
        <a class="link wiadomości" href="http://poszkole.pl/wiadomosci"></a>
        <a class="link alerty" href="http://poszkole.pl/profil"></a>
        <a class="link inne" href="XXX"></a>
    </div>
<style>
#Dock{
position:fixed;
bottom:0px;
left:25%;
height:0px;
width:670px;
padding:0 10px;
border-radius:6px;
background: rgba(154,147,147,1);
-webkit-box-shadow: 2px 2px 3px rgba(172, 172, 172, 0.4);
-moz-box-shadow: 2px 2px 3px rgba(172, 172, 172, 0.4);
box-shadow: 2px 2px 3px rgba(172, 172, 172, 0.4);
}
#Dock:hover{
height:40px;
-webkit-transition-duration: 0,1s;
}
.link{
position:relative;
bottom:60px;
width:100px;
height:100px;
display:block;
float:left;
background-position:bottom;
margin:5px;
background:#0F9;
-webkit-transition:all 0.60s linear 0s;
-moz-transition:all 0.60s linear 0s;
-o-transition:all 0.60s linear 0s;
-ms-transition:all 0.60s linear 0s;
transition:all 0.60s linear 0s;
}
.rotate .link:hover{
  background-size:100px;
background-position:top;
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    transform: rotate(360deg);
-webkit-transition:all 0.60s linear 0s;
-moz-transition:all 0.60s linear 0s;
-o-transition:all 0.60s linear 0s;
-ms-transition:all 0.60s linear 0s;
transition:all 0.60s linear 0s;
}
.zoom .link:hover{
  background-size:100px;
background-position:bottom;
-webkit-transition:all 0.60s linear 0s;
-moz-transition:all 0.60s linear 0s;
-o-transition:all 0.60s linear 0s;
-ms-transition:all 0.60s linear 0s;
transition:all 0.60s linear 0s;
}
.główna{
background:url(http://i49.tinypic.com/2mwgub8.png) center no-repeat;
}
.przyjaciele{
background:url(http://i45.tinypic.com/2625cfd.png) center no-repeat;
}
.grupy{
background:url(http://i46.tinypic.com/fmtmar.png) center no-repeat;  
}
.wiadomości{
background:url(http://i48.tinypic.com/wjc75f.png) center no-repeat; 
}
.alerty{
background:url(http://i49.tinypic.com/2virpk4.png) center no-repeat;  
}
.inne{
background:url(http://aux4.iconpedia.net/uploads/99893345.png) center no-repeat;  
}
</style>

no ok jak chcecie tam mieć swojego fejsa to poprostu wstawcie to niego link tam gdzie jest na żółto a jak nie to usuńcie to na czerwono :)

to samo co ja mam na stronce   

sobota, 17 listopada 2012

Nowe Menu

hej sorry ze mnie dlugo nie bylo ,
nudzilo mi sie teraz chwilke to zrobilem jakies proste menu ...

erm wygląda to prosto :
mówię o tym menu na górze , hmm co jest w nim nowego ?? ta pomarańczowa linia to jest tak jak by animacja przesuwa się w raz z myszką :) zamiast się nagle pojawiać .








<div class="nav-wrap">
 <ul class="group" id="example-one">
 
  <li class="current_page_item"><a href="/strona">Strona</a></li>
    <li><a href="http://poszkole.pl/strona/komponenty">Komponenty</a></li>
    <li><a href="http://poszkole.pl/przyjaciele">Przyjaciele</a></li>
    <li><a href="http://poszkole.pl/klasy">Klasy</a></li>
    <li><a href="http://poszkole.pl/grupy">Grupy</a></li>
    <li><a href="http://poszkole.pl/galerie/">Zdjęcia</a></li>
    <li><a href="http://poszkole.pl/wiadomosci">Privy</a></li>
 <li><a href="http://poszkole.pl/profil">Alerty</a></li>
 </ul>
</div>
<style>
.nav-wrap { margin: 50px auto;
 position: fixed;
   top: 0px;
   left: 510px; }
#example-one { margin: 0 auto; list-style: none; position: relative; width: 960px; }
#example-one li { display: inline; }
#example-one li a { color: #bbb; font-size: 14px; display: block; float: left; padding: 6px 10px 4px 10px; text-decoration: none; }
#example-one li a:hover { color: white; }
#magic-line { position: absolute; bottom: -2px; left: 0; width: 100px; height: 2px; background: #fe4902; }
</style>
<script>
$(function() {

    var $el, leftPos, newWidth,
        $mainNav = $("#example-one");
   
    $mainNav.append("<li id='magic-line'></li>");
    var $magicLine = $("#magic-line");
   
    $magicLine
        .width($(".current_page_item").width())
        .css("left", $(".current_page_item a").position().left)
        .data("origLeft", $magicLine.position().left)
        .data("origWidth", $magicLine.width());
       
    $("#example-one li a").hover(function() {
        $el = $(this);
        leftPos = $el.position().left;
        newWidth = $el.parent().width();
        $magicLine.stop().animate({
            left: leftPos,
            width: newWidth
        });
    }, function() {
        $magicLine.stop().animate({
            left: $magicLine.data("origLeft"),
            width: $magicLine.data("origWidth")
        });  
    });
});
</script>

kolor lini
kolor tekstu