Skip to main content
Known Participant
October 30, 2008
Question

Changing the contents of CFDIV on rollover

  • October 30, 2008
  • 2 replies
  • 295 views
Hi,

I am building my first CF page and wondered if there is a way to populate the CFDIV tag with HTML text a rollover using <a> and then remove the contents on rollout.

Thanks.

    This topic has been closed for replies.

    2 replies

    Inspiring
    October 30, 2008
    oh, and if all you are after is a tooltip effect, then CF8 has
    <cftooltip> tag...

    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/
    Inspiring
    October 30, 2008
    while you can do it with the new cf8 ajax features, it is really a
    javascript issue.

    you may want to google "javascript mouseover change div content" or
    something similar to get sample code, which is abundant.

    you may also want to look at jQuery or similar js libraries, which make
    it trivial to achieve practically any UI effect you can dream of...

    if you are after displaying some additional content on a
    link/image/button mouseover, jQuery have very nice tooltip plug-ins...

    hth

    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/