如何调整结果面板的样式?如何获取指定dede页码样式的结果

The page is temporarily unavailable
nginx error!
The page you are looking for is temporarily unavailable.
Please try again later.
Website Administrator
Something has triggered an error on your
This is the default error page for
nginx that is distributed with
It is located
/usr/share/nginx/html/50x.html
You should customize this error page for your own
site or edit the error_page directive in
the nginx configuration file
/etc/nginx/nginx.conf.The page is temporarily unavailable
nginx error!
The page you are looking for is temporarily unavailable.
Please try again later.
Website Administrator
Something has triggered an error on your
This is the default error page for
nginx that is distributed with
It is located
/usr/share/nginx/html/50x.html
You should customize this error page for your own
site or edit the error_page directive in
the nginx configuration file
/etc/nginx/nginx.conf.The page is temporarily unavailable
nginx error!
The page you are looking for is temporarily unavailable.
Please try again later.
Website Administrator
Something has triggered an error on your
This is the default error page for
nginx that is distributed with
It is located
/usr/share/nginx/html/50x.html
You should customize this error page for your own
site or edit the error_page directive in
the nginx configuration file
/etc/nginx/nginx.conf.The page is temporarily unavailable
nginx error!
The page you are looking for is temporarily unavailable.
Please try again later.
Website Administrator
Something has triggered an error on your
This is the default error page for
nginx that is distributed with
It is located
/usr/share/nginx/html/50x.html
You should customize this error page for your own
site or edit the error_page directive in
the nginx configuration file
/etc/nginx/nginx.conf.怎么样在列表页中输入页码就可以跳转到指定的分页?_织梦新手网
当前位置: >
简述:想要在文章列表页下面的页码中输入指定的页码就可以跳转到指定的页面中,要怎么样做? 很多人都想在文章的列表页有这样的功能,其实修改这个也很简单的,按照下面的步骤就可以了: 编辑打开列表页模板,默认路径为\templets\default\list_article.htm, 将下
想要在文章列表页下面的页码中输入指定的页码就可以跳转到指定的页面中,要怎么样做?
很多人都想在文章的列表页有这样的功能,其实修改这个也很简单的,按照下面的步骤就可以了:
编辑打开列表页模板,默认路径为\templets\default\list_article.htm,
将下列代码插入&head&&/head&之间,也可以做JS调用。
&script type=&text/javascript&&// &![CDATA[
function onCheckPage(){
var beginPage = parseInt(document.beginPagefrm.beginPage.value);
if(isNaN(beginPage)){
alert(&请输入数字!&);
if(beginPage &= 0 ) { beginPage = 1; } if(beginPage & 100){
beginPage = 100;
if(beginPage & 1 ) {
document.beginPagefrm.action = &list_{dede:field name='typeid'/}_& + beginPage + &.html&;
document.beginPagefrm.action = &{dede:type typeid=&0& row=1}[field:typelink /]{/dede:type}&;
下面的是列表页的分页代码,替换原来的分页代码,测试过有效,具体的显示样式自己调整。
&div class=&dede_pages&&
&ul class=&pagelist&&
&form name=&beginPagefrm& method=post action=&& onsubmit=&return onCheckPage()&&
{dede:pagelist listitem=&index,end,pre,next,pageno& listsize=&5&/}直接到第&input size=4 name=&beginPage& value=&&&页&input type=&submit& name=&Submit& value=&前住&&
欢迎分享本文,转载请保留出处!
您可能喜欢的文章
本站由提供云服务

我要回帖

更多关于 dedecms页码样式 的文章

 

随机推荐