Solved

a alterable caption

Posted on 1998-10-19
2
149 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

932 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now