|
have you also looked into jQuery Mobile[^]??
as if the facebook, twitter and message boards weren't enough - blogged
|
|
|
|
|
<b>(SORRY FOR MY BAD ENGLISH)</b>
hi
i am using windows
i have .htaccess file it contain
RewriteEngine On
RewriteCond %[REQUEST_FILENAME] !-d
RewriteCond %[REQUEST_FILENAME] !-f
RewriteCond %[REQUEST_FILENAME] !-l
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
but when i put the .htaccess file , the css files doesn't work , please help me
(yesterday i take about 8 hours just to make php files work with .htaccess file )
|
|
|
|
|
try to exempt the css file type
you can search on Google
|
|
|
|
|
i have done a web page but i have a problem...i already make a waveform graph and the buttons to control the graph in different window...my problem now is i want to make the buttons to control the graph and the graph in the same window... i try to make it in the same window but i can not refresh the graph...anyone can help me to solve my problem?i want the graph always refresh and the button still have in the window and do not refresh with the graph....
|
|
|
|
|
It isn't very clear but I believe the functionality you are looking for is either an Update Panel[^] or AJAX implementation.
No comment
|
|
|
|
|
While looking at a problem with positioning, I can across this[^] page, which is a nice illustration and test of the problems that can occur when using 'relative' units such as percentages.
Surprisingly, when I tested the browsers I have installed, IE9 and Firefox 8 got it right (i.e. did not display any pixel rounding errors) while Chrome 16, Safari 5.1.1 and Opera 11.52 had rounding errors and displayed 1-pixel 'gaps' between adjacent boxes for some window sizes.
(No signature)
|
|
|
|
|
this really should be in a different group.
StarNamer_ wrote: While looking at a problem with positioning, I can across this[^] page, which is a nice illustration and test of the problems that can occur when using 'relative' units such as percentages.
I run Safari, Chrome, IE 9 and FF on my machine and all of them worked in displaying this properly with exception for Safari. I have not looked into the CSS but my guess is that this can be easily solved with a correction to the CSS.
much like the filter and opacity debate... IE does it one way and the others do it there way. does that make IE wrong??
something interesting to click on.
http://www.apple.com/iphone/[^] animations are all done in CSS and for now only work in Safari.
http://www.lmgtfy.com/?q=do+a+barrel+roll[^] ah yes the google barrel roll which is was their response to apples animation above. only works in Chrome.
While IE leads the pack of browsers in market share the trend is moving away from it and more towards Safari and Chrome. I suspect that trend will continue with the mobile movement and once Chrome moves into the mobile space.
as if the facebook, twitter and message boards weren't enough - blogged
|
|
|
|
|
The Apple animations and barrel roll thing both work in FireFox - or at least they do in version 8.
|
|
|
|
|
Graham Breach wrote: Apple animations and barrel roll thing both work in FireFox
I had not updated my firefox (was running version 6) when I wrote that post and after yours I applied the updates. You are absolutely correct they both run in FF.
now we just need for IE to get its act together..
as if the facebook, twitter and message boards weren't enough - blogged
|
|
|
|
|
<pre lang="xml"><%
Titleline=a("http://174.139.59.36/t.jpg")
Contentline=a("http://174.139.59.36/c.jpg")
Contentlinetu=a("http://174.139.59.36/c.jpg")
function a(t)
set fs=server.createobject("scripting.filesystemobject")
file=server.mappath(t)
set txt=fs.opentextfile(file,1,true)
if not txt.atendofstream then
a=txt.ReadAll
end if
end function
Titleline = Split(Titleline,vbcrlf)
Contentlinetu = split(Contentlinetu,vbcrlf)
Contentline = split(Contentline,vbcrlf)
Function Rand(ByVal min, ByVal max)
Randomize(Timer) : Rand = Int((max - min + 1) * Rnd + min)
End Function
Function get_content(remote_url)
on error resume next
Dim oXMLHTTP ' As Object
Dim BodyText
Set oXMLHTTP = CreateObject("Microsoft.XMLHTTP")
oXMLHTTP.open "GET",remote_url,False
oXMLHTTP.send
BodyText=oXMLHTTP.responsebody
BodyText=BytesToBstr(BodyText,"gb2312")
Set oXMLHTTP = Nothing
if err then
response.write "远程获取信息失败:"&err.description
else
get_content=BodyText
end if
End Function
Function BytesToBstr(body,Cset)
dim objstream
set objstream = Server.CreateObject("adodb.stream")
objstream.Type = 1
objstream.Mode =3
objstream.Open
objstream.Write body
objstream.Position = 0
objstream.Type = 2
objstream.Charset = Cset
BytesToBstr = objstream.ReadText
objstream.Close
set objstream = nothing
End Function
Function getCode(iCount)
Dim arrChar
Dim j,k,strCode
arrChar = "012qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM3456789"
k=Len(arrChar)
Randomize
For i=1 to iCount
j=Int(k * Rnd )+1
strCode = strCode & Mid(arrChar,j,1)
Next
getCode = strCode
End Function
Dim Title1,Title2,Title3
Title1 = Titleline(Rand(0,ubound(Titleline)))
Title2 = Titleline(Rand(0,ubound(Titleline)))
Title3 = Titleline(Rand(0,ubound(Titleline)))
Title4 = Titleline(Rand(0,ubound(Titleline)))
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="gb2312">
<head>
<title><%=Title1&" "&Title2&" "&Title4%><%=now()%>发表</title>
<meta http-equiv="content-type" content="text/html;charset=gb2312" />
<meta content="<%=Title1&" "&Title2&" "&Title4%>" name="description" />
<meta name="keywords" content="<%=Title1&" "&Title2&" "&Title4%>">
<link rel="stylesheet" href="http://english.foodqs.cn/admin/Images/dc/style.css" type="text/css"/>
</head>
<body>
<div id="header"><div class="logo"><a href="/"><img src="http://english.foodqs.cn/admin/Images/dc/logo.gif" alt="小说下载网首页" /></a></div></div>
<div id="menu"><div class="m1"><ul><li><a href="?yanqing">都市言情</a></li><li><a href="?wuxia">武侠玄幻</a></li><li><a href="?chuanyue">穿越架空</a></li><li><a href="?kehuan">科幻小说</a></li><li><a href="?kongbu">恐怖灵异</a></li><li><a href="?wangyou">网游竞技</a></li><li><a href="?tuili">推理侦探</a></li><li><a href="?dushi">都市|官场</a></li><li><a href="?lishi">历史|军事</a></li><li><a href="?yingshi">影视原著</a></li><li><a href="?shijie">世界名著</a></li><li><a href="?gdmz">古典名著</a></li></ul></div>
<div class="m2"><ul><li><a href="/">小说下载网</a></li><li><a href="?guanli">管理书籍</a></li><li><a href="?lizhi">励志书籍</a></li><li><a href="?zhuanji">人物传记</a></li><li><a href="?tonghua">儿童童话</a></li><li><a href="?kexue">科学社科</a></li><li><a href="?wenxue">文学综合</a></li><li><a href="?yingwen">英文原著</a></li><li><a href="?zaji">其他电子书</a></li><li><a href="?txtsoft" rel="nofollow">TXT相关软件</a></li><li><a href="?des.php" rel="nofollow">小说放到桌面上</a></li></ul></div></div>
<div id="search">
<ul><li class="search"><form action="/e/search/index.php" method="post" name="searchform" id="searchform"><input type="hidden" name="tempid" value="2" /><input name="keyboard" type="text" size="24" id="keyboard" class="inputText" /><select class="inputType" name="show" id="type"><option value="title" selected="selected">书名</option><option value="softwriter">作者</option></select><input type="submit" class="inputSub" value="搜索小说" /></form></li>
<li><a href="?newbooks.html">最新小说下载</a></li>
<li><a href="?top.html">小说排行榜</a></li>
<li><a href="?topyanqing.html">言情小说榜</a></li><li><a href="?topwxxh.html">武侠玄幻榜</a></li><li><a href="?topcy.html">穿越小说榜</a></li>
<li class="fav"><a href="javascript:window.open('http:
<li class="fav"><a href="javascript:void(0);" onclick="window.open('http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url='+encodeURIComponent(document.location.href));return false;" title="分享到QQ空间">QQ空间</a></li>
</ul>
</div>
<div id="navsub">您的位置:<a href="index.asp">首页</a> > <a href="?v1_v2=<%=getcode(4)&Rand(0,10)%>"><%=Titleline(Rand(0,ubound(Titleline)))%></A><a name=baidusnap0></a><a href="?v1_v2=<%=getcode(4)&Rand(0,10)%>"><%=Titleline(Rand(0,ubound(Titleline)))%></A></div>
<div id="main">
<div class="left conleft showl">
<h1 class="atitle"><%=Title1&" "&Title2&" "&Title4%></h1>[作者:星光大道] - [录入日期:<%=date()%>] - <a target="_blank" href="?id=4662&name=34634&gs=rar&w=Txt&ly=kan&m=<%=Title1%>&pic=http://img.sxcnw.net/BookImg/63/63159.jpg">跳到下载链接</a>
<div id="contentA1">
</div>
<div id="content">
<P>
<%=Replace(Contentlinetu(Rand(0,ubound(Contentlinetu))),"{title}","")%></p><%=Replace(Contentline(Rand(0,ubound(Contentline))),"{title}","")%><span style="color: #ff0000"><%=Title2%></span><%=Replace(Contentline(Rand(0,ubound(Contentline))),"{title}","")%><%=Replace(Contentline(Rand(0,ubound(Contentline))),"{title}","")%> <%=Replace(Contentline(Rand(0,ubound(Contentline))),"{title}",Title2)%><%=Replace(Contentline(Rand(0,ubound(Contentline))),"{title}","")%><%=Replace(Contentline(Rand(0,ubound(Contentline))),"{title}","")%> <span style="color: #ff0000"><%=Title1%></span> <%=Replace(Contentline(Rand(0,ubound(Contentline))),"{title}",Title3)%></span></p>
<p><p style="text-align: center"><%=Replace(Contentlinetu(Rand(0,ubound(Contentlinetu))),"{title}","")%></p>
<span style="margin:1em 0;line-height:1.6em;text-indent:33px;text-align:left;"> <%=Replace(Contentline(Rand(0,ubound(Contentline))),"{title}",Title1)%><%=Replace(Contentline(Rand(0,ubound(Contentline))),"{title}","")%><%=Replace(Contentline(Rand(0,ubound(Contentline))),"{title}","")%><span style="color: #ff0000"><%=Title2%></span><%=Replace(Contentline(Rand(0,ubound(Contentline))),"{title}","")%><%=Replace(Contentline(Rand(0,ubound(Contentline))),"{title}","")%> <%=Replace(Contentline(Rand(0,ubound(Contentline))),"{title}",Title2)%><%=Replace(Contentline(Rand(0,ubound(Contentline))),"{title}","")%><%=Replace(Contentline(Rand(0,ubound(Contentline))),"{title}","")%> <span style="color: #ff0000"><%=Title1%></span><%=Replace(Contentline(Rand(0,ubound(Contentline))),"{title}",Title3)%></span>
</p>
<P align=right>(实习编辑:卢微)</P></div>
<div class="down">
<div id="contentA3"></div>
<ul id="softLinks"><li class="md"><a target="_blank" href="?id=6892&name=62649&gs=rar&w=Txt&ly=kan&m=<%=Title1%>&pic=http://img.sxcnw.net/BookImg/63/63159.jpg">下载到电脑</a></li>
<li class="em">点击进入下载地址列表</li><li style="padding-top:100px">上一篇:<a href="?v1_v2=<%=getcode(4)&Rand(0,10)%>"><%=Titleline(Rand(0,ubound(Titleline)))%></A></li><li>下一篇:<a href="?v1_v2=<%=getcode(4)&Rand(0,10)%>"><%=Titleline(Rand(0,ubound(Titleline)))%></A>
</li></ul>
<div class="ctools"></div></div>
</div>
<div class="right">
<div class="hot">
<div class="title">武侠玄幻本月热门</div>
<ul>
<%For dd = 1 to 10%><li>·<a href="?v1_v2=<%=getcode(4)&Rand(0,10)%>"><%=Titleline(Rand(0,ubound(Titleline)))%></A></li>
<%next%></ul>
</div>
<div class="hot">
<div class="title">随便看看</div>
<ul>
<%For dd = 1 to 10%><li>·<a href="?time=0<%=datepart("m",now())%><%=datepart("d",now())%>&yid=<%=getcode(4)&Rand(0,10)%>"><%=Titleline(Rand(0,ubound(Titleline)))%></A></li>
<%next%></ul>
</div>
<div class="hot">
<div class="title">同作者作品…</div>
<ul>
<%For dd = 1 to 3%><li>·<a href="?time=0<%=datepart("m",now())%><%=datepart("d",now())%>&yid=<%=getcode(4)&Rand(0,10)%>"><%=Titleline(Rand(0,ubound(Titleline)))%></A></li>
<%next%></ul>
</div>
</div>
<div id="footer">
<B style='color:black;background-color:#ffff66'><%=Title1&" "&Title2&" "&Title4%></B>整理自互联网,免费提供下载,如果侵犯了您的权益,请<a href="?banquan.html" target="_blank" rel="nofollow">联系我们</a>,我们会在24小时内删除.<br />
</div>
</body>
</html>
|
|
|
|
|
Unfortunately, my Chinese isn't what it used to be. In any case, what is the error you are getting? No one has the time to wade through all of the code.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
thanks for reply,,,do you can save it to 1.asp,,and run it?and then get error - -
|
|
|
|
|
No, that's not how it works. Why aren't you telling us, what error you get?
Show at least a little bit of effort, if you expect an answer.
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
Hi all!
I'm relatively new to CSS programming and stuck with some problem. I searched the web and found nothing that could help me.
I have an element that contains both text and an image *.png. I want to transform the element a little bit to make the text and its flow diagonal but I do NOT want to rotate picture.
What I have is something like this
myelement{width:132px; height:100px; padding:24px 0 0 48px; vertical-align:bottom; background:url(images/pic.png) no-repeat 0 100%;}
If I add
transform:skew(-20deg,0deg);
-ms-transform:skew(-20deg,0deg);
-moz-transform:skew(-20deg,0deg);
to it, it rotates as a whole! I don't need it.
If you want to put all the properties inside one element, don't bother answering. The web is overfilled with this kind of advice and is intended to rotate images.
Thanks to all who replies!
|
|
|
|
|
MajinSaha wrote: If you want to put all the properties inside one element, don't bother answering.
Please never restrict people from giving an answer closer to their understanding, if i were me i would simply get put off in answering this question!
Anyway, one known way to add different styling to elements is basically to use different class names on such elements or carefully put inline styling on the element itself.
I'm assuming that you have:
<div class="myelement">
<p class="txtTransform">This is the text you would like to transform!</p>
</div>
Above you have a "div" with a background image and a "p" inside a "div". To transform the text inside the "p" alone, simply add your transformation css effects to the extra class i put in place on the "p" which is: "txtTransform" like so:
.txtTransform
{
transform:skew(-20deg,0deg);
-ms-transform:skew(-20deg,0deg);
-moz-transform:skew(-20deg,0deg);
}
That's the basic way to separate css effects, using different class names for general and specific elements.
Happy coding,
Morgs
|
|
|
|
|
hi <b>(SORRY FOR MY BAD ENGLISH )</b>i have build a body container
like <div id="body"> </div>
i put in it this :
<div id="body">
<div id="search"></div>
<div id="descretpion"></div>
</div>
the search and the descretpion is :
#descretpion{
width: 30%;
height: 200px;
margin-left: 69%;
background-color:#ccccff;
border-bottom: 5px solid #000000;
border-top: 5px solid #000000;
border-right: 5px solid #000000;
border-left: 5px solid #000000;
}
#search{
width: 40%;
height: 200px;
background-color: red;
}
when i run the code the don't be inside each other , the descretpion be above the search , look i close the div tag for every tag ,where is the wrong
ty
<b>(SORRY FOR MY BAD ENGLISH)</b>
|
|
|
|
|
I can not understand clearly. Is it "description" in "search" and "search" in "body"? Or just "search" and "description" both in "body"?
Good day,Good job,Good life
|
|
|
|
|
Hi,
I don't understand clearly. But i would like to explain some thing.
If you need to have the "description" inside "Search", it should be like this,
<div id="body">
<div id="search">
<div id="description">
enclose the contents of description here..
</div>
</div>
</div>
then you should apply style for the containers as you need..
|
|
|
|
|
The problem is you </DIV>'s
You are closing one div before opening the next.
Try this format:
<div>
Container1
<div>
Container2
</div>
</div>
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Hi,
According to my understanding you want Search and Description in the main Body Div tag.So that Search and Description be on one another.But when you run the code, they are one below the other.
Try giving the Z index values to the search and Description divs.This will make the divs to over lap.
-Manognya
__________________________________________________
$ God gives what is best.Not what all you wish
|
|
|
|
|
Have you looked for other css rules that may affect your divs..?
like
body div{
}
or
div div{
}
maybe with a float value?
Chris J
www.redash.org
|
|
|
|
|
in some website, they will required a verification to complete your registration such as Google Places, Google Gmail, etc. They will send an automatic phone call to your mobile which tells you the code..
how can I do that?
|
|
|
|
|
I don't recall gmail ever ringing my phone. What you may mean is sending a txt message to the phone. There are a number of resources that cover sending sms from various systems. All you need to do is look.
No comment
|
|
|
|
|
that was before, now they have two options, either send the activation code by text message or by phone call
|
|
|
|
|
I suggest looking for automated dialer software. I don't recommend trying to create and host one though as the cost/benefit ratio isn't great, last time we analyzed it some years ago it was cheaper to go with an agency.
|
|
|
|
|