Results 1 to 5 of 5

Thread: Need help for tiny jquery problem

  1. #1
    Join Date
    May 2017
    Location
    Amsterdam
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Need help for tiny jquery problem

    That I can't fix myself....I am not very good at js, so after trying for hours and hours I am asking for help...
    This is (forked) what I need, but as soon as I put exactly this on the page it doesn't work anymore.
    http://jsfiddle.net/MaryGr/kzk8frr2/2/
    Downloaded an old jquery1.8.3, but no succes...has anybody an idea what I am doing wrong?
    Mary

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,475
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I think you want:

    Code:
    $('.talen a').click(function(event){
        event.preventDefault();
        $('.talen a').removeClass('aan')
        $(this).addClass('aan');
    });
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2017
    Location
    Amsterdam
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you but computer says no...tried codepen, perfect!
    https://codepen.io/MaryG/pen/OmjRdx
    a bug on the site..?

    Here is the stubborn testpage (still with very bad google-english), maybe that helps...
    https://tandartsaanhetij.nl/index1.php
    Last edited by Ver; 05-03-2017 at 06:11 PM.

  4. #4
    Join Date
    May 2014
    Posts
    203
    Thanks
    28
    Thanked 5 Times in 5 Posts

    Default

    its working in google chrome and firefox on your testpage. for me, anyway. chrome even asks if i want to translate the page and shuts down the offer if i choose to push the english button you provided, instead, which then translates it into english / and vice-a-versa, into the other language if i push that button. perhaps you have made a change to your browsing options that is effecting it
    Last edited by jundo12; 05-03-2017 at 09:41 PM.

  5. #5
    Join Date
    Mar 2010
    Location
    Florida
    Posts
    512
    Thanks
    9
    Thanked 61 Times in 59 Posts

    Default

    You might have a cached version of your JS in your browser. If you are updating your JS or CSS pages try 'CTRL + SHIFT + R' before testing.
    -DW [Deadweight]
    Resolving your thread: First Post: => EDIT => Lower right: => GO ADVANCED => Top Advance Editor drop down: => PREFIX:Resolved

Similar Threads

  1. Resolved Tiny Photoshop job
    By nycguurl in forum General Paid Work Requests
    Replies: 2
    Last Post: 12-11-2013, 03:57 AM
  2. Free Tiny Url Script
    By cadillac807 in forum PHP
    Replies: 0
    Last Post: 10-05-2009, 05:40 AM
  3. Swf showing tiny in IE
    By Irishcash33 in forum HTML
    Replies: 0
    Last Post: 07-15-2009, 02:35 PM
  4. Text width in scroller tiny in ie
    By matsp in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 09-17-2008, 04:36 AM
  5. Looking for a tiny flash movie.
    By shachi in forum Looking for such a script or service
    Replies: 14
    Last Post: 01-31-2007, 01:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •