WordPress.org

Support

Support » How-To and Troubleshooting » WordPress and Javascript onClick Issue

WordPress and Javascript onClick Issue

  • Hey guys just a quick question,

    I was wondering if WordPress uses any onClick calls or any other javascript that would interfere with my onClick function? It seems that it works from time to time.

    Here’s the javascript that I’m trying to call

    <script type="text/javascript">
    function aclick(anchor_id) {
    	document.getElementById(anchor_id).onclick();
    }	</script>

    I’m trying to use make this flash allow the user to click on a image and so a lightbox function to display the full sized picture. But its not allowing me to do it. I already have it running on my server at this LINK, but when I have the function set up in one of my themes for WordPress (Click HERE to see the malfunctioning page), it doesn’t allow me to click on them. (Although it seems to work from time to time, which makes me think some javascripts are interfering with one another)

    Any help would be great!
    Thanks!

Viewing 1 replies (of 1 total)
  • I have a similar problem. Did you get it resolved? I had a look at the site you linked to be I can’t see any problems there.

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress and Javascript onClick Issue’ is closed to new replies.