Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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