Jump to content


CSS dialog box

  • Please log in to reply
2 replies to this topic

#1 paul2463

  • Members
  • PipPipPip
  • Advanced Member
  • 955 posts
  • LocationUK

Posted 04 October 2006 - 09:45 AM

Hello - really new to CSS so please excuse the probable stupidity of this question.

i have a calendar that shows course availability and is styled by CSS, it pulls the availability dates from a  database,  what I would like to know is:-

is it possible to show a dialog "hint" style box on "hover:" showing other information that is held in the same database i.e course name and available spaces on that course?

I have not posted any code here because I  like sorting things out myself, just a bit of direction to set me off correct would be nice.

many thanks
you cannot affect the past but you can ruin a perfectly good present by worrying about the future

The <A HREF="http://www.php.net/d...php">MANUAL</A> is actually a useful resource

#2 ToonMariner

  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 04 October 2006 - 12:08 PM

if you make each date a link you can use the title attribute of the a tag. When the user hovers over the link it will display the text in that is in the title attribute vale.

Alternatively you could use javascript - but this is a little more complex....
follow me on twitter @PHPsycho

#3 Daniel0

  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 04 October 2006 - 06:09 PM

You can use the title attribute on other tags than anchors.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users