Discussion about Hot Spinner Joomla module.

Can rotating image be an active link to set link?

More
12 years 7 months ago #18245 by AnOriginal
Hello.

The heading text & static images are both linking to the assigned link, but
the rotating image doesn't go anywhere, even though it is a link.

How do I set it so the rotating image also links to the assigned link?

Your help is greatly appreciated!
An :)

Please Log in to join the conversation.

More
12 years 7 months ago #18290 by ivan.milic
mmm, don not understand better send link so I could see what you are talking about.

Please Log in to join the conversation.

More
12 years 7 months ago #18296 by AnOriginal
lumleian.com/home/ is the test site.

I know if you click and hold the rotating images, you can drag it.

But how can I make it so if you do a regular click on/off of the rotating image, it takes you to the assigned link?

Please Log in to join the conversation.

More
12 years 7 months ago #18309 by ivan.milic
var links =[
' www.link1.com ',
' www.link2.com ',
' www.link3.com ',
' www.link4.com '
];

jQuery(document).ready(function(){
jQuery('#container').holest_carousel('onClick',function(index){
window.location = links[index];
});
});

Please Log in to join the conversation.

More
12 years 7 months ago #18311 by AnOriginal
Wow! You're quick!

Sorry to sound super ignorant, but what file & where am I placing this code?

Thanks so much!
An :)

Please Log in to join the conversation.

More
12 years 7 months ago #18339 by ivan.milic
<script type="text/javascript" >
var links =[
' www.link1.com ',
' www.link2.com ',
' www.link3.com ',
' www.link4.com '
];

jQuery(document).ready(function(){
jQuery('#container').holest_carousel('onClick',function(index){
window.location = links[index];
});
});
</script>

put in index.php of template just before </head>

Also re-download spinner new version is available from 8h ago.

Please Log in to join the conversation.

Time to create page: 0.092 seconds
Powered by Kunena Forum