- Posts: 8
- Thank you received: 0
Hot Effects Rotator Loading Problem
-
nathan@xacommerce.com
Inactive member -
Topic Author
- New Member
-
Less
More
13 years 10 months ago #7984
by nathan@xacommerce.com
I'm still not sure how to edit these using Joomla... could you please advise?
Thanks.
Replied by nathan@xacommerce.com on topic Re: Hot Effects Rotator Loading Problem
nathan@xacommerce.com wrote: And what's the easiest way to edit the header/body tags in Joomla?
I'm still not sure how to edit these using Joomla... could you please advise?
Thanks.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 10 months ago #7990
by ivan.milic
Replied by ivan.milic on topic Re: Hot Effects Rotator Loading Problem
Hi,
open the file as I told you , or you can also use text editor and open index.php that is located in template folder (same thing)
find this:
</head>
put this just above it:
<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.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
</script>
find body tag
<body...
modify it to look like this:
<body onload="MM_preloadImages(' www.yoursite.com/images/imagename.jpg','...mages/imagename2.jpg ')">
replace www.yoursite.com with your site url.
Save.
open the file as I told you , or you can also use text editor and open index.php that is located in template folder (same thing)
find this:
</head>
put this just above it:
<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.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
</script>
find body tag
<body...
modify it to look like this:
<body onload="MM_preloadImages(' www.yoursite.com/images/imagename.jpg','...mages/imagename2.jpg ')">
replace www.yoursite.com with your site url.
Save.
Please Log in to join the conversation.
-
nathan@xacommerce.com
Inactive member -
Topic Author
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
13 years 10 months ago #8005
by nathan@xacommerce.com
Replied by nathan@xacommerce.com on topic Re: Hot Effects Rotator Loading Problem
Ivan,
When I open index.php under my current template, there is no </head> or <body> tag.
This is the reason I wasn't sure how to do this. Are these tags created dynamically within Joomla?
I sincerely appreciate your assistance.
When I open index.php under my current template, there is no </head> or <body> tag.
This is the reason I wasn't sure how to do this. Are these tags created dynamically within Joomla?
I sincerely appreciate your assistance.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 10 months ago #8015
by ivan.milic
Replied by ivan.milic on topic Re: Hot Effects Rotator Loading Problem
You could then ask your template creator where you could change body tag and add script.
Please Log in to join the conversation.
-
stevenjonesonline@gmail.com
Inactive member -
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
13 years 9 months ago #8808
by stevenjonesonline@gmail.com
Replied by stevenjonesonline@gmail.com on topic Re: Hot Effects Rotator Loading Problem
Hi there... did this work?
Please Log in to join the conversation.
-
stevenjonesonline@gmail.com
Inactive member -
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
13 years 9 months ago #8812
by stevenjonesonline@gmail.com
Replied by stevenjonesonline@gmail.com on topic Re: Hot Effects Rotator Loading Problem
Hi there.
This doesn't work for me bit.ly/m36qd9
...I think I've done everything as you've instructed.. ?
This doesn't work for me bit.ly/m36qd9
...I think I've done everything as you've instructed.. ?
Please Log in to join the conversation.
Time to create page: 0.107 seconds