|
swampwiz wrote: So the app I will be developing will be GUI rich, with lots of dialogs (it seems that I would need to do something different than dialogs, although maybe I can use Javascript to make such dialogs?)
I am going to self promote.
jQuery UI Alerts Dialog using ThemeRollers[^]
Also take a look at Dialogs for jQuery[^].
as if the facebook, twitter and message boards weren't enough - blogged
|
|
|
|
|
I have asked this question on the wrong forum(The Lounge) I think im on the correct forum.
Is it possible to get original links after using of a proxy server page?
let me show an example: for example we have two sites
Orginal site :www.123.com
proxy server is :www.proxy.com
after using proxy server we don't have original links and we have links of proxy server in the content of a page.
thanks
|
|
|
|
|
|
|
can you please tell me how to nest another webgrid in for my list of children? i found some c# examples but I wasn't able to get it working in my app (vb)
the code shows a table that i created with both parent and child rows, and then under the table, i have my attempt at a webgrid for just the parents.
@ModelType MyBusinessObject.ListSystemandSubSystems
@Code
Layout = "~/Views/Shared/_Layout.vbhtml"
End Code
<!DOCTYPE html>
<html>
<head runat="server">
<title>index</title>
</head>
<body>
<p>
@Html.ActionLink("Create New", "Create")
</p>
<table>
<tr>
<th>
SystemName
</th>
<th>
SystemDescription
</th>
<th>
SystemLocation
</th>
<th>
SystemIP
</th>
<th>
SubSystemName
</th>
<th>
SubSystemDescription
</th>
<th>
SubSystemIPAddress
</th>
</tr>
@For Each item In Model.AllSystems
Dim currentItem = item.MySystem
@<tr>
<td>
@Html.DisplayFor(Function(modelItem) currentItem.SystemName)
</td>
<td>
@Html.DisplayFor(Function(modelItem) currentItem.SystemDescription)
</td>
<td>
@Html.DisplayFor(Function(modelItem) currentItem.SystemLocation)
</td>
<td>
@Html.DisplayFor(Function(modelItem) currentItem.SystemIP)
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
@*@Html.ActionLink("Edit", "Edit", New With {.id = currentItem.PrimaryKey}) |
@Html.ActionLink("Details", "Details", New With {.id = currentItem.PrimaryKey}) |
@Html.ActionLink("Delete", "Delete", New With {.id = currentItem.PrimaryKey})*@
</td>
</tr>
For Each subsystem In currentItem.SubSystems
Dim currentsubSys = subsystem
@<tr>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
@Html.DisplayFor(Function(modelItem) currentsubSys.Name)
</td>
<td>
@Html.DisplayFor(Function(modelItem) currentsubSys.Description)
</td>
<td>
@Html.DisplayFor(Function(modelItem) currentsubSys.IP)
</td>
</tr>
Next
Next
</table>
@Code
Dim Grid = New WebGrid(source:=Me.Model.AllSystems., defaultSort:="CreatedDateTime", rowsPerPage:=10
Grid.SortDirection = SortDirection.Descending
End Code
@Grid.GetHtml(tableStyle:="gridStyle", headerStyle:="headStyle", alternatingRowStyle:="alt", firstText:="<< first", previousText:="< previous", nextText:="next >", lastText:="last >>", mode:=WebGridPagerModes.All, columns:=Grid.Columns(
Grid.Column("MySystem.SystemName", header:="SystemName Id"),
Grid.Column("MySystem.SystemDescription", header:="Description"),
Grid.Column("MySystem.SystemIP", header:="SystemIP"),
Grid.Column("MySystem.systemLocation", header:="SystemLocation"),
Grid.Column("MySystem.SystemDescription", header:="SystemDescription")))
</body>
</html>
|
|
|
|
|
Anybody used (or are using) the 'Mobile Ready HTML5 MVC[^]' template from the visual studio gallery?
Just wondering, if there are any gotchas to be aware of. Thought about taking it for a spin.
|
|
|
|
|
|
Yes I was looking at their site yesterday and watching the video. I take it you are using it then?
|
|
|
|
|
DaveAuld wrote: I take it you are using it then?
I have been playing with it, which is usually how it works. In my free-time I play with things like this so that when the requirement comes up I can speak about it with some confidence.
one of my other side projects is Node.js[^]. I have some stuff that I would like to try html5, mobile and node.js on my own.
when I was a kid I had Tonka trucks... today I have my programming skills.
as if the facebook, twitter and message boards weren't enough - blogged
|
|
|
|
|
so how are you finding it? pain free (boilerplate and/or node)?
|
|
|
|
|
boilerplate is lacking (so you have to add) 960.gs[^] which for me is really important it.
node so far has been pretty kewl but I have only started to scratch the surface with it. I do like the whole idea behind it though.
as if the facebook, twitter and message boards weren't enough - blogged
|
|
|
|
|
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!
|
|
|
|
|