-
Author
-
May 3, 2014 at 07:02 #16733guy_fraserParticipant
Just thought I’d share this – there’s several places on my site where I want a contact link, but rather than going to a separate page I thought it would be nicer if I could just pop open the quick contact popup.
<a href="jQuery('.kleo-quick-contact-wrapper .kleo-quick-contact-link').click(); return false;">Contact</a>
May 8, 2014 at 23:45 #17235AbeKeymasterGreat. Thank you very much 😉
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.November 24, 2014 at 22:51 #36489topdogParticipant@guy_fraser, I’m interested in testing your code on my site, however, your code is cutoff on this post. Can you repost the entire code using the
function so I can test it? Thanks.
February 13, 2015 at 12:05 #45983giorgosParticipant@guy_fraser, The code is not working. It goes straight to a 404 page.
What is currently the solution?
February 19, 2015 at 16:32 #46710AbeKeymasterTry
COPY CODE<a href="#" onclick="jQuery('.kleo-quick-contact-wrapper .kleo-quick-contact-link').trigger('click');if(event.stopPropagation){event.stopPropagation();}event.cancelBubble=true; return false;" rel="nofollow">Contact</a>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.February 28, 2015 at 12:44 #48092giorgosParticipantThanks @Abe . The link works, but the form appears and then disappears immediatelly
March 11, 2015 at 17:27 #49705AbeKeymasterI just updated the above code.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.March 11, 2015 at 19:54 #49773giorgosParticipantPerfect @Abe. works fine. Sorry for that, but any chance that this code can be added easily to a button element?
So instead of the link “contact” to be an icon or buttonMarch 11, 2015 at 19:58 #49775AbeKeymasterI don’t think it will be added soon like that. You can always use the classes from the normal buttons to re-create a button
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
The topic ‘Tip: Making any contact link display the quick contact popup’ is closed to new replies.