Kolega napisał mi taki kodzik:
#MB_frame { position: static; background-color: #40403E; height: 97%; border-top-style: double; border-bottom-style: double; border-left-style: double; border-right-style: double; border-top-color: #FFFFFF; border-bottom-color: #FFFFFF; border-left-color: #FFFFFF; border-right-color: #FFFFFF; } #MB_overlay { position: absolute; width: 100%; height: 100%; z-index: 1; background-color: #000000; } #MB_overlay[id] { position: fixed; } #MB_window { position: absolute; top: 18%; border: 0 solid; text-align: center; z-index: 1; color: #000000; } #MB_window[id] { position: fixed!;} #MB_header { margin: 0; padding: 0; } #MB_caption { font: bold 100% "Lucida Grande", Arial, sans-serif; text-shadow: # 0 0px 0; padding: .5em 2em .5em .75em; margin: 0; text-align: center; } #MB_close { display: block; position: absolute; right: 5px; top: 4px; font-weight: bold; text-decoration: none; font-size: 13px; } #MB_loading { padding: 1.5em; text-indent: -10000px; background: transparent url(wczytuje.gif) 100% 0 no-repeat; } /* Color scheme */ #MB_frame { padding-bottom: 0px; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px; } #MB_content { border-top: 1px solid #000000; } #MB_header { background-color: #DDD; border-bottom: 1px solid #CCC; }
Okienko się otwiera, ale jest problem, bo ono się tak jakby wysuwa i po zamknięciu wsuwa :/
Jak zrobić, żeby był efekt pojawiania i zanikania?
Pozdrawiam
