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, 02:31 PM
# 1 (permalink)
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?
05-06-2010, 10:25 PM
# 2 (permalink)
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, 06:09 AM
# 3 (permalink)
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, 11:26 AM
# 4 (permalink)
in yjmmbox.js
replace line 507
new Element('a').setProperties({id: 'lbCloseLink', href: '#'}).injectInside(this.bottom).onclick = this.overlay.onclick = this.close.bind(this);
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, 01:51 PM
# 5 (permalink)
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 - 2018, Jelsoft Enterprises Ltd.

Members Login