Jump to content

Recommended Posts

I have a javascript rotator on my site. When it is gone everything works. When it is running, we get some problems. The problems are that the video pop up (a javascript effect that than has a youtube video in it) doesn't work anymore. http://burninginfo.com

 

if you need more details, want me to turn off the image rotator and more, please just add me on

aim: daveoffy

msn: [email protected]

gtalk: d.offy12

xfire: daveoffy

Link to comment
https://forums.phpfreaks.com/topic/160272-js-rotator-is-messing-up-video-pop-up/
Share on other sites

You're using 2 jsframeworks jquery and prototype. You have 2 options.

1. Stick to one js framework either prototype.js or jquery.

2. Use jquery no conflict. http://docs.jquery.com/Using_jQuery_with_Other_Libraries

will I just put this in?

 

   <script>
     var $j = jQuery.noConflict();
     
     // Use jQuery via $j(...)
     $j(document).ready(function(){
       $j("div").hide();
     });
     
     // Use Prototype with $(...), etc.
     $('someid').hide();
   </script>

 

do i need to change anything. I am so bad at javascript, so please help.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.