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 7923423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T17:19:15+00:00 2026-06-03T17:19:15+00:00

The problem could be because of .on() or another script conflicting. I have zero

  • 0

The problem could be because of .on() or another script conflicting. I have zero idea.

WORKING: Heres the script on jsFiddles http://jsfiddle.net/ZtpEU/70/
NOT-WORKING: Here’s the live code: http://designobvio.us/test/middle.php

Both of these are the same code; however, on the live site the jquery script at the bottom of the page won’t execute. Does anyone know where the conflict is being created? For i copied the script verbatim from fiddles after i created it.

HTML

<ul id="videos">
    <li><a href="#">shit swag people say</a></li>
    <li><a href="#">imdabest</a></li>
    <li><a href="#">jersey shore audition</a></li>
    <li><a href="#">rifle burs</a></li>
    <li><a href="#">mvc3: best combos dat ass</a></li>
    <li><a href="#">snacks</a></li>
</ul>​

CSS

ul#videos > li > a
{
    opacity: .5;
    color: #222;
    text-decoration: none;
}

ul#videos:hover > li > a
{
    opacity: .3;
    text-shadow: 0px 0px 6px #bbb;
    color: #bbb;
} 

ul#videos > li:hover > a
{
    opacity: 1;
    text-shadow: none;
    color: #222;
}

Script

$("ul#videos li a").on('mouseenter', function() {
    $(this).animate({"padding-left": "50px"}, "normal");
});

$("ul#videos li a").on('mouseleave', function() {
    $(this).stop(true).animate({"padding-left": "0px"}, "slow");
});​

​

  • 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-06-03T17:19:18+00:00Added an answer on June 3, 2026 at 5:19 pm

    It looks like you have a non-printable character on line 59 of your live version. it is right after the semicolon but before the line-break. Copy/paste your JS into jsbeautifier or something to sanitize it. That fixed it for me:

    $(document).ready(function () {
        alert('hello');
        $("ul#videos li a").on('mouseenter', function () {
            $(this).animate({
                "padding-left": "50px"
            }, "normal");
        });
        $("ul#videos li a").on('mouseleave', function () {
            $(this).stop(true).animate({
                "padding-left": "0px"
            }, "slow");
        });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have another problem, and because the reply is to fast here i come
It looks like a problem which could have simple solution, but I haven't found
well i have most probably an extremly stupid problem but could not figure it
i have this problem: ms-access could not delete and i found a potential solution
I have a strange problem that I could not solve. When I try to
I'm working on a solution to a problem where users could potentially access images
The problem i have is i could DELETE but then when i hit refresh
Problem in short: How could one implement static if functionality, proposed in c++11, in
could someone help me on this problem, i want to access facebook API through
Could you help me with my problem? I am trying to access localhost to

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.