Forums

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

Home Forums JavaScript Jquery Div Changer Help

  • This topic is empty.
Viewing 14 posts - 16 through 29 (of 29 total)
  • Author
    Posts
  • #59684
    noahgelman
    Participant

    You can just toss it onto the end of your jquery.main.js. After all that plugin code.

    #59686
    PeretzM
    Member

    Thanks for all your help, but it doesnt seem to be doing anything, i uploaded the latest files…

    link: http://bigchairdesign.com/ClientFiles/UnifiedPay/

    #59640
    noahgelman
    Participant

    I dont see the script I wrote. Did you take it back down? Where did you place it?
    Try this:


    $(document).ready(function() {
    $('slideshow').mouseout(function() {
    $('.switcher li').first().addClass('active')
    $('.switcher li').first().siblings().removeClass('active');
    $('.slide-holder li').first().addClass('active').css('display', 'list-item')
    $('.slide-holder li').first().siblings().removeClass('active').css('display', 'none');
    });
    });

    #59641
    PeretzM
    Member

    It’s at the bottom of the main.js

    btw, did u get my message to your inbox?

    #59627
    noahgelman
    Participant

    I dont see it at the bottom of the main.js when I view the source

    And I just now noticed the inbox message. There isn’t a very large icon notifying you

    #59628
    PeretzM
    Member

    Try again, uploaded with the latest script u sent… thanks

    #59629
    noahgelman
    Participant

    Ah, there the code is. I had a cached old version. I had to clear my cache.
    Try switching out .mouseout(function() { with .mouseleave(function() {

    #59612
    soap
    Participant

    can’t you just do


    $('.active').show();
    $('.thing2').hover(function() {
    $('.duder2').fadeIn(300);
    }, function() {
    $('.duder2').fadeOut(300);
    });

    I’m being lazy but do you get the point or am I completely missing the point? If you’re trying to do what I think you’re trying to do then it should be very easy and accomplished several ways.

    What say you, sir? Let me know if I’m totally off as to your objectives.

    :)

    #59522
    libor
    Member

    Nice, but i need CSS too. Thanks for an answer.

    #59448
    soap
    Participant

    @libor huh? Are you peretzM on a different user? Confused here..

    #59450
    PeretzM
    Member

    nope, I’m confused too. i think maybe he wants to accomplish the same thing…

    #59451
    noahgelman
    Participant

    Maybe he posted in the wrong forum discussion by accident? Either way, there seems to be little code confliction if my above code didn’t work.

    Also, I figured out why my code didn’t work. There WAS a typo.

    $('slideshow')

    Should be:

    $('.slideshow')

    I forgot the period designating it as a class. Totally my fault. I forgot it on both of my suggestions.

    #59462
    PeretzM
    Member

    Still no go, let me know if you would like me to send you the files…

    #59465
    noahgelman
    Participant

    hmm… I don’t see it changed in the javascript.

    Yeah, try sending me the files.
    [email protected]

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