PDA

View Full Version : a sort of acronym



marringi
May 26th, 2007, 06:59 PM
Is it possible to have a link that works in the way that when it is clicked a box apears with iformation. Sort of like acronym but bigger with more information?

ess
May 26th, 2007, 07:12 PM
If you are talking about HyperLinks...then you can use JavaScript to show a div or a HTML Tag.

For example,
<a href="#" onclick="javascript: showDiv( 'display_result');">Link</a>

In the <head> section of the page, add the following
<script type="text/javascript">
function showDiv( div_id ) {
window.document.getElementById( div_id ).style.display = "block";
}
</script>

Obviously, the function is not complete..but you get the idea

Cheers,
Ess

Philip M
May 27th, 2007, 08:42 AM
If you double-post and start two different threads then you are even less likely to get a helpful reply.