Web Analytics Made Easy -
StatCounter Text on another part of the screen - CodingForum

Announcement

Collapse
No announcement yet.

Text on another part of the screen

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new 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
    <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>

    Comment


    • #3
      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 -->

      Comment


      • #4
        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?
        Scripting | JavaScripts | PerlScripts | Python Scripts | Articles | My Journal

        Comment

        Working...
        X