Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3430568
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:13:13+00:00 2026-05-18T07:13:13+00:00

How can I say.. On Click .not.first() div alert(‘Yeah you clicked a div which

  • 0

How can I say..

On Click .not.first() div
alert('Yeah you clicked a div which is not the first one!');

My actual code:

this.$('thumbnails').children().click(function() {

                $('#video').animate({width: 164, height: 20, top: 475, marginLeft: 262},0)

       $('.flv').animate({left: 2222, opacity: '0'},0).css('display', 'none')
        $('.close').animate({opacity: '0'},0)
                clicked = 0

            });
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T07:13:14+00:00Added an answer on May 18, 2026 at 7:13 am

    There’s a :gt() (greater-than-index) selector or .slice(1) (@bobince‘s preference :), your question translated literally would be:

    $("div:gt(0)").click(function() {
      alert('Yeah you clicked a div which is not the first one!');
    });
    //or...
    $("div").slice(1).click(function() {
      alert('Yeah you clicked a div which is not the first one!');
    });
    

    For your updated question:

    $('thumbnails').children(":gt(0)").click(function() {
       $('#video').css({width: 164, height: 20, top: 475, marginLeft: 262});
       $('.flv').css({left: 2222, opacity: '0'}).hide();
       $('.close').css({opacity: '0'});
       clicked = 0;
    });
    //or...
    $('thumbnails').children().slice(1).click(function() {
       $('#video').css({width: 164, height: 20, top: 475, marginLeft: 262});
       $('.flv').css({left: 2222, opacity: '0'}).hide();
       $('.close').css({opacity: '0'});
       clicked = 0;
    });
    

    Note the use of .css(), if you want to make instant non-animated style changes, use this istead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First let me say that this is not about production settings for django -
Can anyone else make and compile this program( Click here) up until the first
First, let's say I don't want to use duplex channel and this is not
I want to do this so that I can say something like, svn mv
Which C#/.NET Dependency Injection frameworks are worth looking into? And what can you say
First of all, I need to say that my English is not good. So
I have one table having 10 rows.Now on page load lets say first 7
Hi can anyone tell me why remove() is not working in the following code
Ok, let me first off say I'm assuming this is related to caching. but
I can say I don't know what I'm asking for help,because I don't know

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.