JavaScript - Scipts Cancelling Each Other
I know this is a common question. I have read the posts, including http://www.javascriptkit.com/javatut...plejava3.shtml which illustrates this very problem. Wherein lies the heart of this issue is in my complete lack of knowledge of how Javascript works, and the literal examples in that explanation don't seem to be present in the scripts in question.
The subject page I'm trying to figure out is www.barkingtuna.com/indexMAG.html. One set of Scripts creates a full width sliding banner at the top, and the other script serves to create a "magnifying glass" effect for the remaining images on the page. With them both on the page, only the magnifying glass rollover effect works. If I remove the "mag.js" script, the sliding banner functions again, but I lose the magnifying glass. I was able to locate "onload" in various forms within attached the ddpowerzoomer.js, mag.js, js\jquery.core.js. All that said, I am much better at basic HTML, Design, and SEO, and leave this up to the experts. I hope that is concise enough and that someone can point me in the right direction. Much Appreciation, TexAz Similar TutorialsIs there a simple way to cancel all active timeouts without the need to reference each one individually ?
ok so all I want to do is allow a user to confirm that they've clicked the deactivate button...if they click 'ok' deactivate the affiliate...else just return to the list what is happening is I click on deactivate and the confirmation pops up (so far so good); if I click ok then it deactivates the affiliate the way it's supposed to - but if I click cancel it still deactivates the affiliate instead of returning to the list Code: <script type="text/javascript"> function confirmation() { if (confirm("Are you sure you want to deactivate this affiliate? Doing so will deactivate all of its users as well.")){ window.location = "affiliates.php?deactivate='.$_GET['deactivate'].'"; } else { window.location = "affiliates.php"; } } </script> any help is greatly appreciated! |