Lightbox @ KFB-Design

Gestart doorMarvinn21 reacties31 weergaven

22 berichten · pagina 2 van 2

Berichten
325
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
jQuery gebruikt : #.functienaam(). waarschijnlijk gebruikt het conflicterende javascript ook een hekje om functies op te roepen.

oplossing zou kunnen zijn om voor alle jquery scripts de # te vervangen door "jQuery" ( zonder quotes), en de conflicterende javascript zo te laten.
0
Berichten
18.482
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
jQuery gebruikt $ wink
0
Marvinn

Lid · Topicstarter

Berichten
2.609
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hhhm dat woord vanmiddag eventjes google want ik snap er niks van bloos schater
Dit heb ik nu als plaatje:

<a href="photos/image2.jpg" title="Utilize a flexibilidade dos seletores da jQuery e crie um grupo de imagens como desejar. $(#gallery a).lightBox();">

                <img src="photos/thumb_image2.jpg" width="72" height="72" alt="">

            </a>


Dat is toch goed met: $(#gallery a).lightBox();

Dit is van de livehelpdesk:

<a href="javascript:void(window.open(http://www.habbotjes.be/livezilla/chat.php,,width=590,height=580,left=0,top=0,resizable=yes,menubar=no,location=no,status=yes,scrollbars=yes))"><img src="http://www.habbotjes.be/livezilla/image.php?id=04" width="185" height="70" border="0" alt=""></a>


Hhm Marjolein zo?:

<a href="photos/image2.jpg" title="Utilize a flexibilidade dos seletores da jQuery e crie um grupo de imagens como desejar. $(jQuery).lightBox();">

                <img src="photos/thumb_image2.jpg" width="72" height="72" alt="" />

            </a>


Kijk bij: $(jQuery).lightBox();"

Of moet ik hier wat veranderen?:

<script type="text/javascript">
$(function() {
    $(#gallery a).lightBox({fixedNavigation:true});
    // Use this example, or...
    $(a[@rel*=lightbox]).lightBox(); // Select all links that contains lightbox in the attribute rel
    // This, or...
    $(#gallery a).lightBox(); // Select all links in object with gallery ID
    // This, or...
    $(a.lightbox).lightBox(); // Select all links with lightbox class
    // This, or...
    $(a).lightBox(); // Select all links in the page
    // ... The possibility are many. Use your creative or choose one in the examples above
});
</script>
0
Berichten
325
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Luukvdo schreef:
jQuery gebruikt $ wink
excuses, je hebt gelijkbloos.

het gaat er dus om dat je die $ door "jQuery" vervangt.
ik heb namelijk eens een conflict gehad met MooTools die ook een $ gebruikt.
0
Marvinn

Lid · Topicstarter

Berichten
2.609
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Pfff snap er niks meer van sadley
Zo sadley?:

<a href="photos/image2.jpg" title="Utilize a flexibilidade dos seletores da jQuery e crie um grupo de imagens como desejar. jQuery(#gallery a).lightBox();">

                <img src="photos/thumb_image2.jpg" width="72" height="72" alt="" />

            </a>


En dit zo?:

<script type="text/javascript">
jQuery(function() {
    jQuery(#gallery a).lightBox({fixedNavigation:true});
    // Use this example, or...
    jQuery(a[@rel*=lightbox]).lightBox(); // Select all links that contains lightbox in the attribute rel
    // This, or...
    jQuery(#gallery a).lightBox(); // Select all links in object with gallery ID
    // This, or...
    jQuery(a.lightbox).lightBox(); // Select all links with lightbox class
    // This, or...
    jQuery(a).lightBox(); // Select all links in the page
    // ... The possibility are many. Use your creative or choose one in the examples above
});
</script>


Of... Moet ik alles hier aanpassen?:

http://www.habbotjes.be/js/jquery.lightbox-0.5.js
0
Berichten
970
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Gebruik gewoon jQuery no conflict?
0
Marvinn

Lid · Topicstarter

Berichten
2.609
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ja ik wil jQuery gebruiken alleen ik snap er niks van?

Gebruik ik het nou wel of niet cry
Ik voel me dom yummie
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren