Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jun 2002
    Location
    Auckland, New Zealand
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Text on another part of the screen

    Hi

    Does anyone now of a script which creates a text message that can appear on the other side of the screen (ie, well away from the mouse cursor) as the cursor rolls over a certain link. I know there are scripts which make the text appear close to the cursor, and on the edge of a window. Have a look at www.moh.govt.nz for a very similar effect?

    Can anyone help please?

    bye
    Allyson

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <script>
    function overout(divname,content) {
    document.getElementById(divname).innerHTML = content;
    }
    </script>


    <a href="whatever.htm" onmouseover="overout('side','This is message 1');" onmouseout="overout('side','');">One</a>
    <a href="whatever.htm" onmouseover="overout('side','This is message 2');" onmouseout="overout('side','');">Two</a>

    <div id="side" style="width:400px; height:200px;"></div>

  • #3
    New Coder
    Join Date
    Jun 2002
    Location
    Auckland, New Zealand
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Text on another part of the screen

    Hi

    Thank-you for this text script. It works well with href=, but i want it to work with image mapping. Can it be modified to work with image mapping, like this:

    <td width="50%"><!--webbot bot="ImageMap"
    rectangle=" (245,29) (297, 130) frameset/index.html" rectangle=" (250,28) (281, 125) "
    rectangle=" (69,83) (150, 214) frameset/setup.htm"
    onmouseover="overout('side','Find out about the Panacea Arts Organisation. You can enter the Panacea Art Gallery from this link as well');"
    onmouseout="overout('side','');" src="titlepalette.GIF" ; width="358" ; height="263" ; alt
    ; border="0" ; &gt;</td -->

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Mumbai, India
    Posts
    218
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here are some scripts you could use :

    http://www.geocities.com/e_i_search/...scroller20.htm

    http://www.geocities.com/e_i_search/...-content20.htm

    Are they any close to what you want?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •