Problem with embed offsets

Problem with embed offsets was created by adriano

Posted 10 years 7 months ago #12464
Hi, i've a problem when i try to embed offsets inside a module. In particular the values of offsets are always those that i set in the backend. Here some code:
Code:
<p><a class="jcepopup" href="perche-sceglierci" rel="height[170];width[300]"> {tooltip} <img style="height: 55px; margin-right: 20px; margin-top: 8px; margin-left: 25px; position: absolute; top: 0; right: 0;" alt="" src="images/animated_question_mark_mod.gif" /> <span style="text-align: center; color: black;">{end-texte|offsety=-20|offsetx=650} Perchè sceglierci? </span> {end-tooltip} </a> </p>
Here i use tooltipGC inside jcepopup. In this case i want to set offsetx=650 and offsety=-20. In the backend i have offsetx=0 and offsety=0. But when i refresh the page the position is still with old values. How can i fix this?
Last Edit:10 years 7 months ago by adriano
Last edit: 10 years 7 months ago by adriano.

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

Replied by ced1870 on topic Problem with embed offsets

Posted 10 years 7 months ago #12467
Hi
first tell me which version of the plugin you are using. Then give me the url to check the issue
also take care on your code,
Code:
<p><a class="jcepopup" href="perche-sceglierci" rel="height[170];width[300]"> {tooltip} <img style="height: 55px; margin-right: 20px; margin-top: 8px; margin-left: 25px; position: absolute; top: 0; right: 0;" alt="" src="images/animated_question_mark_mod.gif" /> {end-texte|offsety=-20|offsetx=650} <span style="text-align: center; color: black;">Perchè sceglierci? </span> {end-tooltip} </a> </p>

CEd

Joomlack Webmaster and Developer

by ced1870

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

Replied by adriano on topic Problem with embed offsets

Posted 10 years 7 months ago #12468
Thanks for the answer. I wrote the code in that way because if i put the <span> after the {end-texte} the text in the tooltip isn't centered. I use latest version of tooltipGC for joomla 2.5. Here the web site:

www.ippoenergy.eu

The tooltip is in the question mark gif. As you can see the tooltip appear in the position with offsets 0,0 instead of 650, -20.

I also got a problem with the latest version of tooltipGC for Joomla 1.5. Simply the tooltip doesn't appear. The code is the same of the first post. Here the website:

www.jodocet.it/

Thanks in advance.
by adriano

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

Replied by ced1870 on topic Problem with embed offsets

Posted 10 years 7 months ago #12476
your mootools librady is not correclty loaded, it must be loaded first before the scripts
it seems that you don't use the native joomla process to load it, that's why the tooltip does not work

Joomlack Webmaster and Developer

by ced1870

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

Replied by adriano on topic Problem with embed offsets

Posted 10 years 7 months ago #12480
Never mind i fixed all by myself. For ippoenergy.eu i used a custom jQuery script for setting the margin in the class tooltipgc_tooltip in the way that i want. For jodocet.com i simply loaded mootools 1.1.1 from google libraries and now all works fine.
Thanks anyway
by adriano

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

Time to create page: 0.650 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 598 guests and no members online