Strict Standards: Non-static method Advanced_Permalinks::get() should not be called statically in /blog/wp-content/plugins/advanced-permalinks/advanced-permalinks.php on line 825

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GoogleSitemapGeneratorLoader::Enable() should not be called statically in /blog/wp-includes/plugin.php on line 123

Warning: call_user_func_array() expects parameter 2 to be array, null given in /blog/wp-includes/plugin.php on line 123
[HTML-CSS] Zmiana kursora, własny kursor » Porady HTML, Porady CSS » egrafik.pl
BAZA WIEDZY
KURSY
Bazy danych w PHP
Kurs AdvancedAJAX
Kurs ASP
Kurs ASP.NET
Kurs C++
Kurs CSS
Kurs HTML
Kurs HTML drugi
Kurs JavaScript
Kurs MySQL
Kurs PHP
Kurs RSS
Kurs XHTML
Obiekty DOM
MANUALE
CSS1 - W3C
DOM - w budowie
PHP 2005
PHP 2006
Wyrażenia regularne
SHOUTBOX
STAT
Online: 33 | UU: 781

Strict Standards: Resource ID#116 used as offset, casting to integer (116) in /forum2/db/mysql4.php on line 223

Strict Standards: Resource ID#116 used as offset, casting to integer (116) in /forum2/db/mysql4.php on line 224
[HTML-CSS] Zmiana kursora, własny kursor
Porady HTML, Porady CSS | 21 maj 2008 | Wizyt: 122374

Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114

Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114

Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114

Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114

Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114

Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114

Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114

Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114

Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114

Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114

Strict Standards: Only variables should be assigned by reference in /blog/wp-includes/post.php on line 114

Deprecated: Function eregi() is deprecated in /blog/wp-content/plugins/tpbc.php on line 96

Aby zmienić standardowy wygląd kursora pojawiającego się np. podczas najeżdzania myszą na odnośnik lub zwykły tekst należy zastosować odpowiednie style. Można zapisać oddzielnie przy każdym ze znaczników lub jednorazowo dla wszystkich znaczników a lub p itd. Prócz kursorów udostępnianych przez style css, można również użyć własnych.

Przykład 1 - kursor dla pojedynczego znacznika:

Kod: html4strict

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
  <head>
  <title>Tytuł strony</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
  </head>
    <body>
    <!– Kursor dla pojedynczego odnosnika –>
    <a style="cursor:crosshair" href="index.html">egrafik.pl</a>
    <!–  Kursor dla pojedynczego akapitu –>
    <p style="cursor:help">egrafik.pl</p>
    </body>
</html>

Przykład 2 - kursor dla wszystkich znaczników a lub p:

Kod: html4strict

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
  <head>
  <title>Tytuł strony</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">

    <style type="text/css">
    <!– Kursor dla wszystkich odnosnikow –>
    a {
    cursor:crosshair;
    }

    <!– Kursor dla tekstu w ramach elementu P –>
    p {
    cursor:help;
    }
    </style>

  </head>
   <body>
   </body>
</html>

Przykład 3 - własny kursor:

Kod: html4strict

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
  <head>
  <title>Tytuł strony</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
  </head>
   <body>
     <!– Wlasny kursor statyczny –>
     <a style="cursor:url("kursor.cur");" href="index.html">egrafik.pl</a>

     <!– Wlasny kursor animowany –>
     <a style="cursor:url("kursor.ani");" href="index.html">egrafik.pl</a>
   </body>
</html>

Poniżej lista dostępnych w css kursorów:

auto, croshair, default, e-resize, help, inherit, move, ne-resize, n-resize, nw-resize, pointer, se-resize, s-resize, se-resize, text, wait, w-resize. 

Opracowanie: Adam Suchowski

nowe Porady CSS » zobacz wszystkie
nowe Porady HTML » zobacz wszystkie
Dodaj komentarz









Komentarze
14 odpowiedzi
16 czerwiec 2017, godz. 5:51

Hello to all, the contents existing at this web site are truly awesome for people experience, well, keep up the good work fellows.

9 czerwiec 2017, godz. 5:12

Hello, of course this piece of writing is really good and I have learned lot of things from it about blogging. thanks.

5 czerwiec 2017, godz. 2:11

Wonderful goods from you, man. I have understand your stuff previous to and you’re just extremely magnificent. I actually like what you have obtained here, really like what you are stating and the best way wherein you assert it. You’re making it enjoyable and you continue to care for to stay it wise. I can not wait to learn far more from you. This is actually a tremendous site.

1 czerwiec 2017, godz. 3:06

Hi tere colleagues, how is everything, and what
you desire to say about this post, in my view its in fact amazing for me.

15 maj 2017, godz. 7:29

Hello! Someone in my Facebook group shared this website with us so I came to look it over. I’m definitely enjoying the information. I’m book-marking and will be tweeting this to my followers! Superb blog and terrific design and style.

15 maj 2017, godz. 7:23

What’s up friends, how is the whole thing, and what you wish for to say on the topic of this article, in my view its really awesome designed for me.

11 kwiecień 2017, godz. 7:17

I am actually grateful to the owner of this website who has shared this wonderful article at here.

29 grudzień 2016, godz. 4:00

I don’t commonly comment but I gotta tell thank you for the post on this great one :D.

20 grudzień 2016, godz. 7:32

May I just say what a relief too discovesr someone who really understands what they’re discussing on the
net. You certainly realize how to bring a problem to ligyt and
make it important. More people have to look at this and understand this side oof the story.It’s surprising you are not more popular because
you definitely have the gift.

28 listopad 2016, godz. 10:29

Have you ever thought about adding a little bit more than just your articles? I mean, what you say is important and everything. Nevertheless just imagine if you added some great graphics or videos to give your posts more, “pop”! Your content is excellent but with images and videos, this website could undeniably be one of the greatest in its niche. Good blog!

8 listopad 2016, godz. 7:15

Aż miło się czyta. I ile można wynieść z tego artykułu. Po prostu super

29 październik 2016, godz. 5:06

Zagadnienie nie zostało przedstawione w pełni, wiele elementów zostało pominiętych ale i tak uważam, że jest nieźle. Zdecydowanie wyróżnia się na tle innych:)

23 październik 2016, godz. 8:46

Hi there to every one, for the reason that I am actually keen of reading this web site’s post to be updated regularly. It includes good material.

18 październik 2016, godz. 9:43

In fact no matter if someone doesn’t know after that its up to other visitors that they will assist, so here it happens.

 
| | | |
Copyright © 2006-2013 egrafik.pl | Kontakt | Reklama | Projekty domów
jocker