Combine href w/ onclick for iframe lightbox
I’m looking for a way to combine a URL destination with a highslide iframe "lightbox" application.
The code below works perfectly as is. However, since I’m using it to pull up a contact form page, I want to make the hard-wired href link javascript too, in order to avoid form spam.
<a title="Request appointment" ONMOUSEOVER="window.status='Request appointment';return true" ONFOCUS="window.status='Request appointment';return true" ONMOUSEOUT="window.status=''" href="request.php" onclick="return hs.htmlExpand(this, { objectType: 'iframe', objectHeight: 515, width: 500 } )">Request</a>
How can I use javascript with the onclick event above to also access the request.php file?
Thanks
View Complete Thread with Replies
No Reply.
Find related on my parent xResources.