Thank you for your reply Ariel, actually I found the bug. From the
trigger, I am calling 3 javascript function and when the page was
loading, there's an element who was undefined, therefore it was
creating a javascript error that was stopping the good execution of
the trigger function. This quick fix solve the problem. One thing
thought, how can I make the page to not scroll down when the other
page loads?
FYI.
function trigger(data) {
if (data.title != undefined) {
//alert(data.title);
textToSplit = data.id;
varid = textToSplit.split("_");
changeclass(data.title);
ajaxpage("getprojectdesc.php?uid="+varid[1]+"",
"projectdetailsopen");
ajaxpage("getrelatedproject.php?uid="+varid[1]+"",
"relatedmasterbox");
}
var el = $('#slider .navigation').find('a[href$="' + data.id +
'"]').get();
selectNav.call(el);
}
On Oct 30, 6:27 pm, Ariel Flesler <[EMAIL PROTECTED]> wrote:
> You can probably use one of these plugins (or both combined).
>
> http://flesler.blogspot.com/2007/10/jquerylocalscroll-10.htmlhttp://flesler.blogspot.com/2008/02/jqueryserialscroll.html
>
> The first one should do, but you can apply the 2nd for prev/next
> navigation.
>
> --
> Ariel Fleslerhttp://flesler.blogspot.com/
>
> On Oct 29, 12:46 pm, McKaulick <[EMAIL PROTECTED]> wrote:
>
> > Hello, I am currently working on a jquery slider for a customer's
> > portfolio. The project is nearly done, but I am having an issue and I
> > was wondering if someone could enlighten me with a problem that I am
> > having.
>
> > If you go to this
> > page:http://sonata.websitewelcome.com/~tiptop/logo_design.php
> > you will see that you can browse the logo projects. When there is a
> > related project to a logo, an ajax function will feed a div with a
> > thumbnail and a link to the page of the related category pointing to
> > the right slide. If you click on the slide #9, you will see that the
> > Boulangerie Nantaise logo is related to a packaging project. You can
> > then click on the View Packaging link and it will bring you to the
> > right slide on the packaging_design.php page. But after that, the
> > browsing does not work anymore, the right-left buttons are not working
> > and when you click on a number, it does not slide to it. I think it's
> > because the browser's URL should not have the anchor and that messes
> > up the function that slides through all pages but I have no clue how
> > to fix this and if someone could help me figure that out, that would
> > be great.
>
> > Thank you,
> > Patrice