January 14, 201313 yr I have a page which lists members by name, about sixty, they are from six different countries. I would like a 'tooltip' to appear when the cursor mouses over their text displaying a small image of their national flag. Is there a simple way to implement this, I am no programmer?
January 14, 201313 yr Google javascript tooltip or jquery tooltip. Both will mean downloading some processing files and the markup and you insert your image link. You would code each person's profile individually with a different flag image. To select different flags automatically you would probably need a database with a field for the country (or a link to the flag image) then select that field with php from the profile or from an input form where you enter each person's data. You can do basic image tooltips with CSS (no javascript) like item 3 here (just edit the style using a background image and omit the markup text but leave the empty span tags):- http://www.wickham43...hoverpopups.php Edited January 14, 201313 yr by Wickham
Create an account or sign in to comment