In my JS, I am having this function that opens a facebox modal:
After my ajax process completes, the modal is closed.
Now, i have a link on the same page with rel="facebox" attribute. If I click the link, a loading.gif appeas instead of the file specified in href attribute. If I reload the page, the link does open the target link in the href attribute.
I looked at the facebox page but found nothing. the trigger.close() seems just to hide it, instead of destroying that particular instance fully.
Any tips?
Code:
$.facebox('<img src="loading.gif">');
Now, i have a link on the same page with rel="facebox" attribute. If I click the link, a loading.gif appeas instead of the file specified in href attribute. If I reload the page, the link does open the target link in the href attribute.
I looked at the facebox page but found nothing. the trigger.close() seems just to hide it, instead of destroying that particular instance fully.
Any tips?