Discussion about Hot Spinner Joomla module.

Re: Overlaping

More
12 years 6 months ago #19467 by ivan.milic
Replied by ivan.milic on topic Re: Overlaping
$rotationCenterX is horizontal postion
$rotationCenterY is vertical postion

there is something strange on your template that causes jquery not to correctly calculate screen position of an element so you must tune that two values until you place them right.

Please Log in to join the conversation.

  • szaborolo
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 6 months ago #19473 by szaborolo
Replied by szaborolo on topic Re: Overlaping
yes

i got what what means but when i resize my browser size it jumps out.

the template was made with artisteer.

Please Log in to join the conversation.

  • szaborolo
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 6 months ago #19474 by szaborolo
Replied by szaborolo on topic Re: Overlaping
i fine tunned everything so it okey if my browser is big, but when im putting it around 1000 px it goes to the left.

Please Log in to join the conversation.

More
12 years 6 months ago - 2 years 7 months ago #19481 by ivan.milic
Replied by ivan.milic on topic Re: Overlaping
Replace file in js folder of module with this one.

Then in modules\mod_hot_spinner\tmpl\defult.php , replace this line :

doubleclickstop:<?php if ($stopRotation==1) {echo "true";}else{echo "false";} ?> // If true the rotation stops on doubleclick

with:

doubleclickstop:<?php if ($stopRotation==1) {echo "true";}else{echo "false";} ?>,
usejpostion:true


also undo previous changes
Last edit: 2 years 7 months ago by milos.

Please Log in to join the conversation.

  • szaborolo
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 6 months ago #19510 by szaborolo
Replied by szaborolo on topic Re: Overlaping
thank you

now it is okey,

can you tell me what and why the module misbehaved?

Please Log in to join the conversation.

More
12 years 6 months ago #19513 by ivan.milic
Replied by ivan.milic on topic Re: Overlaping
in your template every single parent element up to <body> including it is positioned relatively , so core jquery function .offset() can not measure element position right .

Please Log in to join the conversation.

Time to create page: 0.113 seconds
Powered by Kunena Forum