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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 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.


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 13 Years, 2 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 13 Years, 2 Months ago Karma: 760
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