Home Forums
07 | 29 | 2021
We have 1707 guests and 3 members online
JoomlaNook Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Loading of highslide JS
(0 viewing) 
Highslide JS Plugin
Go to bottom
TOPIC: Loading of highslide JS
#6245
kpd2000
Posts: 3
User Offline Click here to see the profile of this user
Loading of highslide JS 9 Years, 4 Months ago  
Hi,

So I use highslide to open a popup with an Joomla article, using "tmpl=component",
in that popup I open another smaller popup also containing an joomla article and "tmpl=component".
All works fine, except the fact that it reloads the whole highslide.js script, and that makes it slow.

Tryed to comment out
Code:

<jdoc:include type="head" />
in the component.php,
but then (of course) the second popup don't work.

So is there a way to use the highslide.js that's already been loaded to the parent page?
since the articles are on the same domain. or should I use some other way instead of "tmpl=component" to display articles?

Thanks for any input on this.
 
Logged Logged
  The administrator has disabled public write access.
#6248
klowther
Admin
Posts: 3118
User Offline Click here to see the profile of this user
Gender: Male JoomlaNook Location: Fremont, NE USA Birthday: 07/23
Re:Loading of highslide JS 9 Years, 4 Months ago  
Hi,

The article being displayed in the iframe popup can't use the scripts that are loaded on the main page. If the article in the popup doesn't require highslide, try setting the 'Include highside configuration' parameter in the highslide plugin to 'Selective'. That will cause the plugin to include the highslide scripts on the page only when it detects highslide content in the article being displayed.

- Ken
 
Logged Logged
  The administrator has disabled public write access.
Go to top