I am trying to use more than one script in my page (lightbox is added)
If one or the other is removed all works fine. I found
-------------
<script>
    jQuery.noConflict();

    // Use jQuery via jQuery(...)
    jQuery(document).ready(function(){
      jQuery("div").hide();
    });

    // Use Prototype with $(...), etc.
    $('someid').hide();
  </script>
---------------
But I have no idea what of the parts of the script to put where in the
code above. Can anybody help me to get the scripts underneath to get
to work next to eachother?
---------------

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/
libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="http://css-template-
layout.googlecode.com/files/jquery.tpl_layout1.1.1.js"></script>
<script type="text/javascript">
jQuery(document).ready(function()
{
    jQuery.setTemplateLayout()
});
</script>

   <!-- Arquivos utilizados pelo jQuery lightBox plugin -->
   <script type="text/javascript" src="js/jquery.js"></script>
   <script type="text/javascript" src="js/jquery.lightbox-0.5.js"></
script>

   <!-- Ativando o jQuery lightBox plugin -->
   <script type="text/javascript">
   $(function() {
       $('#gallery a').lightBox();
   });
   </script>

Thanx!

Reply via email to