Problem of compatibility with glossy.js

16 years 3 weeks ago #60615 by alterna
I am using mfglossy on my website and glossy.js to enhance some photos

However Udde Im Notifier is incompatible with this mambot if I choose dhtml boxes, only javascript is useable.

With dhtml, udde notifier works ok but all the photos are without glossy effect

could you correct this ?

My website is icontes.com see icontes.com/en/Tales/ for an example

Please Log in to join the conversation.

16 years 2 weeks ago #60619 by slabbi
Replied by slabbi on topic Re:Problem of compatibility with glossy.js
Sorry, no. Since I have not the source of mfglossy I cannot say if uddeIM Notifier is the problem of mfglossy.

Does it work with the floating box?

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in to join the conversation.

16 years 2 weeks ago #60620 by alterna
Replied by alterna on topic Re:Problem of compatibility with glossy.js
No mfglossy does not work with dhtml nor floating dhtml boxes, only with javascript boxes.

If I enable dhtml or floating dhtml, my mfglossy effect is deleted, which is not the case with javascript boxes.

Please Log in to join the conversation.

16 years 2 weeks ago #60621 by slabbi
Replied by slabbi on topic Re:Problem of compatibility with glossy.js
Without having checked the other script, I think the problem might be the window.onload handler, which uddeIM and (I think so) glossy.js use:

In uddeIM notifier you will find:
[code:1]window.onload = start;[/code:1]

And something similar in your other module. So the second module overwrites the handler set by the first module. This is problem by concept. It might be possible to change this when I (or the other author) use a mambot for this (glossy.js is a typical candidate for a mambot).

Or you change the code and add a function (called by onload) in the second module which calls both handlers.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in to join the conversation.

16 years 2 weeks ago #60623 by alterna
Replied by alterna on topic Re:Problem of compatibility with glossy.js
Well this is actually a mambot called mfglossy developped by marcofolio.net ;)

Please Log in to join the conversation.

16 years 2 weeks ago #60791 by alterna
Replied by alterna on topic Re:Problem of compatibility with glossy.js
alterna wrote:

Well this is actually a mambot called mfglossy developped by marcofolio.net ;)


I have included the mambot and the js in case you have an idea of what needs to be changed !

Too complicated for a newbie like me :)

Attachment Archive-7d311e1074db622eb36a225fd170d211.zip not found

Attachments:

Please Log in to join the conversation.

Moderators: beatnantslabbikrileon
Time to create page: 0.290 seconds

Facebook Twitter LinkedIn