Visualizzazione dei risultati da 1 a 6 su 6

Hybrid View

  1. #1
    Utente di HTML.it
    Registrato dal
    Jan 2015
    Messaggi
    3

    Modifica al testo cliccando bottoni

    Ho trovato questo template gratuito per Ebay, l'ho modificato, ho inserito le bandierine, e vorrei fare in modo che cliccando su di esse, il testo negli spazi bianchi cambiasse appunto nelle varie lingue...
    Ho tentato con mappa di immagine, pannelli a tab, ma non sono riuscito a concludere nulla...
    Qualcuno mi puo' aiutare suggerendomi la strada giusta e se possibile... meno complicata?
    Ringrazio anticipatamente e riporto di seguito il template cosi' come l'ho modificato...

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">


    <html>


    <head>


    <title></title>


    </head>


    <body>


    <table align="center" background="http://i1290.photobucket.com/albums/b526/artesutela/Pagina%20inserzione%20Ebay/bg_zps8eff19ed.jpg" border="0" cellpadding="0" cellspacing="0" width="100%">


    <tbody>


    <tr>


    <td>


    <table align="center" border="0" cellpadding="0" cellspacing="0" width="800">


    <tbody>


    <tr>


    <td><img alt="General" height="166" src="http://i1290.photobucket.com/albums/b526/artesutela/Pagina%20inserzione%20Ebay/headerconbandiere_zps020af8ad.jpg" width="800" /></td>


    </tr>


    </tbody>


    </table>






    <table align="center" border="0" cellpadding="0" cellspacing="0" width="800">


    <tbody>


    <tr>


    <td align="middle" background="http://i1290.photobucket.com/albums/b526/artesutela/Pagina%20inserzione%20Ebay/mainmid_zps0fd772a4.jpg" valign="top">


    <table align="center" border="0" cellpadding="4" cellspacing="0" width="620">


    <tbody>


    <tr>


    <td align="left" height="171" valign="top"><font face="Verdana" size="2">Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here </font><font face="Verdana" size="2">Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here</font> <font face="Verdana" size="2">Text Goes Here Text Goes Here Text Goes Here Text Goes Here Text Goes Here </font><font face="Verdana" size="2">Text Goes Here </font><br />


    &nbsp;</td>


    </tr>


    </tbody>


    </table>


    </td>


    </tr>


    <tr>


    <td align="middle"><img height="34" src="http://i1290.photobucket.com/albums/b526/artesutela/Pagina%20inserzione%20Ebay/mainbot_zps8da0d1e1.jpg" width="800" /></td>


    </tr>


    </tbody>


    </table>






    <table align="center" border="0" cellpadding="0" cellspacing="0" width="800">


    <tbody>


    <tr>


    <td align="middle"><img height="72" src="http://i1290.photobucket.com/albums/b526/artesutela/Pagina%20inserzione%20Ebay/payment_zps9d1e2c29.jpg" width="800" /></td>


    </tr>


    <tr>


    <td align="middle" background="http://i1290.photobucket.com/albums/b526/artesutela/Pagina%20inserzione%20Ebay/lowermid_zps742039b5.jpg">


    <table border="0" cellpadding="0" cellspacing="0" width="560">


    <tbody>


    <tr>


    <td align="left"><font face="Verdana" size="2">Text Goes Here<br />


    Text Goes Here</font><br />


    &nbsp;</td>


    </tr>


    </tbody>


    </table>


    </td>


    </tr>


    <tr>


    <td align="middle"><img height="21" src="http://i1290.photobucket.com/albums/b526/artesutela/Pagina%20inserzione%20Ebay/paybot_zps0b1723ec.jpg" width="800" /></td>


    </tr>


    <tr>


    <td align="middle"><img height="73" src="http://i1290.photobucket.com/albums/b526/artesutela/Pagina%20inserzione%20Ebay/shipping_zps9d6229e6.jpg" width="800" /></td>


    </tr>


    <tr>


    <td align="middle" background="http://i1290.photobucket.com/albums/b526/artesutela/Pagina%20inserzione%20Ebay/lowermid_zps742039b5.jpg">


    <table border="0" cellpadding="0" cellspacing="0" width="560">


    <tbody>


    <tr>


    <td align="left"><font face="Verdana" size="2">Text Goes Here<br />


    Text Goes Here</font><br />


    &nbsp;</td>


    </tr>


    </tbody>


    </table>


    </td>


    </tr>


    <tr>


    <td align="middle"><img height="16" src="http://i1290.photobucket.com/albums/b526/artesutela/Pagina%20inserzione%20Ebay/shipbot_zpscb961eb8.jpg" width="800" /></td>


    </tr>


    <tr>


    <td align="middle"><img height="74" src="http://i1290.photobucket.com/albums/b526/artesutela/Pagina%20inserzione%20Ebay/contacts_zps66cfb3f5.jpg" width="800" /></td>


    </tr>


    <tr>


    <td align="middle" background="http://i1290.photobucket.com/albums/b526/artesutela/Pagina%20inserzione%20Ebay/lowermid_zps742039b5.jpg">


    <table border="0" cellpadding="0" cellspacing="0" width="560">


    <tbody>


    <tr>


    <td align="left"><font face="Verdana" size="2">Text Goes Here<br />


    Text Goes Here</font><br />


    &nbsp;</td>


    </tr>


    </tbody>


    </table>


    </td>


    </tr>


    <tr>


    <td align="middle"><img height="16" src="http://i1290.photobucket.com/albums/b526/artesutela/Pagina%20inserzione%20Ebay/contactsbot_zps1c4dc883.jpg" width="800" /></td>


    </tr>


    <tr>


    <td align="middle"><img height="77" src="http://i1290.photobucket.com/albums/b526/artesutela/Pagina%20inserzione%20Ebay/returns_zpse885b9be.jpg" width="800" /></td>


    </tr>


    <tr>


    <td align="middle" background="http://i1290.photobucket.com/albums/b526/artesutela/Pagina%20inserzione%20Ebay/lowermid_zps742039b5.jpg" height="51">


    <table border="0" cellpadding="0" cellspacing="0" width="560">


    <tbody>


    <tr>


    <td align="left"><font face="Verdana" size="2">Text Goes Here<br />


    Text Goes Here</font><br />


    &nbsp;</td>


    </tr>


    </tbody>


    </table>


    </td>


    </tr>


    <tr>


    <td align="left" background="http://i1290.photobucket.com/albums/b526/artesutela/Pagina%20inserzione%20Ebay/footer_zpsa7c99fd1.jpg" height="116" valign="top" width="800">


    <table border="0" cellpadding="0" cellspacing="0" width="800">


    <tbody>


    <tr>


    <td height="55" width="253">&nbsp;</td>


    <td width="547">&nbsp;</td>


    </tr>


    <tr>


    <td height="20">&nbsp;</td>


    <td align="left" valign="center"><a href="http://www.artesutela.it"><img alt="ArteSuTela" border="0" height="20" src="http://i1290.photobucket.com/albums/b526/artesutela/Pagina%20inserzione%20Ebay/linkpict_zps6c5d0991.gif" width="300" /></a></td>


    </tr>


    <tr>


    <td height="19">&nbsp;</td>


    <td>&nbsp;</td>


    </tr>


    </tbody>


    </table>


    </td>


    </tr>


    </tbody>


    </table>


    </td>


    </tr>


    </tbody>


    </table>


    </body>


    </html>

  2. #2
    Utente di HTML.it
    Registrato dal
    Jan 2011
    Messaggi
    71
    Non puoi farlo solo con l'ausilio di html, ti servirebbe javascript o jquery

  3. #3
    Utente di HTML.it
    Registrato dal
    Jan 2011
    Messaggi
    71
    Quote Originariamente inviata da rash Visualizza il messaggio
    Non puoi farlo solo con l'ausilio di html, ti servirebbe javascript o jquery
    Oppure cliccando le icone devi poter cambiare pagina e fare le diverse pagine in lingua differente

  4. #4
    Utente di HTML.it
    Registrato dal
    Jan 2015
    Messaggi
    3
    Quote Originariamente inviata da rash Visualizza il messaggio
    Non puoi farlo solo con l'ausilio di html, ti servirebbe javascript o jquery
    E fra javascript o jquery l'opzione meno difficoltosa qual'e'? Che comandi dovrei usare, in modo da andare a studiarmi direttamente quelli?

  5. #5
    Utente di HTML.it
    Registrato dal
    Jan 2011
    Messaggi
    71
    Sono la stessa cosa, jquery è una libreria di javascript che non fa altro che semplificare il codice.
    Non so come funziona ebay e se ti permette di integrare la libreria jquery al suo interno.
    Nel caso in cui si possa fare, ad occhio e croce direi che la funzione più semplice e immediata che potresti utilizzare sarebbe questa:

    codice:
    $( "#id_elemento" ).click();

    quindi abbozzando velocemente una piccola funzione che potrebbe fare al caso tuo avremmo:

    codice:
    $('#id_elemento_da_cliccare').click(function(){
     $('#id_elemento_che_deve cambiare').html('Testo da inserire');
    });

    Però a questo punto dovresti spostare il post nella sezione javascript.

  6. #6
    Utente di HTML.it
    Registrato dal
    Jan 2015
    Messaggi
    3
    Quote Originariamente inviata da rash Visualizza il messaggio
    Sono la stessa cosa, jquery è una libreria di javascript che non fa altro che semplificare il codice.
    Non so come funziona ebay e se ti permette di integrare la libreria jquery al suo interno.
    Nel caso in cui si possa fare, ad occhio e croce direi che la funzione più semplice e immediata che potresti utilizzare sarebbe questa:

    codice:
    $( "#id_elemento" ).click();

    quindi abbozzando velocemente una piccola funzione che potrebbe fare al caso tuo avremmo:

    codice:
    $('#id_elemento_da_cliccare').click(function(){
     $('#id_elemento_che_deve cambiare').html('Testo da inserire');
    });

    Però a questo punto dovresti spostare il post nella sezione javascript.


    Non mi e' chiaro come definire gli elementi, ma provo a studiarmi la guida jquery... grazie per il consiglio

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.