WordPress.org

Ready to get started?Download WordPress

Forums

WordPress and Javascript onClick Issue (2 posts)

  1. jeric2k5
    Member
    Posted 5 years ago #

    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!

  2. Dave333
    Member
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic