Visualizzazione dei risultati da 1 a 8 su 8
  1. #1
    Utente di HTML.it
    Registrato dal
    May 2005
    Messaggi
    149

    zoom di immagini e oscuramento dello schermo

    Ciao ragazzi...ho cercato un pò ma nn sono riuscito a trovare niente in merito...
    mi piace molto l'effetto della photogallry delle immagini di questo sito..
    http://www.ogm3d.com/photoalbum.asp
    avete idea di come si possa realizzare???
    grazie

  2. #2
    fai una ricerca su google con lightbox.

  3. #3
    Utente di HTML.it
    Registrato dal
    Apr 2007
    Messaggi
    58
    ciao, volevo sapere se avevi trovato la soluzione al tuo pb...è una questione che mi interessa dato che è un effetto molto piacevole da vedere in un sito.Attendo tue notizie Grazie

  4. #4
    lightbox v1
    lightbox v2

    leggi le istruzioni d'uso, sono molto chiare. se hai problemi posta pure.

  5. #5
    Salve a tutti..
    ho un problema per quanto riguarda visualizzare l'effetto della lytebox in tutta la pagina e non solo nel frame.. ho provato a leggere nei link che hai scritto ma non capisco^^ :P
    Se puoi spiegarmelo te ne sarei grato grazie^^

  6. #6
    so che non ti piacerà.. ma non usare i frame. non fanno altro che creare problemi e questo è un buon esempio.

  7. #7
    T_T non sei il primo che me lo dice.. ma devo ancora iniziare a studiarmi i fogli di stile.. immagino quindi che non posso farlo.. T_T... se qualcuno è in grado di farlo e spiegarmi, ne sarei lieto^^ :P

  8. #8
    ho trovato una guida.. ma non ci capisco molto.. qualcuno potrebbe spigarmi cosa devo fare?

    For anyone having problems using this script from inside a Iframe, I have found a solution. It may not be the best solution, I'm a relative novice at this stuff, but it seems to work ok.

    Insert the script calls into the header of the PARENT html file.
    In the Iframe HTML, change the href of your link to javascript:Void(0) and add an onclick call to a function function(this). Also create a form with a hidden form field with a value = to what the href of your link originally was.

    In the parent file create 2 functions that does the following.

    Function cloneObject(what) {
    for (i in what) {
    this(i) = What(i);

    }
    }
    rename the function below to the same as the onclink function in your link…
    Function function(obj) {
    var newobj = new cloneObject(obj);
    var iframe = document.getElementById("iframename"); this has to be the name of your iframe.
    var iframedoc = iframe.document;
    var iframeForm = iframedoc.getElementById("formname); this has to be the name of your form.
    var hrefvalue = iframeForm.hiddenfieldname.value; this has to be the name of your hidden field.

    newObj.href = hrefValue
    showLightbox(newobj);
    }

    I had to remove a section of the lightbox.js file that didn't like dealing with a copy of the link rather than the link itself.

    The problem code was this:
    if(objLink.getAttribute('title')){
    objCaption.style.display = 'block';
    //objCaption.style.width = imgPreload.width + 'px';
    objCaption.innerHTML = objLink.getAttribute('title');
    } else {
    objCaption.style.display = 'none';
    }

    Removing it didn't seem to have a negative effect on the script.

    There is probably a more elegant way to approach this, but my skills are not quite up to the task.

    Sean
    Grazie in anticipo^^

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.