Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Anything slider – Static link from different page – go to slider #4 instead of start #1?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31680
    halle79
    Member

    Hey guys!

    I am new att jquery and javascript so be gentle.

    I got a problem, i got this site that uses anything slider.
    The page with the anything slider is “dancers”.

    i got a main menu. “home” -” about” -“dancers”
    The dancers menu is a drop downmenu. So on hover, all the dancers(with names) show up.
    each dancer got a slider number.
    #1 = dancer 1
    #2 = dancer 2
    # = and so on.

    Inside the dancers-page i can slide throw all the girls using the static link buttons or the left and right arrows.


    jQuery("#slide-jump").click(function(){
    jQuery('#slider1').anythingSlider(1);
    startPanel : 1

    My problem is when am at the startpage(home, or any other side on my page) and want to go to a special dancer.
    i hover over dance and then click dancer#5(in the dropdownmenu) we say.

    The link only takes me to the dancers page and show the first dancer on the slider NOT the choosing dancer.

    So my question is – How do a make the clickfunction to understand that the clicked link should go to the specified dancer in the slide? Not the default first one.

    Anyone who can help me out?

    thx

    Johan

    #56989

    Use this JavaScript code

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.