标签:div border abs order .text img cti selected href
$("#mainAccrdion table a").click(function () { $("#mainAccrdion table td").css("background-image", "none"); $(this).parent().css("background-image", "url(/Content/img/home_index_td_backgroud.bmp)"); var url = $(this).attr("url"); var title = $(this).text(); addPanel(title, url); }) function addPanel(title, url) { if ($("#mainTabs").tabs("exists", title)) { $("#mainTabs").tabs("select", title) //当前tab var current_tab = $(‘#mainTabs‘).tabs(‘getSelected‘); $(‘#mainTabs‘).tabs(‘update‘, { tab: current_tab, options: { content: ‘<iframe scrolling="auto" frameborder="0" src="‘ + url + ‘" style="width:100%;height:100%;"></iframe>‘, //或者 href : ‘‘; } }); } else { $("#mainTabs").tabs("add", { title: title, closable: true, content: "<iframe id=‘winfrm‘ src=‘" + url + "‘ frameborder=‘0‘ scrolling=‘auto‘ style=‘width: 100%; height: 100%‘></iframe>" }) } }
标签:div border abs order .text img cti selected href
原文地址:http://www.cnblogs.com/duanyuerui/p/7669122.html