Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [jQuery] Konflikt jquery-1.4.4.js z jquery.lightbox
TheRiko
post
Post #1





Grupa: Zarejestrowani
Postów: 37
Pomógł: 1
Dołączył: 10.09.2006

Ostrzeżenie: (0%)
-----


Witam.

Posiadam konflikt lightboxa jquery ze sliderem facebooka, ktory rowniez jest wykonany w jquery.
  1. <script type="text/javascript" src="js/jquery.js"></script>
  2. <script type="text/javascript" src="js/jquery.lightbox-0.5.js"></script>
  3. <script type="text/javascript">
  4. $(function() {
  5. // Use this example, or...
  6. $('a[@rel*=lightbox]').lightBox(); // Select all links that contains lightbox in the attribute rel
  7. });
  8.  
  9. <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.js"></script>
  10. <script type="text/javascript">
  11. $(document).ready(
  12. function()
  13. {
  14. $("#fb").mouseenter(function()
  15. {
  16. $(this).stop().animate({right: 0}, "normal");
  17. }).mouseleave(function()
  18. {
  19. $(this).stop().animate({right: -205}, "normal");
  20. });;
  21. });

Wiem, że należy wykonać jQuery.noConflict(); ale nie wiem jak to zrobić. Pomoże ktoś?

Ten post edytował TheRiko 13.04.2012, 23:27:13
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 24.09.2025 - 06:09