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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:24:04+00:00 2026-05-13T14:24:04+00:00

I fårexpected identity or string on the if (vContains (gMouseoverBox) == true) ( to

  • 0

I fårexpected identity or string on the “if (vContains (gMouseoverBox) == true) (” to
What is the reason for this?

var pProjectID = "static";
var gMouseoverBox = pProjectID + "_IF";
var arrBoxesNotMouseOvered = [];


function vContains(pName) {
    for (var i = 0; i < arrBoxesNotMouseOvered.length; i++) {
        if (arrBoxesNotMouseOvered[i] == pName) {
            arrBoxesNotMouseOvered[i] = null;

            return true;
        }
    }
    return false;
}



function PopulateTooltipSuccess(pResponse) {

    $('#' + gMouseoverBox).tooltip({

        if( vContains(gMouseoverBox) == true ) { 
            var elem = document.getElementById(gMouseoverBox); 
            var coord = { clientX: getElementLeft(gMouseoverBox)+1, clientY: getElementTop(gMouseoverBox)+1 };  //coordinates doesn't work perfecly in IE but does in Firefox

            $('#' + gMouseoverBox).simulate("mouseover", coord);
            $(this).oneTime(2000, function() {
                $('#' + gMouseoverBox).simulate("mouseout", coord);
                }); 
        }
    })
}
  • 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-13T14:24:04+00:00Added an answer on May 13, 2026 at 2:24 pm

    I’m not entirely sure what you are asking. Maybe you could edit your question to be a bit clearer?

    From your code, I can see the following:

    1. Can you post the accompanying html? Do you have an element with id “static_IF” ?
    2. Your arrBoxesNotMouseOvered is not populated. I’m guessing this happens elsewhere? Maybe we could see this code.
    3. You never use the variable elem (and your doing a document.getElementById() instead of a jQuery selection
    4. You do $(‘#’ + gMouseoverBox) and $(this). These should be the same.
    5. $gMouseoverBox.tooltip({ – Do you mean to seocify an anonymous function here? See code below:

    Suggest the following code instead:

    function PopulateTooltipSuccess(pResponse) { 
    
        var $gMouseoverBox = $('#' + gMouseoverBox);
        $gMouseoverBox.tooltip(function(){ 
            if( vContains(gMouseoverBox) == true ) {  
                var coord = { 
                    clientX: getElementLeft(gMouseoverBox)+1, 
                    clientY: getElementTop(gMouseoverBox)+1 
                };  //coordinates doesn't work perfecly in IE but does in Firefox 
    
                $gMouseoverBox.simulate("mouseover", coord); 
                $gMouseoverBox.oneTime(2000, function() { 
                    $gMouseoverBox.simulate("mouseout", coord); 
                });  
            } 
        });
    } 
    

    Without understanding exactly what you’re trying the achieve that’s all I can say at the moment.

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

Sidebar

Related Questions

I generating a string for my Primarykey column similar identity function. but its behavior
I've built a Repository that gets user details Public Function GetUserByOpenID(ByVal openid As String)
I have the following function that executes an query and returns true on success
Is there a mechanism where I can identify a string in an email, say
What's the best way to identify if a string (is or) might be UTF-8
Can I map the identity of an entity to a column whose values are
Is using MS SQL Identity good practice in enterprise applications? Isn't it make difficulties
Can I have an identity (unique, non-repeating) column span multiple tables? For example, let's
*****Code Sign error: The identity 'iPhone Developer: XXXXXXXXXX' doesn't match any valid certificate/private key
Is there an IDENTITY like column type that generates alphanumeric values? Like 023904F?

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.