- Posts: 14
- Thank you received: 0
Loading in Content... Odd behaviour
-
skwtayler
Inactive member - Topic Author
- New Member
Less
More
14 years 8 months ago - 14 years 8 months ago #980
by skwtayler
Loading in Content... Odd behaviour was created 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
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: 14 years 8 months ago by skwtayler.
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6743
- Thank you received: 716
14 years 8 months ago #981
by milos
Replied by milos on topic Re: Loading in Content... Odd behaviour
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).
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.
-
skwtayler
Inactive member - Topic Author
- New Member
Less
More
- Posts: 14
- Thank you received: 0
14 years 8 months ago #982
by skwtayler
Replied by skwtayler on topic Re:Loading in Content... Odd behaviour
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.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6743
- Thank you received: 716
14 years 8 months ago #983
by milos
Replied by milos on topic Re:Loading in Content... Odd behaviour
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.
-
skwtayler
Inactive member - Topic Author
- New Member
Less
More
- Posts: 14
- Thank you received: 0
14 years 8 months ago #984
by skwtayler
Replied by skwtayler on topic Re:Loading in Content... Odd behaviour
Yes I know... I feel the same. The client wants it to load properly. Any suggestions?
I tried another slideshow and it worked okay.
I tried another slideshow and it worked okay.
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6743
- Thank you received: 716
14 years 8 months ago #985
by milos
Replied by milos on topic Re:Loading in Content... Odd behaviour
Maybe you can try to preload images. Put this javascript before </head> of your template (index.php):
Than, change <body> tag of the same file to be:
I listed only image1.jpg and image2.jpg in this sample. Of course, you should list all images.
Code:
<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>
Code:
<body onload="MM_preloadImages('path_to_image/image1.jpg','path_to_image/image2.jpg')">
Please Log in to join the conversation.
Time to create page: 0.236 seconds