Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Javascript Conflict
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Javascript Conflict
#19904
Javascript Conflict 12 Years, 9 Months ago Karma: 0
Whenever I try to add javascript to the header, I get a long string placed at the top of the body.

This is the text that is placed at the top of the page::::
Ext.onReady(function() { new Ext.ux.Menu("ariext93", {"direction":"vertical","transitionDuration":0.2,"zIndex":9999}); Ext.get("ariext93").select(".ux-menu-sub").removeClass("ux-menu-init-hidden"); });

utemplate.com/ This is the domain.

Here is the code I am trying to add::::
Code:

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

<script type="text/javascript">

/*** 
    Simple jQuery Slideshow Script
    Released by Jon Raasch (jonraasch.com) under FreeBSD license: free to use or modify, not responsible for anything, etc.  Please link out to me if you like it :)
***/

function slideSwitch() {
    var $active = $('#slideshow IMG.active');

    if ( $active.length == 0 ) $active = $('#slideshow IMG:last');

    // use this to pull the images in the order they appear in the markup
    var $next =  $active.next().length ? $active.next()
        : $('#slideshow IMG:first');

    // uncomment the 3 lines below to pull the images in random order
    
    // var $sibs  = $active.siblings();
    // var rndNum = Math.floor(Math.random() * $sibs.length );
    // var $next  = $( $sibs[ rndNum ] );


    $active.addClass('last-active');

    $next.css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, 1000, function() {
            $active.removeClass('active last-active');
        });
}

$(function() {
    setInterval( "slideSwitch()", 5000 );
});

</script>

Last Edit: 2011/09/23 18:22 By cport1.
The administrator has disabled public write access.
 
#19906
Re:Javascript Conflict 12 Years, 9 Months ago Karma: 748
Hello,

Sorry, but what problem do you have and how it is related to "ARI Ext Menu" module?

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1