reis 10 Report post Posted June 11, 2007 Sto studiando Dreamweaver da un po' e ho un problema con il testo alternativo.Inserito nel campo Alt correttamente (anche nel codice è ok), sul browser non è visibile. Sto col mouse puntato immobile, ma nulla. Ho verificato con quattro browser diversi (su Mac) e non si visualizza. Devo per caso attivare qualche opzione?Potreste aiutarmi? Grazie Share this post Link to post Share on other sites
Alexander De Large 10 Report post Posted June 11, 2007 posta il codice... Share this post Link to post Share on other sites
reis 10 Report post Posted June 11, 2007 Ecco il codice <area shape="rect" coords="275,6,440,348" href="#" alt="nicola castrofino" onMouseOver="MM_showHideLayers('infonik','','show')" onMouseOut="MM_showHideLayers('infonik','','hide')"> Share this post Link to post Share on other sites
Alexander De Large 10 Report post Posted June 12, 2007 così sembra sia tutto ok...a meno che il JS (creato da DW) non sia in conflitto. Controlla con i nomi delle variabili JS o prova a dare un'altra dicitura a ALT Share this post Link to post Share on other sites
kibiz 27 Report post Posted June 12, 2007 Ehm, alt non si deve vedere da nessuna parte nel browser, si vede solo se l'immagine non è caricata. È exploder che è stupido e lo fa vedere lo stesso. Share this post Link to post Share on other sites
reis 10 Report post Posted June 13, 2007 Il testo alternativo dovrebbe vedersi in tutti i browser. Io per esempio uso firefox e se sposto il mouse sui vostri avatar, mi appare giustamente il testo alt. Con il mio file, Explorer mi dà lo stesso problema, cioè non lo visualizza. Allora, tornando al codice, sono ancora una principiante e non so come controllare il JS, comunque ho provato a mettere un nome diverso e non cambia nulla, ho provato anche a fare un nuovo file e fare lo stesso procedimento, ma niente! Share this post Link to post Share on other sites
Gibson 10 Report post Posted June 13, 2007 Io per esempio uso firefox e se sposto il mouse sui vostri avatar, mi appare giustamente il testo alt.No, quello che tu visualizzi è l'attributo title non alt.Es. (Forum Macitynet)<img title="Gibson avatar" src="..." alt="Gibson avatar" border="0">L'attributo alt non serve, come molti credono, a visualizzare un'etichetta esplicativa dell’immagine nel caso in cui il cursore del mouse si soffermi sopra essa: questo semmai è un effetto collaterale che si verifica con Internet Explorer. L’attributo corretto per far visualizzare un testo che commenti l’immagine è invece title. Share this post Link to post Share on other sites
kibiz 27 Report post Posted June 13, 2007 Quando sposti il mouse sugli avatar vede il contenuto di title, non di alt. Come ho già detto, l'alt è il testo che viene mostrato soltanto quando l'immagine non è caricata. Fine della discussione. Share this post Link to post Share on other sites
reis 10 Report post Posted June 14, 2007 Grazie Gibson! ora è chiaro! Purtroppo la guida rapida che sto studiando mi dava l'indicazione relativa ad "alt", facendomi vedere l'esempio persino con un'immagine! Va beh... grazie Share this post Link to post Share on other sites
Alexander De Large 10 Report post Posted June 14, 2007 No, quello che tu visualizzi è l'attributo title non alt.Es. (Forum Macitynet)<img title="Gibson avatar" src="..." alt="Gibson avatar" border="0">L'attributo alt non serve, come molti credono, a visualizzare un'etichetta esplicativa dell’immagine nel caso in cui il cursore del mouse si soffermi sopra essa: questo semmai è un effetto collaterale che si verifica con Internet Explorer. L’attributo corretto per far visualizzare un testo che commenti l’immagine è invece title.Cavoli che abbaglio che ho preso!!!! i'm sorry.... Share this post Link to post Share on other sites