请教!能将article在首页的区块内容这样表现吗? [技术论坛 - 模块推荐版块] imag1

正在浏览:   1 名游客






请教!能将article在首页的区块内容这样表现吗?
中级会员
注册日期:
2005/1/7 21:26
所属群组:
注册会员
帖子: 63
等级: 6; EXP: 82
HP: 0 / 145
MP: 21 / 1663
离线

以下我在首页调出文章的排列方式 ,无论采取那种(list,blog,default,new)方式。实际上我想要图2中的选项卡方式,可以做到吗?




这样可以将不同分类 的文章整合在一起!请支持一下!!不胜感激!实际上,我以前好像在其它的版本试过可以的!但忘记了。


 


2008/12/3 21:51
工具箱 短消息 Email PDF 书签 打印 举报 回顶部


回复: 请教!能将article在首页的区块内容这样表现吗?
高级会员
注册日期:
2006/2/25 21:20
所属群组:
注册会员
帖子: 76
等级: 7; EXP: 65
HP: 0 / 166
MP: 25 / 1349
离线
选项卡各大网站都很流行,谁能分享,需要CSS实现。

2008/12/3 23:46
工具箱 短消息 Email PDF 书签 打印 举报 回顶部


回复: 请教!能将article在首页的区块内容这样表现吗?
Support Team
注册日期:
2005/12/11 18:53
所属群组:
注册会员
ComSupp
帖子: 438 | 精华: 6
等级: 19; EXP: 43
HP: 0 / 460
MP: 146 / 4017
离线
试试这个模块:

http://d8q.net/wfdownloads+singlefile.cid+6+lid+15.htm

可以实现你的标签式浏览,

具体风格要根据需要选择或自己修改

昨天 7:33
_________________
我的XOOPS站:http://d8q.net
http://d8q.org
工具箱 短消息 Email PDF 书签 打印 举报 回顶部


回复: 请教!能将article在首页的区块内容这样表现吗?
Support Team
注册日期:
2007/7/16 17:06
来自 徐州(上海)
所属群组:
网站管理员
注册会员
资料整理组
帖子: 219 | 精华: 4
等级: 13; EXP: 82
HP: 0 / 320
MP: 73 / 1302
离线
引文:

lhl000 写道:
试试这个模块:

http://d8q.net/wfdownloads+singlefile.cid+6+lid+15.htm

可以实现你的标签式浏览,

具体风格要根据需要选择或自己修改


Lhl000同学, 我喜欢用Firefox,但是每当我打开你的网站是,css样式,好像都无法生效了!你打开看看!

昨天 9:14
工具箱 短消息 Email PDF 书签 打印 举报 回顶部


回复: 请教!能将article在首页的区块内容这样表现吗?
Support Team
注册日期:
2005/12/11 18:53
所属群组:
注册会员
ComSupp
帖子: 438 | 精华: 6
等级: 19; EXP: 43
HP: 0 / 460
MP: 146 / 4017
离线
这个我知道,不过不知道怎么改,
他选择不用风格,就成那个样子了,
怎么设置默认风格,没搞清楚

我给个代码,帮我看看


function setActiveStyleSheet(title) {
  var 
iamain;
  for(
i=0; (document.getElementsByTagName("link")[i]); i++) {
    if(
a.getAttribute("rel").indexOf("style") != -&& a.getAttribute("title")) {
      
a.disabled true;
      if(
a.getAttribute("title") == titlea.disabled false;
    }
  }
}

function 
getActiveStyleSheet() {
  var 
ia;
  for(
i=0; (document.getElementsByTagName("link")[i]); i++) {
    if(
a.getAttribute("rel").indexOf("style") != -&& a.getAttribute("title") && !a.disabled) return a.getAttribute("title");
  }
  return 
null;
}

function 
getPreferredStyleSheet() {
  var 
ia;
  for(
i=0; (document.getElementsByTagName("link")[i]); i++) {
    if(
a.getAttribute("rel").indexOf("style") != -1
       
&& a.getAttribute("rel").indexOf("alt") == -1
       
&& a.getAttribute("title")
       ) return 
a.getAttribute("title");
  }
  return 
null;
}

function 
createCookie(name,value,days) {
  if (
days) {
    var 
date = new Date();
    
date.setTime(date.getTime()+(days*24*60*60*1000));
    var 
expires "; expires="+date.toGMTString();
  }
  else 
expires "";
  
document.cookie name+"="+value+expires+"; path=/";
}

function 
readCookie(name) {
  var 
nameEQ name "=";
  var 
ca document.cookie.split(';');
  for(var 
i=0;ca.length;i++) {
    var 
ca[i];
    while (
c.charAt(0)==' 'c.substring(1,c.length);
    if (
c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
  }
  return 
null;
}

window.onload = function(e) {
  var 
cookie readCookie("style");
  var 
title cookie cookie getPreferredStyleSheet();
  
setActiveStyleSheet(title);
}

window.onunload = function(e) {
  var 
title getActiveStyleSheet();
  
createCookie("style"title365);
}

var 
cookie readCookie("style");
var 
title cookie cookie getPreferredStyleSheet();
setActiveStyleSheet(title);

昨天 9:29
_________________
我的XOOPS站:http://d8q.net
http://d8q.org
工具箱 短消息 Email PDF 书签 打印 举报 回顶部


回复: 请教!能将article在首页的区块内容这样表现吗?
中级会员
注册日期:
2005/1/7 21:26
所属群组:
注册会员
帖子: 63
等级: 6; EXP: 82
HP: 0 / 145
MP: 21 / 1663
离线
刚下载了My Tabs模块,稍稍测试了一下,不错。要做一些修改但基本可以实现我的想法。感谢lhl000

昨天 10:09
工具箱 短消息 Email PDF 书签 打印 举报 回顶部





可以查看帖子。
不可发帖。
不可回复。
不可编辑自己的帖子。
不可删除自己的帖子。
不可发起投票调查。
不可在投票调查中投票。
不可上传附件。
不可不经审核直接发帖。
不可使用主题类别。
不可以使用HTML语法。
不可以使用签名档。

[高级搜索]