Web Scripting Question

By TheJediSlayer
May 24, 2008
  1. Hello,

    I'm trying to figure out how to make it so that text on a web page is blocked out in certain text that I want blocked out until the viewer moves their cursor over the blocked out text, which then the text would appear.


    As you can see, the text here has some blocked out words unless you move your cursor directly over it. Of course, I know I can always view the source file for this web page and figure it out that way, but that would take a long time without some help to figure this all out, I think.

    Thanks in advance,

  2. jobeard

    jobeard TS Ambassador Posts: 9,143   +597

    That would be Client-Side Javascripting.

    First the mouse actions are done with onMouseOver="xxx" and the default is onMouseOut="yyy"

    The xxx will be some form of writeln="text" (the html info to be shown) while
    the yyy will just write an empty "<p></p>"
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...