reis Posted June 11, 2007 Report Share 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 Link to comment Share on other sites More sharing options...
Alexander De Large Posted June 11, 2007 Report Share Posted June 11, 2007 posta il codice... Link to comment Share on other sites More sharing options...
reis Posted June 11, 2007 Author Report Share 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')"> Link to comment Share on other sites More sharing options...
Alexander De Large Posted June 12, 2007 Report Share 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 Link to comment Share on other sites More sharing options...
kibiz Posted June 12, 2007 Report Share 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. Link to comment Share on other sites More sharing options...
reis Posted June 13, 2007 Author Report Share 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! Link to comment Share on other sites More sharing options...
Gibson Posted June 13, 2007 Report Share 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. Link to comment Share on other sites More sharing options...
kibiz Posted June 13, 2007 Report Share 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. Link to comment Share on other sites More sharing options...
reis Posted June 14, 2007 Author Report Share 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 Link to comment Share on other sites More sharing options...
Alexander De Large Posted June 14, 2007 Report Share 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.... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now