Explore the community Forums Lectora Lectora Questions & Answers Hide onHover in TEB (form element not Test Quest)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #392316 Score: 0
    Profile photo of Maura T. Sullivan
    Maura T. Sullivan
    Member
    beginner
    intermediate
    friend finder
    curious george
    wise owl
    contributor
    profile
    1 pt
    @msullivan3430

    In this sample I have text entry boxes where numbers are entered, and hidden Questions are used for grading. This is for a software simulation.

    Does anyone know how I can prevent the onHover text for the input boxes that are NOT part of a Test Question?

    This project also shows: how to “change” the size of my object via show/hide in jQuery; how to move the object through manipulation of the CSS; how to fadeIn/delay/fadeOut feedback messages.

    Thanks in advance for the help.

    #392344 Score: 0
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    307 pts
    @timk

    The tooltip shows the title attribute of the entry field. You can use jQuery to remove the title or set it as empty “”.

    The title comes from the name of the element in Lectora. You could give it a more meaningful name, e.g. “Please enter the width” instead of “b_st17q_hdrWidth”.

    #392349 Score: 0
    Profile photo of Maura T. Sullivan
    Maura T. Sullivan
    Member
    beginner
    intermediate
    friend finder
    curious george
    wise owl
    contributor
    profile
    1 pt
    @msullivan3430

    I’ve tried the following line of code, but it doesn’t change the onHover:

    $(“input#entry128id”).css(“title”, “”);

    Any tips?

    Thanks

    #392371 Score: 0
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    307 pts
    @timk

    The title isn’t CSS, it’s an HTML attribute .attr (“title”,””)

     

    #392373 Score: 0
    Profile photo of Maura T. Sullivan
    Maura T. Sullivan
    Member
    beginner
    intermediate
    friend finder
    curious george
    wise owl
    contributor
    profile
    1 pt
    @msullivan3430

    Thanks, that worked! I don’t know why I was thinking it was CSS.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.