× Discussion about Hot Accordion Joomla module

change load image

More
7 years 6 months ago #11499 by wkaatz
change load image was created by wkaatz
Great module....

Would it be possible to have the module when loaded appear as in image A, as opposed to image B?
IMAGE A

IMAGE B


Thank you!
Attachments:

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #11512 by ivan.milic
Replied by ivan.milic on topic change load image
Hi, open modules\mod_hot_accordion\tmpl\default.php

at the very end add this:

<script type="text/javascript">

jQuery(document).ready(function(){
jQuery('.hot_accordion UL LI').last().<?php echo $animateActivation; ?>();
});

</script>

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago - 7 years 6 months ago #11517 by wkaatz
Replied by wkaatz on topic change load image
did not work :(

here is edited file....

File Attachment:

File Name: default.txt
File Size:3 KB


thanks for the help!

site can be viewed here... decorativeplumbingonline
Attachments:
Last edit: 7 years 6 months ago by wkaatz.

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #11519 by ivan.milic
Replied by ivan.milic on topic change load image
ok try this insread:

<script type="text/javascript">

jQuery(document).ready(function(){
var L = jQuery('.hot_accordion LI .accordion_block').last();
jQuery(lastBlock).animate({width: minWidth+"px"}, { queue:false, duration:<?php echo $animationSpeed; ?> });
jQuery(L).animate({width: maxWidth+"px"}, { queue:false, duration:<?php echo $animationSpeed; ?>});
lastBlock = L;
 
});

</script>



Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #11524 by wkaatz
Replied by wkaatz on topic change load image
YOU ARE THE BEST!!!! :)

Worked like a charm!!!

Result can be seen at same url.

THANK YOU!

Please Log in or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.161 seconds