🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.javascript
4 messages
4 total messages Started by Skaner Thu, 17 Jan 2002 05:24
<td> i onMouseOver
#531
Author: Skaner
Date: Thu, 17 Jan 2002 05:24
15 lines
1229 bytes
Witam!
Jak zmienic wyglad komorki tabeli przy onMouseOver w NN6? W Ie5 robie to
tak:

function funkcja() {
document.all.nazwa.style.backgroundColor="red";
document.all.nazwa.style.borderStyle="solid";
document.all.nazwa.style.borderWidth="1";
document.all.nazwa.style.borderColor="#008080";
}
(...)
<td id="nazwa" onMouseOver="funkcja()">

Jak to samo zrobic pod netscapem 6?
Pozdrawiam
Re: <td> i onMouseOver
#532
Author: Adam Różewicki
Date: Thu, 17 Jan 2002 07:41
19 lines
1279 bytes
Użytkownik "Skaner" <wwatto@poczta.onet.pl> napisał w wiadomości
news:a25n8r$hqa$1@news.onet.pl...
> Witam!
> Jak zmienic wyglad komorki tabeli przy onMouseOver w NN6? W Ie5 robie to
> tak:
>
> [ciach]
>
> Jak to samo zrobic pod netscapem 6?
> Pozdrawiam

http://www.scottandrew.com/index.php/articles/dhtml_ns6
http://www.scottandrew.com/weblog/articles/dom_1

A przede wszystkim www.google.com :)

Pozdrawiam
ADi
Re: <td> i onMouseOver
#533
Author: MarsJan
Date: Thu, 17 Jan 2002 08:11
45 lines
2155 bytes
"Skaner" <wwatto@poczta.onet.pl> wrote in message
news:a25n8r$hqa$1@news.onet.pl...
: Witam!
: Jak zmienic wyglad komorki tabeli przy onMouseOver w NN6? W Ie5 robie to
: tak:
:
: function funkcja() {
: document.all.nazwa.style.backgroundColor="red";
: document.all.nazwa.style.borderStyle="solid";
: document.all.nazwa.style.borderWidth="1";
: document.all.nazwa.style.borderColor="#008080";
: }
: (...)
: <td id="nazwa" onMouseOver="funkcja()">
:
: Jak to samo zrobic pod netscapem 6?
: Pozdrawiam


Sprobuj w ponizszy sposob:

function funkcja(obj) {
obj.style.backgroundColor="red";
obj.style.borderStyle="solid";
obj.style.borderWidth="1";
obj.style.borderColor="#008080";
}
(...)
<td id="nazwa" onMouseOver="funkcja(this)">

... albo i tak:

function funkcja(id) {
document.getElementById(id).style.backgroundColor="red";
document.getElementById(id).style.borderStyle="solid";
document.getElementById(id).style.borderWidth="1";
document.getElementById(id).style.borderColor="#008080";
}
(...)
<td id="nazwa" onMouseOver="funkcja('nazwa')">

================================
Mariusz Janczak (M.Janczak@adb.pl)
Web Page: http://www.adb.pl/
================================
Re: <td> i onMouseOver
#534
Author: Skaner
Date: Thu, 17 Jan 2002 08:28
42 lines
2051 bytes
> : Witam!
> : Jak zmienic wyglad komorki tabeli przy onMouseOver w NN6? W Ie5 robie to
> : tak:
> :
> : function funkcja() {
> : document.all.nazwa.style.backgroundColor="red";
> : document.all.nazwa.style.borderStyle="solid";
> : document.all.nazwa.style.borderWidth="1";
> : document.all.nazwa.style.borderColor="#008080";
> : }
> : (...)
> : <td id="nazwa" onMouseOver="funkcja()">
> :
> : Jak to samo zrobic pod netscapem 6?
> : Pozdrawiam
>
>
> Sprobuj w ponizszy sposob:
>
> function funkcja(obj) {
> obj.style.backgroundColor="red";
> obj.style.borderStyle="solid";
> obj.style.borderWidth="1";
> obj.style.borderColor="#008080";
> }
> (...)
> <td id="nazwa" onMouseOver="funkcja(this)">
>
> ... albo i tak:
>
> function funkcja(id) {
> document.getElementById(id).style.backgroundColor="red";
> document.getElementById(id).style.borderStyle="solid";
> document.getElementById(id).style.borderWidth="1";
> document.getElementById(id).style.borderColor="#008080";
> }
> (...)
> <td id="nazwa" onMouseOver="funkcja('nazwa')">
>

Yesssss yessssssss! Dziala! Wielkie dzieki. Ale sie ciesze!
Pozdrawiam
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads