Jump to content

CSS dialog box


paul2463

Recommended Posts

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
Link to comment
https://forums.phpfreaks.com/topic/22961-css-dialog-box/
Share on other sites

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....
Link to comment
https://forums.phpfreaks.com/topic/22961-css-dialog-box/#findComment-103655
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.