| | |
How To Enlarge Image onMouseOver using PHP?
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Nov 2007
Posts: 86
Reputation:
Solved Threads: 6
the answer is that Pop is not defined. you are calling a function called POP in your onClick function and I see no javascript function (because it must be a function in order to use it). I do not see you using an external javascript either....
so, you've got no internal javascript going on, and no external javascript code (other than declairing a couple of variables) but no javascript functions.
Sage
so, you've got no internal javascript going on, and no external javascript code (other than declairing a couple of variables) but no javascript functions.
Sage
•
•
Join Date: Sep 2006
Posts: 107
Reputation:
Solved Threads: 0
Thanks a lot sagedavis for providing me such useful guide lines of correcting my code
Finally i fixed it up up with this code
Infact this thread will be so much helpful though.....
Thanks and Regards to all those who participated with me in this thread...
Thanks and Regards
ScorpionZ
Finally i fixed it up up with this code
php Syntax (Toggle Plain Text)
<html> <head> <title>My Test</title> <script src="/test_files/scripts/PopBox.js" type="text/javascript"></script> <script type="text/javascript"> popBoxWaitImage.src = "images/spinner40.gif"; popBoxRevertImage = "images/magminus.gif"; popBoxPopImage = "images/magplus.gif"; </script> <style type="text/css"> .PopBoxImageSmall { border: none 0px #ffffff; cursor: url("images/magplus.cur"), pointer; } .PopBoxImageLarge { border: solid 1px #999999; cursor: url("images/magminus.cur"), pointer; } .position-box{ position:absolute; top:100px; left:100px; } </style> </head> <body> <table class="position-box" border="1"> <tr> <td > <img src="images/ARY0144_small.jpg" alt="" width="399" height="253" class="PopBoxImageSmall" id="imgBlueScoop" title="Click to magnify/shrink" onclick="return Pop(this,50,'PopBoxImageLarge');" pbsrc="images/ARY0144_small.jpg" pbCaption="Nice Try" /> </td> </tr> </table> </body> </html>
Infact this thread will be so much helpful though.....
Thanks and Regards to all those who participated with me in this thread...
Thanks and Regards
ScorpionZ
Last edited by cscgal; Apr 3rd, 2008 at 2:01 am. Reason: Fixed code tag
![]() |
Other Threads in the PHP Forum
- Previous Thread: RewriteBase / (.htaccess) Simple problem for experienced people
- Next Thread: Create ur own page number
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array basics beginner binary broken cakephp checkbox class cms code cron curl database date datepart directory display download dynamic echo email error file files folder form forms function functions google head href htaccess html image include insert integration ip java javascript joomla limit link list login loop mail menu mlm mod_rewrite multiple mysql number oop parse password paypal pdf php phpmyadmin problem query radio random recourse recursion regex remote script search seo server sessions sms soap source space sql structure syntax system table tutorial update upload url validation validator variable video web webdesign xml youtube





