Jump to content

Can I?


valentin

Recommended Posts

Can I write in PHP a function similar to onmouseover. For example I have an image and I want to show a small dialog box (in which I should be able to write "this is my image") whenever the mouse is over it. I have seen this done with javascript, but I don't know this script, yet. That is why I am asking you if it can be done only with PHP (HTML).
Thank you in anticipation!
Link to comment
Share on other sites

I'm sure it can't be done.  What you're looking for is browser behaviour that occurs on the client machine, whereas php executes only on the server and then sends the results to the browser.

The standard html attributes title and alt work with images. Simple is best.
Link to comment
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.