Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Photo Revealer troubleshooting

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #25035
    mattnoks
    Member

    Hey, I was testing out your Photo Revealer demo and found that sometimes instead of expanding to display the entire image the box collapses even farther in on itself. A page refresh corrects the issue. I downloading your demo file and was just opening the index.htm from my desktop.

    Are you aware of this, did you correct the JS that causes this?

    Thanks for any response

    #58511
    Chris Coyier
    Keymaster

    There was a V2 of that thing made at one point that fixed that I think. Code is here:

    https://css-tricks.com/examples/Revealin … evealer.js

    Note the first line waits for the window to be fully loaded instead of just the DOM, so that image sizes will calculate correctly.

    #58515
    mattnoks
    Member

    Wow, thanks for the quick response. That version definitely fixed the problem.

    Thanks

    #130744
    lavankumar
    Member

    your photo releaver is not working in google chrome can you help me with that

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.