JeuWeb - Crée ton jeu par navigateur
Mettre un curseur sur mon théme - Version imprimable

+- JeuWeb - Crée ton jeu par navigateur (https://jeuweb.org)
+-- Forum : Discussions, Aide, Ressources... (https://jeuweb.org/forumdisplay.php?fid=38)
+--- Forum : Programmation, infrastructure (https://jeuweb.org/forumdisplay.php?fid=51)
+--- Sujet : Mettre un curseur sur mon théme (/showthread.php?tid=1692)



Mettre un curseur sur mon théme - Rider - 02-09-2007

Bonjour,

je c'est que la question es très "stupide" mais je n'y arrives pas comme puis-je mettre un curseur sur mon thème ?

j'ai utiliser le scripts suivent :
Code :
<!--
BODY{ cursor:url("http://perso.orange.fr/battels/Au8.ANI"); }
-->

je vais aussi vous passez le script de mon théme

je vous avertis d'avance il est long ^^

Code :
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
  <title>Chaos of city</title>
  <meta
content="jeux de simulation de guerre entre 2 rivaux, police ou mafia, qui triomphera ? c'est a vous de décider ! "
name="description">
  <meta
content="guerre, clan, police, mafia, groupe, jeux, jeu, jeus, simulation, simulations, chaos, multijoueur"
name="keywords">
  <meta
content="guerre, clan, police, mafia, groupe, jeux, jeu, jeus, simulation, simulations, chaos, multijoueur"
name="dc.keywords">
  <meta
content="guerre, clan, police, mafia, groupe, jeux, jeu, jeus, simulation, simulations, chaos, multijoueur"
name="abstract">
  <meta
content="jeux de simulation de guerre entre 2 rivaux, police ou mafia, qui triomphera ? c'est a vous de décider ! "
name="subject">
  <meta content="Rider" name="author">
  <meta content="©" name="copyright">
  <meta content="3 days" name="revisit-after">
  <meta content="http://chaos.12r.org" name="identifier-url">
  <meta content="chaosofcity@olympe-network.com"
name="reply-to">
  <meta content="Rider" name="publisher">
  <meta content="01/08/07" name="date-creation-ddmmyyyy">
  <meta content="all" name="Robots">
  <meta content="General" name="Rating">
  <meta content="Other (votre choix)"
http-equiv="VW96.OBJECT TYPE">
  <meta content="Other (votre choix)" name="Category">
  <meta content="Other (votre choix)" name="Page-topic">
  <meta content="NVU, Notpad++" name="Generator">
  <meta content="jeux, simulation, multijoueur, groupe"
name="Classification">
  <meta content="fr" http-equiv="Content-Language">
  <meta content="text/html;charset=iso-8859-1"
http-equiv="Content-type">
  <meta content="France, FRANCE" name="location">
  <meta content="never" name="expires">
  <meta content="01/08/07" name="date-revision-ddmmyyyy">
  <meta content="Global" name="Distribution">
  <meta content="General" name="Audience">
  <meta content="text/javascript"
http-equiv="Content-Script-Type">
  <meta content="text/css" http-equiv="Content-Style-Type">
  <meta
content="jeux de simulation de guerre entre 2 rivaux, police ou mafia, qui triomphera ? c'est a vous de décider ! "
name="description">
  <meta
content="guerre, clan, police, mafia, groupe, jeux, jeu, jeus, simulation, simulations, chaos, multijoueur, navigateur, battre, equipes"
name="keywords">
  <meta
content="guerre, clan, police, mafia, groupe, jeux, jeu, jeus, simulation, simulations, chaos, multijoueur, navigateur, battre, equipes"
name="dc.keywords">
  <meta
content="guerre, clan, police, mafia, groupe, jeux, jeu, jeus, simulation, simulations, chaos, multijoueur, navigateur, battre, equipes"
name="abstract">
  <meta
content="jeux de simulation de guerre entre 2 rivaux, police ou mafia, qui triomphera ? c'est a vous de décider ! "
name="subject">
  <meta content="Rider" name="author">
  <meta content="©" name="copyright">
  <meta content="3 days" name="revisit-after">
  <meta content="http://chaos.12r.org" name="identifier-url">
  <meta content="chaosofcity@olympe-network.com"
name="reply-to">
  <meta content="Rider" name="publisher">
  <meta content="01/08/07" name="date-creation-ddmmyyyy">
  <meta content="all" name="Robots">
  <meta content="General" name="Rating">
  <meta content="Other (votre choix)"
http-equiv="VW96.OBJECT TYPE">
  <meta content="Other (votre choix)" name="Category">
  <meta content="Other (votre choix)" name="Page-topic">
  <meta content="NVU, Notpad++" name="Generator">
  <meta content="jeux, simulation, multijoueur, groupe"
name="Classification">
  <meta content="fr" http-equiv="Content-Language">
  <meta content="text/html;charset=iso-8859-1"
http-equiv="Content-type">
  <meta content="France, FRANCE" name="location">
  <meta content="never" name="expires">
  <meta content="01/08/07" name="date-revision-ddmmyyyy">
  <meta content="Global" name="Distribution">
  <meta content="General" name="Audience">
  <meta content="text/javascript"
http-equiv="Content-Script-Type">
  <meta content="text/css" http-equiv="Content-Style-Type">
</head>
<body
onload="MM_preloadImages('http://chaosofcity.mongang.net/chaosofcity/images/showshoutboxover.gif')"
style="background-color: rgb(38, 38, 38);">
<!--
BODY{ cursor:url("http://perso.orange.fr/battels/Au8.ANI"); }
-->
<table align="center" border="0" cellpadding="0"
cellspacing="0" width="407">
  <tbody>
    <tr>
      <td>
      <table border="0" cellpadding="0" cellspacing="0"
width="100%">
        <tbody>
          <tr>
            <td><img
src="http://chaosofcity.mongang.net/chaosofcity/images/topleftheader.jpg"
height="40" width="225"></td>
            <td><img
src="http://chaosofcity.mongang.net/chaosofcity/images/topdigitanimated.gif"><br>
            <img
src="http://chaosofcity.mongang.net/chaosofcity/images/topbaranimated.gif"
height="22" width="300"></td>
            <td><img
src="http://chaosofcity.mongang.net/chaosofcity/images/toprightheader.jpg"></td>
          </tr>
        </tbody>
      </table>
      </td>
    </tr>
    <tr>
      <td><img
src="http://chaosofcity.mongang.net/chaosofcity/images/header.jpg"
height="127" width="756"></td>
    </tr>
    <tr>
      <td>
      <table border="0" cellpadding="0" cellspacing="0"
width="100%">
        <tbody>
          <tr>
            <td><img
src="http://chaosofcity.mongang.net/chaosofcity/images/tleftm.gif"
height="43" width="225"></td>
            <td valign="top"><img
src="http://chaosofcity.mongang.net/chaosofcity/images/bottombaranimated.gif"
height="22" width="300"><br>
            <a href="#" onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('sb','','http://chaosofcity.mongang.net/chaosofcity/images/showshoutboxover.gif',1)"><img
src="http://chaosofcity.mongang.net/chaosofcity/images/showshoutbox.gif"
name="sb" border="0" height="18" width="300"></a><br>
            </td>
            <td><img
src="http://chaosofcity.mongang.net/chaosofcity/images/tlrightm.gif"
height="43" width="231"></td>
          </tr>
        </tbody>
      </table>
      </td>
    </tr>
    <tr>
      <td>
      <table border="0" cellpadding="0" cellspacing="0"
width="100%">
        <tbody>
          <tr>
            <td valign="top" width="172">
            <table
background="http://chaosofcity.mongang.net/chaosofcity/images/bgleftnav.gif"
border="0" cellpadding="0" cellspacing="0"
width="100%">
              <tbody>
                <tr>
                  <td><img
src="http://chaosofcity.mongang.net/chaosofcity/images/navigation.gif"
height="44" width="172"></td>
                </tr>
              </tbody>
            </table>
            <div style="text-align: center;"><span
style="font-weight: bold; color: rgb(192, 192, 192);">{menujeu}</span><br>
            </div>
            <table
background="http://chaosofcity.mongang.net/chaosofcity/images/bgleftnav.gif"
border="0" cellpadding="0" cellspacing="0"
width="100%">
              <tbody>
                <tr>
                  <td style="text-align: right;"></td>
                </tr>
                <tr>
                  <td>
                  <div style="text-align: right;"></div>
                  <table align="right" border="0"
cellpadding="0" cellspacing="0" width="90%">
                    <tbody>
                      <tr>
                        <td style="text-align: right;"><font
size="1"><strong></strong><strong></strong></font><img
src="http://chaosofcity.mongang.net/chaosofcity/images/stats.gif">
                        </td>
                      </tr>
                    </tbody>
                  </table>
                  </td>
                </tr>
                <tr>
                  <td style="text-align: right;"
background="chaosofcity.mongang.net/chaosofcity/images/barrevert.gif">
                  <b style="color: rgb(255, 255, 255);">{compteur}
visiteurs</b></td>
                </tr>
                <tr>
                  <td>
                  <table align="right" border="0"
cellpadding="0" cellspacing="0" width="90%">
                    <tbody>
                      <tr>
                        <td>
                        <div align="center"><font
face="Verdana, Arial, Helvetica, sans-serif" size="1"><br>
                        <br>
                        <br>
                        <br>
                        <br>
                        <img
src="http://loga.hit-parade.com/logohp1.gif?site=a496520"
title="Hit-Parade" border="0" height="15"
width="77"> <font face="Arial" size="1"><a
href="http://www.referencement-2000.com"><img
src="http://statsgratuit.ref2000.com/images/positionnement-publicitaire.gif"
alt="referencement gratuit" border="0" height="50"
width="120"> </a></font><br>
                        <a target="_blank"
href="http://www.brioude-referencement.com/referencement2000.html">référencement
marketing</a><br>
                        <a href="http://www.referencement-2000.com">liens
sponsorisés</a><br>
<!--**************CODE LIBSTAT.COM**************-->
                        <script type="text/javascript">
compte="409885chaos1";
path_lib="007134";
                        </script>
                        <script type="text/javascript"
src="http://lib5.libstat.com/private/stat.js"></script><br>
                        <a href="http://www.libstat.com"
target="_Blank">mesure
audience</a>
                        <noscript><a
href="http://www.libstat.com"
target="_Blank"><img
src="http://lib5.libstat.com/private/stat.php?compte=409885chaos1"
border="0" alt="mesure audience"></a><br>
libstat : <b><a href="http://www.libstat.com">mesure
audience</a>
</b>pour site web<br>
Annuaire, <a
href="http://www.libparade.com/annuaire/jeux/index.html">jeux</a>,
sites classés </noscript>
<!--**************END CODE LIBSTAT.COM**************--> <br>
                        <a href="#"><br>
                        </a> </font></div>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                  </td>
                </tr>
                <tr>
                  <td><img
src="http://chaosofcity.mongang.net/chaosofcity/images/bleft.gif"
height="45" width="172"></td>
                </tr>
              </tbody>
            </table>
            </td>
            <td valign="top">
            <table
background="http://chaosofcity.mongang.net/chaosofcity/images/mcbg.gif"
border="0" cellpadding="0" cellspacing="0"
width="100%">
              <tbody>
                <tr>
                  <td><img
src="http://chaosofcity.mongang.net/chaosofcity/images/maincontent.gif"
height="45" width="584"></td>
                </tr>
                <tr>
                  <td>
                  <table align="center" border="0"
cellpadding="0" cellspacing="1" width="95%">
                    <tbody>
                      <tr>
                        <td width="10%"><br>
                        </td>
                        <td style="text-align: center;"
valign="top" width="90%"> <br>
                        <script
src="http://www.dedikass.com/script.php?id=4676"></script>
                        <noscript><a
href="http://www.dedikass.com"
target="_blank">ShootBox</noscript>
                        </td>
                      </tr>
                      <tr>
                        <td colspan="2">
                        <div style="text-align: center;"> <br>
                        </div>
                        <table border="0" cellpadding="3"
cellspacing="0" width="100%">
                          <tbody>
                            <tr>
                              <td style="text-align: center;"
bgcolor="#454545"><br>
                              <span
style="color: rgb(102, 102, 102);"><span
style="color: rgb(192, 192, 192); font-weight: bold;">{contenujeu}</span><br>
                              <br>
                              </span> </td>
                            </tr>
                          </tbody>
                        </table>
                        </td>
                        <td valign="top"> </td>
                      </tr>
                    </tbody>
                  </table>
                  </td>
                </tr>
                <tr>
                  <td>
                  <div align="center"><img
src="http://chaosofcity.mongang.net/chaosofcity/images/copyright_do_not_remove.gif"
usemap="#Map" border="0" height="44" width="584"><font
face="Verdana, Arial, Helvetica, sans-serif" size="1"><br>
                  <br>
                  <a href="http://g-design.forumactif.fr/"><img
style="border: 0px solid ; width: 124px; height: 50px;"
src="http://i22.servimg.com/u/f22/11/00/99/88/g-desi10.gif"
alt=""></a> </font><a
href="http://journalsport.eur.st/"><img
style="border: 0px solid ; width: 150px; height: 50px;" alt=""
src="http://i22.servimg.com/u/f22/11/39/89/89/journa10.gif"></a>
                  </div>
                  </td>
                </tr>
              </tbody>
            </table>
            </td>
          </tr>
        </tbody>
      </table>
      </td>
    </tr>
  </tbody>
</table>
<map name="Map">
<area shape="rect" coords="304,4,531,41"
href="http://www.zymic.com/" target="_blank"
alt="Zymic.com - Free templates, tutorials and much more free webmaster resources!">
</map>
<!-- Mirrored from www.zymic.com/templates/93/ by HTTrack Website Copier/3.x [XR&CO'2007], Wed, 22 Aug 2007 09:51:41 GMT -->
</body>
</html>



RE: Mettre un curseur sur mon théme - Sephi-Chan - 02-09-2007

Le changement de curseurs est mal géré par les navigateurs, voir pas du tout.

Sur Firefox 2 par exemple, c'est :
Code :
body {cursor: url(blabla.png), auto;}


Sephi-Chan


RE: Mettre un curseur sur mon théme - nemesis_elite - 02-09-2007

Salut salut,

Faudrait peut être mettre le css dans des balises "style", dans la partie head non ?
Code :
<style type="text/css">
body{
cursor:url("http://perso.orange.fr/battels/Au8.ANI");
}
</style>



RE: Mettre un curseur sur mon théme - Rider - 03-09-2007

je vais tester vos deux idées et je vous réponds !


RE: Mettre un curseur sur mon théme - Rider - 03-09-2007

j'ai mis le script
<style type="text/css">
body{
cursor:url("http://perso.orange.fr/battels/Au8.ANI");
}
</style>
dans body et cela a marcher ^^


RE: Mettre un curseur sur mon théme - nemesis_elite - 03-09-2007

Etant donnée que le CSS ne se met pas n'importe ou dans la page html, c'était normal que çà ne fonctionnait pas.
Je t'invite à (re)lire le tuto du SdZ


NemeSiS_eliTe : Voili voilà Smile