Solved

a alterable caption

Posted on 1998-10-19
2
145 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
Comment Utility
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
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

763 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

7 Experts available now in Live!

Get 1:1 Help Now