Combine href w/ onclick for iframe lightbox

Hello,

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.

Looking for something else? Search for it...

Tagged with: , , , ,

No Replies

There are still no reply for this post.

Leave your reply...

If you want to leave your reply for this post, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .


Powered by: Wordpress & 3G Creations