Problem with embed offsets
11 years 3 months ago - 11 years 3 months ago #12464
by adriano
Problem with embed offsets was created by adriano
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:
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?
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>
Last edit: 11 years 3 months ago by adriano.
Please Log in or Create an account to join the conversation.
11 years 3 months ago #12467
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Problem with embed offsets
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,
CEd
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
Please Log in or Create an account to join the conversation.
11 years 3 months ago #12468
by adriano
Replied by adriano on topic Problem with embed offsets
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.
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.
Please Log in or Create an account to join the conversation.
11 years 3 months ago #12476
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Problem with embed offsets
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
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
Please Log in or Create an account to join the conversation.
11 years 3 months ago #12480
by adriano
Replied by adriano on topic Problem with embed offsets
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
Thanks anyway
Please Log in or Create an account to join the conversation.
Time to create page: 0.209 seconds