我有$('.element').css("color","yellow")
,我需要下一个事件只在这之后,看起来$('.element').css("color","yellow",function(){ alert(1); })
我需要这个因为:
$('.element').css("color","yellow");
alert(1);
Run Code Online (Sandbox Code Playgroud)
事件几乎都在一次发生,这一刻调用动画效果中的bug(例如,alert(1)就在这里,在实际模块中它是动画)
我不能创建另一个父div容器,它可能只使用css技巧?box-shadow:7px 7px 7px黑色; 只会从右边框和下边框创建阴影,但我也需要左边和顶边.
我已经用了很多插件,如curvycorners
,DD_roundies
,behavior: url(ie-css3.htc);
,但它不能很好地工作,所以没有人知道任何其他招数我都可以成为圆角的IE浏览器?我的网站是可调整大小的(口香糖),元素的颜色正在动态变化,所以我无法绘制图像.
我已将<li>
标签设置在列表中,以便在悬停时具有投影.然而,对于除了最后一个之外的所有<li>
,阴影被下一个<li>
元素部分隐藏.看看我的例子JSFiddle:
- http://jsfiddle.net/Stasonix/B9gn2/
Run Code Online (Sandbox Code Playgroud)
我需要阴影出现在兄弟姐妹<li>
的上面,就像最后一个<li>
已经做的那样.我怎样才能做到这一点?
我使用了 TStringList 和类似的东西:
geo: TStringList;
response: TStringStream;
begin
http:=tidhttp.Create(nil);
try
{ TODO -oUser -cConsole Main : Insert code here }
geo:=TStringList.Create;
response:=TStringStream.Create('');
geo.Add('name=stas');
geo.Add('pass=431');
s:=http.Get('http://test.me');
writeln(http.ResponseText);
writeln(s);
s:=http.Post('http://test.me',geo,response);
Run Code Online (Sandbox Code Playgroud)
但有些不对劲。例如,当我运行它时,它会发出警报并[[DCC Error] consoleHttp.dpr(29): E2010 Incompatible types: 'string' and 'procedure, untyped pointer or untyped parameter']
显示s:=http.Post('http://test.me',geo,response)
. 我做错了什么?
css ×4
css3 ×2
jquery ×2
styles ×2
console ×1
curvycorners ×1
delphi ×1
html ×1
indy ×1
javascript ×1