User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 391,823 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,681 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting

How To Enlarge Image onMouseOver using PHP?

Join Date: Sep 2006
Posts: 86
Reputation: scorpionz is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
scorpionz scorpionz is offline Offline
Junior Poster in Training

Re: How To Enlarge Image onMouseOver using PHP?

  #12  
Apr 3rd, 2008
Thanks a lot sagedavis for providing me such useful guide lines of correcting my code
Finally i fixed it up up with this code

  1.  
  2. <html>
  3. <head>
  4. <title>My Test</title>
  5.  
  6. <script src="/test_files/scripts/PopBox.js" type="text/javascript"></script>
  7.  
  8. <script type="text/javascript">
  9. popBoxWaitImage.src = "images/spinner40.gif";
  10. popBoxRevertImage = "images/magminus.gif";
  11. popBoxPopImage = "images/magplus.gif";
  12. </script>
  13. <style type="text/css">
  14. .PopBoxImageSmall
  15. {
  16. border: none 0px #ffffff;
  17. cursor: url("images/magplus.cur"), pointer;
  18. }
  19. .PopBoxImageLarge
  20. {
  21. border: solid 1px #999999;
  22. cursor: url("images/magminus.cur"), pointer;
  23. }
  24. .position-box{
  25. position:absolute;
  26. top:100px;
  27. left:100px;
  28. }
  29. </style>
  30. </head>
  31.  
  32. <body>
  33. <table class="position-box" border="1">
  34. <tr>
  35. <td >
  36. <img
  37. src="images/ARY0144_small.jpg" alt="" width="399" height="253"
  38. class="PopBoxImageSmall" id="imgBlueScoop"
  39. title="Click to magnify/shrink"
  40. onclick="return Pop(this,50,'PopBoxImageLarge');"
  41. pbsrc="images/ARY0144_small.jpg"
  42. pbCaption="Nice Try" />
  43.  
  44. </td>
  45. </tr>
  46. </table>
  47. </body>
  48. </html>
  49.  

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 1:01 am. Reason: Fixed code tag
Reply With Quote  
All times are GMT -4. The time now is 5:48 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC