I think this is very easy, but i dont know how to do it.
I have some pictures with a click event that when is clicked, it open a light box but i want to activate the click when the page is open like when is recieving a id from the link (i.e. http://www.somelink.com/?id=2).
this link that should active when is recieve the id on the URL
bla bla
Is this possible?
Yup, it’s possible.
http://api.jquery.com/ready/
You’ll need to create a hidden element on your page to pass the
idin to, if that’s needed for the selector.