Hi jodsalz..

I just install the JCarousel and play some hours it this plugin. I saw
the same "alert" in my page after a ajax requisition ( overwriting the
old code with the gallery ), after that, I don't have that structure
with all "ul li ". So.. in the file: "jquery.carousel.js", I change
the function pos to:
". . .
 pos: function(i){
            if ($("ul#mycarousel").length == 0)
            {
                this.stopAuto();
                return -1;
            }

. . .
"
and comment that "alert".

I know that is not the best way to fix this "bug".. but now I can
control, with this return, tha exactly moment when the user change de
page.

Sorry with my english.. I'm not american  =P..

[]'s

On 10 mar, 19:23, "jods...@googlemail.com" <jods...@googlemail.com>
wrote:
> I just ran into a problem caused by my adblocker. it removed a portion
> of the website that apparently was needed for jcarousel to determine
> the dimensions of its object.
> This caused a series of the above mentioned alert messages. I cant
> even reconfigure my adblocker to not remove the element, because the
> carousel effect is trigger every second, leading into a new alert
> messages that blocks the whole window.
> I my opinion, this message is good in development mode, but has no
> benefit for the enduser and will likley confuse him/her. Alert
> messages should be avoided in  most cases, since they are very
> intrusive.
> I would fix the code myself (simply removing it), but i don't know
> where the code is kept nor do i know what the usual approach would be
> to such a problem.

Reply via email to