[CSS] Warstwa DIV + SCROLL
Sebastian -Sebecco- Grabowski - 05-03-2010 15:40
[CSS] Warstwa DIV + SCROLL
Witam :)
Czy jest możliwość zdefiniowania tak styli CSS by po kliknieciu linku
pojawiło się okienko nowej warstwy o określonych rozmiarach z
możliwością przewijania tekstu. Zależy mi na tym by okienko pojawiało
się w określonym miejscu (stałym, o stałych niezmiennych wymiarach)
Pozdrawiam
--
Sebastian -Sebecco- Grabowski GG:5064727
mailto:grabowski(dot)spam(at)wp(dot)pl
Z adresu usuń niepotrzebne PAM, S zostaje!
Zodiakalne BARANY są bardzo inteligentne
Sebastian -Sebecco- Grabowski - 05-03-2010 15:40
Sebastian -Sebecco- Grabowski twierdzi, że:
> Witam :)
>
> Czy jest możliwość zdefiniowania tak styli CSS by po kliknieciu linku
> pojawiło się okienko nowej warstwy o określonych rozmiarach z
> możliwością przewijania tekstu. Zależy mi na tym by okienko pojawiało
> się w określonym miejscu (stałym, o stałych niezmiennych wymiarach)
>
> Pozdrawiam
aha i najlepiej jakby to był tylko pionowy scroll...
--
Sebastian -Sebecco- Grabowski GG:5064727
mailto:grabowski(dot)spam(at)wp(dot)pl
Z adresu usuń niepotrzebne PAM, S zostaje!
Zodiakalne BARANY są bardzo inteligentne
mateusx6 - 05-03-2010 15:40
Użytkownik "Sebastian -Sebecco- Grabowski" <grabowski.spam@gazeta.pl>
napisał w wiadomości news:hmlila$c6q$1@inews.gazeta.pl...
> Sebastian -Sebecco- Grabowski twierdzi, że:
>
>> Witam :)
>>
>> Czy jest możliwość zdefiniowania tak styli CSS by po kliknieciu linku
>> pojawiło się okienko nowej warstwy o określonych rozmiarach z
>> możliwością przewijania tekstu. Zależy mi na tym by okienko pojawiało
>> się w określonym miejscu (stałym, o stałych niezmiennych wymiarach)
>>
>> Pozdrawiam
>
> aha i najlepiej jakby to był tylko pionowy scroll...
>
w css zrobisz wszystko oprocz klikniecia linku :)
Ghost - 05-03-2010 15:40
Użytkownik "mateusx6" <mateusx6@wp.pl> napisał w wiadomości
news:hmlr6r$fn0$1@inews.gazeta.pl...
>
> Użytkownik "Sebastian -Sebecco- Grabowski" <grabowski.spam@gazeta.pl>
> napisał w wiadomości news:hmlila$c6q$1@inews.gazeta.pl...
>> Sebastian -Sebecco- Grabowski twierdzi, że:
>>
>>> Witam :)
>>>
>>> Czy jest możliwość zdefiniowania tak styli CSS by po kliknieciu linku
>>> pojawiło się okienko nowej warstwy o określonych rozmiarach z
>>> możliwością przewijania tekstu. Zależy mi na tym by okienko pojawiało
>>> się w określonym miejscu (stałym, o stałych niezmiennych wymiarach)
>>>
>>> Pozdrawiam
>>
>> aha i najlepiej jakby to był tylko pionowy scroll...
>>
>
> w css zrobisz wszystko oprocz klikniecia linku :)
Klikniecie sie zrobi, ale nie tak, zeby skutkiem mialo byc "otwarcie"
warstwy ze scrollerem.
=?UTF-8?B?UGF3ZcWCIFBpc2tvcno=?= - 05-03-2010 15:40
On 2010-03-03 16:15, Ghost wrote:
> Klikniecie sie zrobi, ale nie tak, zeby skutkiem mialo byc "otwarcie"
> warstwy ze scrollerem.
:target
=?UTF-8?B?TWlyb3PFgmF3?= Zalewski - 05-03-2010 15:40
marzec roku pamiętnego 2010, prawdopodobnie 03. Wielka mądrość na
czytelników pl.comp.www spłynęła, gdy tako rzekł(a) Sebastian -Sebecco-
Grabowski:
> Czy jest możliwość zdefiniowania tak styli CSS by po kliknieciu linku
> pojawiło się okienko nowej warstwy o określonych rozmiarach z
> możliwością przewijania tekstu. Zależy mi na tym by okienko pojawiało
> się w określonym miejscu (stałym, o stałych niezmiennych wymiarach)
<http://perfectionorvanity.com/2007/04/08/polprzezroczyste-warstwy-overlay-i-okienka-div/>?
--
Niżej podpisany, zamieszkały w http://minio.xt.pl ,
Mirosław Zalewski
Ghost - 05-03-2010 15:40
Użytkownik "Paweł Piskorz" <nie.ma.maila@psikre.nie?> napisał w wiadomości
news:hmm2kl$bdi$1@inews.gazeta.pl...
> On 2010-03-03 16:15, Ghost wrote:
>> Klikniecie sie zrobi, ale nie tak, zeby skutkiem mialo byc "otwarcie"
>> warstwy ze scrollerem.
>
> :target
No tak, i znow szkoda, ze taki (mikro)syf w przegladarkach siedzi.
=?iso-8859-2?B?UmFmYbMgRW5kZW4=?= - 05-03-2010 15:40
Dnia 04-03-2010 o 08:12:36 napisał(a):
> Dnia 03-03-2010 o 12:54:18 Sebastian -Sebecco- Grabowski
> <grabowski.spam@gazeta.pl> napisał(a):
>
>> Sebastian -Sebecco- Grabowski twierdzi, że:
>>
>>> Witam :)
>>>
>>> Czy jest możliwość zdefiniowania tak styli CSS by po kliknieciu linku
>>> pojawiło się okienko nowej warstwy o określonych rozmiarach z
>>> możliwością przewijania tekstu. Zależy mi na tym by okienko pojawiało
>>> się w określonym miejscu (stałym, o stałych niezmiennych wymiarach)
>>>
>>> Pozdrawiam
>>
>> aha i najlepiej jakby to był tylko pionowy scroll...
Ghost - 05-03-2010 15:40
Użytkownik "Rafał Enden" <rafal@enden.pl> napisał w wiadomości
news:op.u81cyfx5bame4r@atari...
Dnia 04-03-2010 o 08:12:36 napisał(a):
> Dnia 03-03-2010 o 12:54:18 Sebastian -Sebecco- Grabowski
> <grabowski.spam@gazeta.pl> napisał(a):
>
>> Sebastian -Sebecco- Grabowski twierdzi, że:
>>
>>> Witam :)
>>>
>>> Czy jest możliwość zdefiniowania tak styli CSS by po kliknieciu linku
>>> pojawiło się okienko nowej warstwy o określonych rozmiarach z
>>> możliwością przewijania tekstu. Zależy mi na tym by okienko pojawiało
>>> się w określonym miejscu (stałym, o stałych niezmiennych wymiarach)
>>>
>>> Pozdrawiam
>>
>> aha i najlepiej jakby to był tylko pionowy scroll...
I pewnie jeszcze ma dzialac pod IE?
Maciek - 05-03-2010 15:40
On 4 Mar, 10:41, "Ghost" <gh...@everywhere.pl> wrote:
> Użytkownik "Rafał Enden" <ra...@enden.pl> napisał w wiadomościnews:op.u81cyfx5bame4r@atari...
> Dnia 04-03-2010 o 08:12:36 *napisał(a):
>
> > Dnia 03-03-2010 o 12:54:18 Sebastian -Sebecco- Grabowski
> > <grabowski.s...@gazeta.pl> napisał(a):
>
> >> Sebastian -Sebecco- Grabowski twierdzi, że:
>
> >>> Witam :)
>
> >>> Czy jest możliwość zdefiniowania tak styli CSS by po kliknieciulinku
> >>> pojawiło się okienko nowej warstwy o określonych rozmiarach z
> >>> możliwością przewijania tekstu. Zależy mi na tym by okienko pojawiało
> >>> się w określonym miejscu (stałym, o stałych niezmiennych wymiarach)
>
> >>> Pozdrawiam
>
> >> aha i najlepiej jakby to był tylko pionowy scroll...
>
> I pewnie jeszcze ma dzialac pod IE?
Tworzysz nowego diva, nadajesz mu w css display:none;
position:absolute; top:XXpx; left:XX; z-index:10000; width:XXpx;
height:XXpx; overflow:auto; (ta ostatnia opcja pozwala wlasnie
przewijac tresc, ktora wystaje po za ustalone widht i heght diva) i
dajesz mu id="kontenerek".
W javascript implementujesz biblioteke jquery (www.google.pl) i w
linku np <span>robisz sobie onClick="&('#kontenerek').css('display',
'block') + ew. mozesz sobie napisac funkcje ktora wrzuca do niego
jakas tresc:
$('#kontenerek').load('adres/strony/ktora/ma/byc/zaladowana.html')
albo $('#kontenerek').html('kod html ktory ma byc wrzucony do <b>tego</
b> diva');
No i to wszystko. Chyba ze nie zrozumiałem o co Ci chodzi :)
Pozdr
Cheaken
Ghost - 05-03-2010 15:40
Użytkownik "Maciek" <cheaken@gmail.com> napisał w wiadomości
news:45bd5614-a455-4e0a-b9c7-5ba9f276524f@33g2000yqj.googlegroups.com...
On 4 Mar, 10:41, "Ghost" <gh...@everywhere.pl> wrote:
> Użytkownik "Rafał Enden" <ra...@enden.pl> napisał w
> wiadomościnews:op.u81cyfx5bame4r@atari...
> Dnia 04-03-2010 o 08:12:36 napisał(a):
>
> W javascript implementujesz biblioteke jquery
Taa.
> Chyba ze nie zrozumiałem o co Ci chodzi :)
Zdaje sie, ze o to, co usunales z tytulu.
Maciek - 05-03-2010 15:40
> > W javascript implementujesz biblioteke jquery
>
> Taa.
>
> > Chyba ze nie zrozumiałem o co Ci chodzi :)
>
> Zdaje sie, ze o to, co usunales z tytulu.
Możesz napisać wiecej? : )
Ghost - 08-03-2010 15:08
Użytkownik "Maciek" <cheaken@gmail.com> napisał w wiadomości
news:5f30dc41-6f82-496e-ba04-a438db881371@e7g2000yqf.googlegroups.com...
>> > W javascript implementujesz biblioteke jquery
>
>> Taa.
>
>> > Chyba ze nie zrozumiałem o co Ci chodzi :)
>
>> Zdaje sie, ze o to, co usunales z tytulu.
>Możesz napisać wiecej? : )
Na jaki temat?
Maciek - 08-03-2010 15:08
On 5 Mar, 16:19, "Ghost" <gh...@everywhere.pl> wrote:
> Użytkownik "Maciek" <chea...@gmail.com> napisał w wiadomościnews:5f30dc41-6f82-496e-ba04-a438db881371@e7g2000yqf.googlegroups.com...
>
> >> > W javascript implementujesz biblioteke jquery
>
>
> >> > Chyba ze nie zrozumiałem o co Ci chodzi :)
>
> >Możesz napisać wiecej? : )
>
> Na jaki temat?
O co Ci chodzilo?
> >> Zdaje sie, ze o to, co usunales z tytulu.
Z jakiego tytulu usunalem?
Ghost - 08-03-2010 15:08
Użytkownik "Maciek" <cheaken@gmail.com> napisał w wiadomości
news:2f027157-4895-4884-8289-f53687d8ee94@19g2000yqu.googlegroups.com...
On 5 Mar, 16:19, "Ghost" <gh...@everywhere.pl> wrote:
> Użytkownik "Maciek" <chea...@gmail.com> napisał w
> wiadomościnews:5f30dc41-6f82-496e-ba04-a438db881371@e7g2000yqf.googlegroups.com...
>
>> >> > W javascript implementujesz biblioteke jquery
>
>
>> >> > Chyba ze nie zrozumiałem o co Ci chodzi :)
>
>> >Możesz napisać wiecej? : )
>
>> Na jaki temat?
>O co Ci chodzilo?
CSS
>> >> Zdaje sie, ze o to, co usunales z tytulu.
>Z jakiego tytulu usunalem?
Z tytulu posta.
Sebastian -Sebecco- Grabowski - 10-04-2010 07:07
Sebastian -Sebecco- Grabowski twierdzi, że:
> Witam :)
>
> Czy jest możliwość zdefiniowania tak styli CSS by po kliknieciu linku
> pojawiło się okienko nowej warstwy o określonych rozmiarach z
> możliwością przewijania tekstu. Zależy mi na tym by okienko pojawiało
> się w określonym miejscu (stałym, o stałych niezmiennych wymiarach)
>
> Pozdrawiam
Dziękuję za wszystkie odpowiedzi (trochę późno dziękuję, ale zawsze...)
W końcu udało mi się to zrobić - tak jak chciałem, ale mam jeszcze
jedną zagwożdżkę.
Otóż po kliknięciu linku, i pokazaniu się ukrytej warstwy nie mogę już
jej zamknąć (działa tylko odświeżenie strony). No i teraz jak to ugryźć
by jednak był jakiś przycisk "zamknij"?
Zrobiłem tak:
<head>
@import url("files/tabs.css"); <!-- def. pojawiających się okienek -->
<script src="files/click_menu.js" type="text/javascript"></script>
</head>
<body onload="clickMenu('tabs')">
<!-- ukryte warstwy -->
<div id="tabs">
<ul>
<li class="outer one">projektanci pism<br />- wybór własny
<div class="tab_left">
</li>
</ul>
</div>
--
Sebastian -Sebecco- Grabowski GG:5064727
mailto:grabowski(dot)spam(at)wp(dot)pl
Z adresu usuń niepotrzebne PAM, S zostaje!
Zodiakalne BARANY są bardzo inteligentne