Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Effects Slider Joomla module.

Topic-icon Loading in Content... Odd behaviour

More
6 years 10 months ago - 6 years 10 months ago #980 by skwtayler
Hi again,
A quick question. when a page loads with the Effects Slider, it appears to load in the content rather than in the module position. It looks very odd.

Could you help me with this? Other than that I love it and if we can sort this issue, I think it's 5 stars.

Great support too.

Sorry... the URL is www.khuslen.org
Last Edit: 6 years 10 months ago by skwtayler.

Please Log in to join the conversation.

More
6 years 10 months ago #981 by milos
Hi,

What I see on your site is that Hot Effects Slider is loaded into module position (perhaps Advert1) of your template. It's not in content. Actually, plugins can be loaded in content, not modules (actually, modules can be loaded in content using loadmodule plugin, but you obviously didn't use it).

Please Log in to join the conversation.

More
6 years 10 months ago #982 by skwtayler
Yes. The problem is as the page loads... the Hot Effects Slider appears to load in the content. It doesn't load very well.

Please Log in to join the conversation.

More
6 years 10 months ago #983 by milos
I checked your website and perhaps it's true, but it's like that for less than a second (with my connection speed). Website looks fine once it's 100% loaded.

Please Log in to join the conversation.

More
6 years 10 months ago #984 by skwtayler
Yes I know... I feel the same. The client wants it to load properly. Any suggestions?
I tried another slideshow and it worked okay.

Please Log in to join the conversation.

More
6 years 10 months ago #985 by milos
Maybe you can try to preload images. Put this javascript before </head> of your template (index.php):
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
Than, change <body> tag of the same file to be:
<body onload="MM_preloadImages('path_to_image/image1.jpg','path_to_image/image2.jpg')">
I listed only image1.jpg and image2.jpg in this sample. Of course, you should list all images.

Please Log in to join the conversation.

Time to create page: 0.127 seconds

Links, Partners and Social Media