Solved

a alterable caption

Posted on 1998-10-19
2
154 Views
Last Modified: 2010-04-09
i'd like to have a caption that i can send different text strings to on the moseover event.  right now i use images but this is too slow for some people... if you would like to see how i did what i am trying to achieve with images go to 'http://www.shasta.cc.ca.us'  i would like to do this so that something besides the image cahnges.. i've tried  a textarea but the '3d control' aspect of it make it look weird and i don't like the scroll  bars. i want something similar to a visual basic label control... any ideas?
0
Comment
Question by:hess
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
chewymon earned 50 total points
ID: 1838865
Try it in JavaScript.  Define a document.writein function to write what you need.  Call the function with the onMouseover event.  This should work.


0
 
LVL 8

Expert Comment

by:jbirk
ID: 1838866
One way to do this nicely is using Layers.  They can do a nice job of displaying text that changes.  But it will only work in Netacape4+ and IE 4+, whereas the imag swapping also works in Netscape 3 and the form element text changing works in all javascript enabled browsers.

Layers can get pretty complex but I can help with it.  It's not too hard if you know what you are doing.  The only hard things are getting the layer to be positioned correctly and getting it to work in both Netscape and IE.

-Josh
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question