# Making hover captions dynamic

**URL:** https://forum.kirupa.com/t/making-hover-captions-dynamic/66489
**Category:** flash
**Created:** [October 6, 2004, 10:50am UTC](https://forum.kirupa.com/t/making-hover-captions-dynamic/66489 "2004-10-06T10:50:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![superduper](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@superduper](https://forum.kirupa.com/u/superduper)
#### Post date: [October 6, 2004, 10:50am UTC](https://forum.kirupa.com/t/making-hover-captions-dynamic/66489/1 "2004-10-06T10:50:33Z")

</div>

Hi!

My webpage: [www.filaung.no](http://www.filaung.no) use hover captions to display news-headlines (click “NYHETER” to view).

So far the hover captions only display a variable attached to the button it hovers over, but I want my captions to display a headline loaded from an sql-database.

How should my code (the one attached to the button) look like?

link to the hover caption method:  
[http://www.kirupa.com/developer/mx/captions.htm](http://www.kirupa.com/developer/mx/captions.htm)

:bu:
