Answer the question
In order to leave comments, you need to log in
Popup Authorization Form Joomla
I made a pop-up authorization on Joomla via facebox, but it only works on the button
<a id="login-button" href="#login-modal" rel="facebox" >Вход</a>
But I can't do it through the menu item. I understood that it works if the rel="facebox" parameter is written on the button, but how to make this attribute to a separate menu item. There was an idea to bind to item-id, but there is no selenium in php. Please advise how this can be implemented. Thanks in advance. Answer the question
In order to leave comments, you need to log in
<script type="text/javascript">
jQuery(document).ready(function(jQuery) {
jQuery('a[rel*=facebox]').facebox({
})
})
</script>
<script type="text/javascript">
jQuery(document).ready(function(jQuery) {
jQuery('#item-480').facebox({
})
})
</script>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question