320 posts
  • Bought between 100 and 499 items
  • Has been a member for 7-8 years
  • United States
timmylogue says

Maybe someone can help me out? Please :D

This is a very basic um I wanna say a lightbox….. I want to have it do a “onload” instead of onclick. Is this possible?

Here is my code: http://www.pastie.org/2153480

Thanks! Timothy

2950 posts
  • Australia
  • Community Moderator
  • Elite Author
  • Author had a Free File of the Month
  • Most Wanted Bounty Winner
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Contributed a Blog Post
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+10 more
dtbaker Volunteer moderator says

Maybe give an example.

onload will generally fire once the element is displayed on the page.