Fork me on GitHub

Rapport de message :*
 

Re: Rendre jQuery compatible avec d'autres bibliothèques de scripts: facile !

Titre du sujet : Re: Rendre jQuery compatible avec d'autres bibliothèques de scripts: facile !
par lionhell sur 24/11/2010 21:51:35

Ma version de xoops est 2.4.5.
Voici une copie de la partie HEAD de theme.html, regarde la section "COMPATIBILITE" :

<head>
    <!-- 
Assign Theme name -->
    <{
assign var=theme_name value=$xoTheme->folderName}>

    <!-- 
Title and meta -->
    <
meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <
meta http-equiv="content-language" content="<{$xoops_langcode}>" />
    <
meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
    <
title><{if $xoops_pagetitle !=''}><{$xoops_pagetitle}> - <{/if}><{$xoops_sitename}></title>
    <
meta name="robots" content="<{$xoops_meta_robots}>" />
    <
meta name="keywords" content="<{$xoops_meta_keywords}>" />
    <
meta name="description" content="<{$xoops_meta_description}>" />
    <
meta name="rating" content="<{$xoops_meta_rating}>" />
    <
meta name="author" content="<{$xoops_meta_author}>" />
    <
meta name="copyright" content="<{$xoops_meta_copyright}>" />
    <
meta name="generator" content="XOOPS" />

    <!-- 
Rss -->
    <
link rel="alternate" type="application/rss+xml" title="" href="<{xoAppUrl backend.php}>" />

    <!-- 
Favicon -->
    <
link rel="shortcut icon" type="image/ico" href="<{xoImgUrl icons/favicon.ico}>" />
    <
link rel="icon" type="image/png" href="<{xoImgUrl icons/favicon.png}>" />

    <!-- 
Sheet Css -->
    <
link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoAppUrl xoops.css}>" />
    <
link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoImgUrl style.css}>" />
    <
link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.0r4/build/reset/reset-min.css"/>
    <!--[if 
lte IE 8]>
    <
link rel="stylesheet" href="<{xoImgUrl styleIE8.css}>" type="text/css" />
    <![endif]-->
    
    <!-- 
JS -->
    <{if 
$xoops_dirname != "publisher"}>
<
script type="text/javascript" src="<{$xoops_url}>/browse.php?Frameworks/jquery/jquery.js"</script>
<script type="text/javascript" src="<{$xoops_imageurl}>js/curvycorners.src.js"> </script>
<{/if}>
    <script type="text/javascript" src="<{$xoops_imageurl}>js/s3Slider.js"> </script>

    <!-- customized header contents -->

<!-- =========== COMPATIBILITE =========== -->

<script type="text/javascript">
    jQuery.noConflict();  
    jQuery(document).ready(function($) {
        $('#slider1').s3Slider({
            timeOut: 5000 
        });
    });
</script>

<!-- ===================================== -->


<script type="text/javascript"> 
var curvyCornersVerbose = false; 
</script>
    <script type="text/javascript" src="<{xoImgUrl js/popup.js}>" charset="utf-8"> </script>
    <script src= <{xoImgUrl js/mootools-1.2.5.js}>  type="text/javascript"></script>
    <{$xoops_module_header}>

</head>

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

46 Personne(s) en ligne (37 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 46 | Plus ...