Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

[SOLVED] remove click on overlay

05-06-2010, 03:31 PM
# 1 (permalink)
20cents
Hello!
i'd like to keep the function close only on the close button.
Someone could tell me how to remove the click on the overlay?
Thanks
05-06-2010, 11:25 PM
# 2 (permalink)
jaycburton
Hi - Look for the following: <div id="POP_overlay" style="visibility: visible; opacity: 0.6; height: 4858px; width: 1903px;"></div> and try changing the height to 0px. When I did that, it only closed when I clicked the 'close' button.
05-07-2010, 07:09 AM
# 3 (permalink)
20cents
i don't find the line in the php or in the js?
it seems that the function must be in yjmmbox.js
but i don't find the way
05-07-2010, 12:26 PM
# 4 (permalink)
20cents
solution
in yjmmbox.js
replace line 507
new Element('a').setProperties({id: 'lbCloseLink', href: '#'}).injectInside(this.bottom).onclick = this.overlay.onclick = this.close.bind(this);
by
new Element('a').setProperties({id: 'lbCloseLink', href: '#'}).injectInside(this.bottom).onclick = this.close.bind(this);
modify css too to not have the hand-cursor on overlay
05-07-2010, 02:51 PM
# 5 (permalink)
jaycburton
Hi - Glad you got it sorted out as I had not yet had an opportunity to dig into it further. Cheers! Closing thread.
Thread Tools
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

Members Login

Username
Password