账号通
    

账号  

密码  

1265

查看

1

回复
主题:我是新手,有个问题请教 [收藏主题]  
wokancn 当前离线

23

主题

0

广播

0

粉丝
添加关注
级别:学前班

用户积分:390 分
登录次数:17 次
注册时间:2009/4/3
最后登录:2009/7/26
wokancn 发表于:2009/4/26 18:58:00   | 只看该作者 查看该作者主题 楼主 

我做了一个模板,首页有JS语言,编完试着正常,但是绑定到系统就不能显示了,就好像没有似的

大家帮我看看,一下是JS代码

var tickNocache = "2009-4-16 8:57:00";
function FillCat(topID,albTopID,type){
    $('#AreaContainerMore').attr('href','http://www.9sky.com/music/albumPoly/1/genre-'+type);
    $('#CatelogTypes a.actived').removeClass("actived");
    $('#CatSpan'+topID).addClass("actived");
    //$('#lst_indextop').load("ajax/idx2009/TopCatelog.aspx?topID="+topID+"&albID="+albTopID+"&nocache="+tickNocache);
    $.get("ajax/idx2009/TopCatelog.aspx?topID="+topID+"&albID="+albTopID+"&nocache="+tickNocache,'',function(data){
        $('#lst_indextop').html(data);
    });
}
function FillGener(TypeID,Index){
    var pageNum = $('#generCount').val();
    if(Index>0 && Index<=pageNum){
        $('#GenerContainerMore').attr('href',GetAlbumPolyUrl(TypeID));
        $('#Geners li.actived').removeClass("actived");
        $('#Gener'+TypeID).addClass("actived");
        //$('#GenerAnyContains').load("ajax/idx2009/TopGener.aspx?tid="+TypeID+"&i="+Index+"&nocache="+tickNocache);
        $.get("ajax/idx2009/TopGener.aspx?tid="+TypeID+"&i="+Index+"&nocache="+tickNocache,'',function(data){
        $('#GenerAnyContains').html(data);
        });
    }
}
function ShowOneGener(albID){
     $('#GenerListMain li.item_expand').removeClass("item_expand").addClass('item_collapse');
     $('#generLi'+albID).removeClass('item_collapse').addClass('item_expand');
}
function GetAlbumPolyUrl(TypeID){
    var AlbumPolyMain = "http://www.9sky.com/music/albumPoly/";
    switch (TypeID){
        case 923: return AlbumPolyMain + "1";break;
        case 924: return AlbumPolyMain + "4";break;
        case 925: return AlbumPolyMain + "2";break;
        case 926: return AlbumPolyMain + "8";break;
        case 927: return AlbumPolyMain + "3";break;
        case 928: return AlbumPolyMain + "5";break;
        case 929: return AlbumPolyMain + "9";break; 
        default: return AlbumPolyMain + "1";break;}
}
function ShowCatADetail(albId,isVisible){
    if(isVisible) $('#CatADetail'+albId).show();
    else $('#CatADetail'+albId).hide();
}
function ShowMan(order,childClass){
    var objLiItem = "#liItem"+order,objUlPack = "#ulPack"+order,preMan = $('#inputStrongMan').val(),preManOrder=$('#inputPreManOrder').val(),preClass="item_expand "+preMan,preObjLiItem="#liItem"+preManOrder;
    //防止子控件冒泡
    if($(objLiItem).attr('className')!="item_expand "+childClass)
    {
        $(preObjLiItem).removeClass(preClass).addClass("item_collapse "+preMan);
        $(objLiItem).removeClass("item_collapse "+childClass).addClass("item_expand "+childClass);
        $('#inputStrongMan').val(childClass);
        $('#inputPreManOrder').val(order);
        if(order!=1){
            //$(objUlPack).load("ajax/idx2009/StrongMan.aspx?i="+order+"&nocache="+tickNocache);
            $.get("ajax/idx2009/StrongMan.aspx?i="+order+"&nocache="+tickNocache,'',function(data){
            $(objUlPack).html(data);
            });
        }
    } 
}
swfobject.embedSWF("shouyelunbo_cache.swf", "object_slider", "526", "230", "8.0.0", "http://static.9eye.cn/idx2009/images/expressInstall.swf",{loadXmlFile:"roll.xml&nocache=20090416085700"},{wmode:"transparent",allowScriptAccess:"always"});
function showMusicWall(){
    swfobject.embedSWF("musicWall_xml.swf", "object_music_grid", "960", "327", "8.0.0", "expressInstall.swf",{loadXmlFile:"Default.xml&defaultPlayID=0&defaultPlayTime=3&nocache=20090416085700"},{wmode:"transparent",allowScriptAccess:"always"});
}

setTimeout('showMusicWall()',1500);
setLayout(3,new Array("ad132108","132108"),new Array("ad132126","132126"),new Array("ad132127","132127"));

$(document).ready(
function(){   
 if(gg.isAd("132108"))
    {setTimeout(function(){$('#ctlHeadAD').show();},3000);}
    if(gg.isAd("132127"))
    {
        setTimeout(function(){$('#ctlStarVisitAD').show();$('#divStarMain').hide();},3000);
  //setTimeout(function(){$('#ctlStarVisitAD').hide();$('#divStarMain').show();},13000);
    }
   
    if(gg.isAd("132126"))
    {
        var clientWidth = document.documentElement.clientWidth ?document.documentElement.clientWidth : document.body.clientWidth,
        clientScrollLeft = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft,
        clientHeight = document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight,
        clientScrollTop = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop,
        objWidth = 800,
        objHeight = 350;
        var styleLeft = (-objWidth +clientWidth-clientScrollLeft)/2 + 'px';
        var styleTop = (-objHeight + clientHeight)/2 + 30 + 'px';
        $('#ctlPopWinAD').attr("style","_left: expression('"+styleLeft+"');_top: expression('"+styleTop+"');");
        setTimeout(function(){$('#ctlPopWinAD').show();},777);
    }
 if(gg.isAd("132130")) {
  $(".ex_adv_popup").show();
  setTimeout(function(){$(".ex_adv_popup").hide();},10000);
 }
   
    setTimeout(function(){$('#ctlPopWinAD').hide();},5000);
    $('#inputStrongMan').val('user_top_1st');
    $('#inputPreManOrder').val(1);
    ShowMan(1,'user_top_1st');
}
);
$(function() {
    if($.browser.msie&&$.browser.version<7&&!/MSIE 8.0/.test(navigator.userAgent)) {
        $(window).scroll(function(e) {
            $('.ex_adv_popup').css({ visibility: 'hidden' }).css({ visibility: 'visible' });
        });
    }
});
// JavaScript Document

 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
wokancn 当前离线

23

主题

0

广播

0

粉丝
添加关注
级别:学前班

用户积分:390 分
登录次数:17 次
注册时间:2009/4/3
最后登录:2009/7/26
wokancn 发表于:2009/4/26 20:09:00   | 只看该作者 查看该作者主题 沙发 
科汛在线网校系统
我看了一下,科讯的程序是好,但就是这个论坛解决问题的效率有些低,唉。两难的选择
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.07886秒 powered by KesionCMS 9.0