Jump to content

Foss

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Posts posted by Foss

  1. Hi there.

     

    I'm doing a calendar page with php. It's based on a template and in this template all the output text and html-tags are saved into a xml string.

     

    I want to add a tooltip/hovering effect and found one on the net. I applied this script but it doesn't work. It works on "plain html", but when it is within the php it just won't work..

     

    This is how my code looks like:

     

    START:

    $xml = '<?xml version="1.0" ?><response><content><![CDATA[';

     

    --- kode -- kode -- kode ---

     

        $xml.="<div class='calevent'>

                     

                    <a href='' class='someClass' title='<img src=1.jpg>'>Curabitur dolor eros</a>

                    <a href='java script:navigate(\"\",\"\",\"".$row[0]."\")'>";

     

                 

                    $xml.=$erow[0];

                 

                 

     

                    $xml.="</a></div>";

     

    END:

     

    echo $xml;

     

    -------------

    The script is supposed to add tooltips when an element is declared "someClass" and it works on plain html on the same page..

    Take a look: http://clubbinghagen.dk/calendar/

     

    Links in the calendar have no tooltip, but the Admin link in the center bottom (a bit hard to see!) has a working image as a tooltip.

     

    Any ideas??

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.