php and html and javascript events?

  • Thread starter Thread starter madmik3
  • Start date Start date
M

madmik3

Guest
seems like you are working in the right direction. just make sure to escape you single and double quotes correctly. also you seem to be talking about a tooltip. Google tooltip and you will see lots of examples.
 
I have the following select box:
echo("<Select size=3 MULTIPLE style='width: 235px; font-size: 9pt;' onchange='getMedia(" . $rows['id'] . ")' name='" . $rows['id'] . "_t[]' id='" . $rows['id'] . "_t'>");
echo("<option onmousehover='showTeachType(Simple diagrams Simple diagrams blah blah blah blah blah blah blah blah blah blah)' value='Simple diagrams Simple diagrams blah blah blah blah blah blah blah blah blah blah" . ">
Simple diagrams....
</option>");

How can i make it so when the mouse goes over the word "Simple diagrams" that a little thing shows the actual sentence "Simple diagrams blah blah blah blah blah blah blah blah blah blah"...you know like when you put your mouse on a picture and a little box shows up saying its a "Lion"???
 
Back
Top