Here all my jquery scripts in my head:

<script type="text/javascript" src="/src/js/jquery/ jquery-1.2.6.min.js"></script> <script type="text/javascript" src="/src/js/jquery/ jquery.labelify.js"></script> <script type="text/javascript" src="/src/js/jquery/lavalamp/ jquery-1.2.3.min.js"></script> <script type="text/javascript" src="/src/js/jquery/lavalamp/ jquery.easing.min.js"></script> <script type="text/javascript" src="/src/js/jquery/lavalamp/ jquery.lavalamp.min.js"></script>

I went through all these scripts and replaced $( with $j(.

I also changed the following script in my head:

$(document).ready(function(){
  $(":text").labelify();
});
</script>

<script type="text/javascript">
        $(function() {
            $("#1, #2, #3").lavaLamp({
                fx: "backout",
                speed: 800,
                click: function(event, menuItem) {
                    return false;
                }
            });
        });
    </script>

Next, do I place <script type="text/javascript">var $j = jQuery.noConflict();</script> at the bottom of my head?

I did this and still no success.

Erik




On Jan 20, 2009, at 1:37 PM, Steven Barbera wrote:

Which part of the code are you using jQuery with? Because at the very top after you call the jQuery script you should set the var $j = jQuery.noConflict() method. In then in front of all the jQuery code $ selectors change them to $j, so jQuery code will be applied to them.



On Tue, Jan 20, 2009 at 1:35 PM, Erik R. Peterson <eriks...@mac.com> wrote:

Here is my code:

<!--
<script type="text/javascript" src="/src/js/mootools/1.2.1/core.js"
charset="utf-8"></script>
<script type="text/javascript" src="/src/js/mootools/1.2.1/more.js"
charset="utf-8"></script>
<script type="text/javascript" src="/src/js/mootools/barack/
morphlist.js" charset="utf-8"></script>
<script type="text/javascript" src="/src/js/mootools/barack/
barackslideshow.js" charset="utf-8"></script>
<script type="text/javascript" src="/src/js/mootools/barack/demo.js"
charset="utf-8"></script>
-->

<script type="text/javascript" src="/src/js/jquery/
jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="/src/js/jquery/
jquery.labelify.js"></script>
<script type="text/javascript" src="/src/js/jquery/lavalamp/
jquery-1.2.3.min.js"></script>
<script type="text/javascript" src="/src/js/jquery/lavalamp/
jquery.easing.min.js"></script>
<script type="text/javascript" src="/src/js/jquery/lavalamp/
jquery.lavalamp.min.js"></script>


<script type="text/javascript">
$(document).ready(function(){
  $(":text").labelify();
});
</script>

<script type="text/javascript">
        $(function() {
            $("#1, #2, #3").lavaLamp({
                fx: "backout",
                speed: 800,
                click: function(event, menuItem) {
                    return false;
                }
            });
        });
    </script>
<script type="text/javascript">
function change(id,newtext)
{
document.getElementById(id).innerHTML=newtext
}
</script>
</head>

<body>








On Jan 20, 2009, at 1:26 PM, Erik R. Peterson wrote:

>
> I did everything you pointed out. It still doesn't work:
>
> <script type="text/javascript">var $j = jQuery.noConflict();</ script>
>
> Where do I place this script in my html?
>
> I verified none of my mootools is using $j()
>
> Very frustrated.
>
> Any help is greatly appreciated.
>
> Erik
>
>
>
>
> On Jan 20, 2009, at 9:42 AM, WhoButSB wrote:
>
>> $j
>






--

-------------------
Steve Barbera
whobu...@gmail.com

Reply via email to