You need to be logged in to post in the forum - Log In
An active JCE Pro Subscription is required to post in the forum - Buy a Subscription
Hi! When we have the MediaBox plugin enabled on our site(s) every webpage has some added javascript (JCEMediaBox.init({popup: etc....) to it. Would it be possible to only add this javascript in the HTML head when there is actually a popup configured on the page? Or would that not work?
As JCE MediaBox is a system plugin, it can be used to create a popup anywhere on the page, in any extension, not just in Joomla article content or modules.
Because of this, in order to determine if there is a JCE MediaBox selector on the whole page, the body content of the whole page must be searched for a selector, and this can only be done at a point after the JCE MediaBox scripts have been added to the page.
Because of this, in order to determine if there is a JCE MediaBox selector on the whole page, the body content of the whole page must be searched for a selector, and this can only be done at a point after the JCE MediaBox scripts have been added to the page.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!