area sensibile
Moderatori: Supervisor, Moderatori Software e Programmazione
-
rebelia
- Dio maturo

- Messaggi: 7989
- Iscritto il: 17 lug 2003 07:22
area sensibile
<!--EZCODE CODE START--><pre>
<html>
<head>
<title>Area sensibile</title>
<style>
div#prova{
        ******;
        top: 0px;
        left: 0px;
        width: 300px;
        height: 300px;
        border: 1px solid black;
        background: yellow;
        }
}
</style>
</head>
<body>
<map id="giallo">
<area shape="rect" coords="0,0,300,300" href="java script:void(0);" alt="area sensibile">
</map>
<div id="prova" usemap="#giallo">prova area sensibile</div>
</body>
</html>
</pre><!--EZCODE CODE END--><br>
per cortesia, qualcuno sa dirmi come mai non funziona questo codice qui sopra? le aree sensibili sono applicabili solo alle immagini, oppure si possono applicare anche ai div come vorrei fare io?<br>
<br>
grazie <!--EZCODE EMOTICON START :) --><img src=http://www.ezboard.com/images/emoticons/smile.gif ALT=":)"><!--EZCODE EMOTICON END-->
<p></p><i></i>
<html>
<head>
<title>Area sensibile</title>
<style>
div#prova{
        ******;
        top: 0px;
        left: 0px;
        width: 300px;
        height: 300px;
        border: 1px solid black;
        background: yellow;
        }
}
</style>
</head>
<body>
<map id="giallo">
<area shape="rect" coords="0,0,300,300" href="java script:void(0);" alt="area sensibile">
</map>
<div id="prova" usemap="#giallo">prova area sensibile</div>
</body>
</html>
</pre><!--EZCODE CODE END--><br>
per cortesia, qualcuno sa dirmi come mai non funziona questo codice qui sopra? le aree sensibili sono applicabili solo alle immagini, oppure si possono applicare anche ai div come vorrei fare io?<br>
<br>
grazie <!--EZCODE EMOTICON START :) --><img src=http://www.ezboard.com/images/emoticons/smile.gif ALT=":)"><!--EZCODE EMOTICON END-->
<p></p><i></i>
-
SverX
- Supervisor Macchinisti

- Messaggi: 11949
- Iscritto il: 25 mar 2002 10:16
Re: area sensibile
mai applicata ad un DIV... vedi nel reference HTML se il tag DIV ha l'attributo "usemap"... credo sia solo di IMG comunque...<br>
<br>
<br>
<p><!--EZCODE HR START--><hr /><!--EZCODE HR END--><br>
Ci sono 10 tipi di persone. Quelle che capiscono l'aritmetica binaria... e poi gli altri 9 non ho capito.<br>
</p><i></i>
<br>
<br>
<p><!--EZCODE HR START--><hr /><!--EZCODE HR END--><br>
Ci sono 10 tipi di persone. Quelle che capiscono l'aritmetica binaria... e poi gli altri 9 non ho capito.<br>
</p><i></i>
-
rebelia
- Dio maturo

- Messaggi: 7989
- Iscritto il: 17 lug 2003 07:22
...
il fatto e' che nn mi funzia neanche con un'immagine <!--EZCODE EMOTICON START :( --><img src=http://www.ezboard.com/images/emoticons/frown.gif ALT=":("><!--EZCODE EMOTICON END-->
<p></p><i></i>
<p></p><i></i>
-
rebelia
- Dio maturo

- Messaggi: 7989
- Iscritto il: 17 lug 2003 07:22
...
per dovere di cronaca confermo: l'area sensibile dev'essere agganciata ad un'immagine o ad un oggetto <!--EZCODE EMOTICON START : --><img src=http://www.ezboard.com/images/emoticons/ohwell.gif ALT=":"><!--EZCODE EMOTICON END-->
<p></p><i></i>
<p></p><i></i>
-
rebelia
- Dio maturo

- Messaggi: 7989
- Iscritto il: 17 lug 2003 07:22
...
il div contiene l'intestazione del sito, ma nn posso inserire direttamente l'immagine, bensi' la devo usare come background per necessita' diverse del programmatore, cosi' abbiamo dovuto cercare un escamotage per ottenere il classico effetto link alla home; la soluzione sara' una gif trasparente linkata alla home che copre meta' dell'area del div, cosi' resta abbastanza spazio per il programmatore... un po' complicato, lo so <!--EZCODE EMOTICON START ;) --><img src=http://www.ezboard.com/images/emoticons/wink.gif ALT=";)"><!--EZCODE EMOTICON END-->
<p></p><i></i>
<p></p><i></i>
-
pincopallino
- Dio maturo

- Messaggi: 3396
- Iscritto il: 05 mag 2002 07:05
Re: ...
Qualcosa mi dice che forse so di che progetto si tratta <!--EZCODE EMOTICON START :p --><img src=http://www.ezboard.com/images/emoticons/tongue.gif ALT=":p"><!--EZCODE EMOTICON END--> <br>
Sbaglio, reb?
<p>_________________________________<br>
<!--EZCODE FONT START--><span style="color:blue;"><!--EZCODE ITALIC START--><em>Only two things are infinite, the universe and human stupidity, and I'm not sure about the former</em><!--EZCODE ITALIC END-->. Albert Einstein</span><!--EZCODE FONT END--></p><i></i>
Sbaglio, reb?
<p>_________________________________<br>
<!--EZCODE FONT START--><span style="color:blue;"><!--EZCODE ITALIC START--><em>Only two things are infinite, the universe and human stupidity, and I'm not sure about the former</em><!--EZCODE ITALIC END-->. Albert Einstein</span><!--EZCODE FONT END--></p><i></i>
-
rebelia
- Dio maturo

- Messaggi: 7989
- Iscritto il: 17 lug 2003 07:22
...
<!--EZCODE EMOTICON START ;) --><img src=http://www.ezboard.com/images/emoticons/wink.gif ALT=";)"><!--EZCODE EMOTICON END-->
<p></p><i></i>
<p></p><i></i>
-
niklair
- Dio maturo

- Messaggi: 2289
- Iscritto il: 31 ott 2003 09:38
abboccato ....
... 'zzo Reb ma perchè intesti i 3d "Area sensibile ..." mi ero fatto tutt'altra idea ... <!--EZCODE EMOTICON START :x --><img src=http://www.ezboard.com/images/emoticons/sick.gif ALT=":x"><!--EZCODE EMOTICON END-->
<p>________<br>
"Whats up doc?" - Bugs Bunny</p><i></i>
<p>________<br>
"Whats up doc?" - Bugs Bunny</p><i></i>
-
rebelia
- Dio maturo

- Messaggi: 7989
- Iscritto il: 17 lug 2003 07:22
...
<!--EZCODE QUOTE START--><blockquote><strong><em>Quote:</em></strong><hr>mi ero fatto tutt'altra idea ... <hr></blockquote><!--EZCODE QUOTE END--><br>
ggggg... uarda che siamo in un forum di informatica <!--EZCODE EMOTICON START :lol --><img src=http://www.ezboard.com/images/emoticons/laugh.gif ALT=":lol"><!--EZCODE EMOTICON END--> <br>
<br>
<!--EZCODE EMOTICON START :p --><img src=http://www.ezboard.com/images/emoticons/tongue.gif ALT=":p"><!--EZCODE EMOTICON END--> <br>
<br>
<!--EZCODE EMOTICON START ;) --><img src=http://www.ezboard.com/images/emoticons/wink.gif ALT=";)"><!--EZCODE EMOTICON END-->
<p></p><i></i>
ggggg... uarda che siamo in un forum di informatica <!--EZCODE EMOTICON START :lol --><img src=http://www.ezboard.com/images/emoticons/laugh.gif ALT=":lol"><!--EZCODE EMOTICON END--> <br>
<br>
<!--EZCODE EMOTICON START :p --><img src=http://www.ezboard.com/images/emoticons/tongue.gif ALT=":p"><!--EZCODE EMOTICON END--> <br>
<br>
<!--EZCODE EMOTICON START ;) --><img src=http://www.ezboard.com/images/emoticons/wink.gif ALT=";)"><!--EZCODE EMOTICON END-->
<p></p><i></i>
-
ioSOLOio
- Amministratore

- Messaggi: 16342
- Iscritto il: 12 set 2003 17:01
Re: ...
<br>
ah, ok Reb..capito <!--EZCODE EMOTICON START ;) --><img src=http://www.ezboard.com/images/emoticons/wink.gif ALT=";)"><!--EZCODE EMOTICON END--> <br>
<br>
ma allora visto che il link è unico (non hai necessità di vari link all'interno del div), non puoi semplicemente <!--EZCODE ITALIC START--><em>linkare</em><!--EZCODE ITALIC END--> tutto il div ?
<p></p><i></i>
ah, ok Reb..capito <!--EZCODE EMOTICON START ;) --><img src=http://www.ezboard.com/images/emoticons/wink.gif ALT=";)"><!--EZCODE EMOTICON END--> <br>
<br>
ma allora visto che il link è unico (non hai necessità di vari link all'interno del div), non puoi semplicemente <!--EZCODE ITALIC START--><em>linkare</em><!--EZCODE ITALIC END--> tutto il div ?
<p></p><i></i>
-
rebelia
- Dio maturo

- Messaggi: 7989
- Iscritto il: 17 lug 2003 07:22
...
no... cmq ho risolto con la gif trasparente <!--EZCODE EMOTICON START :) --><img src=http://www.ezboard.com/images/emoticons/smile.gif ALT=":)"><!--EZCODE EMOTICON END-->
<p></p><i></i>
<p></p><i></i>





