Explore the community Forums Lectora Lectora Questions & Answers Changing cursor style on entering textbox

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #325709 Score: 0
    Profile photo of Andrew Lian
    Andrew Lian
    Member
    beginner
    intermediate
    friend finder
    advanced
    contributor
    wise owl
    curious george
    profile
    12 pts
    @mlapl1

    As the subject line suggests, I would like to change the cursor style whenever the cursor enters a specific textbox. I do not see a Lectora “onmouseenter” or equivalent nor do I see a way of changing the cursor style in Lectora itself. Am I right or missing something? And if I am right, then how do I fix that problem.

    The reason I want to change the cursor style is that I do not want learners to identify links in the text by hovering over them and noticing the shape change. I can change all of the text in the box to active/inactive links and that will fix the problem, but I would like to avoid extra work for the author.

    Thanks

    #325711 Score: 1
    Profile photo of Sergey Snegirev
    Sergey Snegirev
    Member
    contributor
    intermediate
    advanced
    friend finder
    lab member
    junior moderator
    advocate
    LUC16
    LUC16 Attendee
    wise owl
    339 pts
    @ssneg

    Add “specialtextbox” class to a textbox, then add an Ext HTML Object set to META Tags with the following content:

    <style>
        .specialtextbox {
            cursor:progress;
        }
    </style>

    Replace “progress” with any other type of cursor you desire (full list here).

    Screenshot and .pkg attached.

    This post has received 1 vote up.
    #325714 Score: 0
    Profile photo of Andrew Lian
    Andrew Lian
    Member
    beginner
    intermediate
    friend finder
    advanced
    contributor
    wise owl
    curious george
    profile
    12 pts
    @mlapl1

    Thank you Sergey 🙂

    And thank  you too for your minimalist webinar the other day.

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

You must be logged in to reply to this topic.