码迷,mamicode.com
首页 >  
搜索关键字:attribute    ( 4018个结果
[Fatal Error] :3:13: Open quote is expected for attribute "{1}" associated with an element type "id".
用DOM解析XML时出现了如下错误:[Fatal Error] :3:13: Open quote is expected for attribute "{1}" associated with an element type "id".org.xml.sax.SAXParseException: ...
分类:其他好文   时间:2015-08-28 23:10:36    阅读次数:173
struts
1.According to TLD or attribute directive in tag file, attribute value does not accept any expressionsStruts2标签不支持EL表达式就会导致上面的错误而改为就没有没问题
分类:其他好文   时间:2015-08-28 21:08:18    阅读次数:181
UIlabel设置不同的颜色
NSString *string = @"注册过程中出现问题,致电400-650-5167联系会养车工作人员";NSRange range = [string rangeOfString: @"400-650-5167"];NSMutableAttributedString *attribute =...
分类:其他好文   时间:2015-08-28 00:35:04    阅读次数:192
DOM中 property 和 attribute 详解
被问到property 和 attribute 的区别,想来也是要好好看一下。一、基本概念区别其实Attribute和Property这两个单词,翻译出来都是“属性”,《js高级程序设计》书中翻译为“特性”和“属性”,以示区别。从而我们也可以顾名思义特性vs属性(当然平时也可以简单的说两者都是属性)...
分类:其他好文   时间:2015-08-28 00:32:50    阅读次数:220
How to read the HTML DTD
ContentsHow to read the HTML DTD1. DTD Comments2. Parameter Entity definitions3. Element declarations . Content model definitions4. Attribute decla...
分类:Web程序   时间:2015-08-27 20:55:09    阅读次数:167
jquery性能优化
一、选择合适的选择器1.$("#id")是最佳的性能方式,直接调用document.getElementById()。2.其次使用$("element")标签选择器。3.再其次选择$(".class")类选择器。4.$("[attribute=value]")属性选择和$(":hidden")伪类选...
分类:Web程序   时间:2015-08-27 10:44:55    阅读次数:117
使用xib给label等文字显示控件添加attributed属性
如题,之前没注意过这个xib这个属性,可能很多小伙伴也没注意,下面为大家介绍一下xib这个逆天的操作。比起手动加attribute,简直简单粗暴。下面进入正题:首先 你需要一个xib 在上边添加个label之类用于显示文本的控件创建好之后,注意右边栏选中第四栏,会发现label有个text的下拉框,...
分类:其他好文   时间:2015-08-26 23:58:20    阅读次数:305
anroid OpenGL ES之 向shader传递数据
void glUseProgram( int program );glUseProgram()真正载入着色器程序到我们的程序中在这之后我们就可以向shader中传递数据了int glGetAttribLocation( int program, String name );向shader中的Attribute变量或者Uniform变量传递数据,首先要知道其在内存中的位置。glGetAttribLoc...
分类:其他好文   时间:2015-08-26 10:48:31    阅读次数:153
cocos2dx3.X shader使图片置灰
1 OpenGL ES着色器 opengl es的着色器有.fsh和.vsh两个文件。这两个文件在被编译和链接后就可以产生可执行程序与GPU交互。attribute是从外部传进来的,每一个顶点都会有这两个属性,所以它也叫做vertex attribute(顶点属性)。而varying类型的变量是在vertex shader和fragment shader之间传递数据用的。 .vsh 是 ver...
分类:其他好文   时间:2015-08-26 01:51:04    阅读次数:358
vivado debug
VHDL : signal wv_data_flash : std_logic_vector(63 downto 0) ; attribute mark_debug: string attribute mark_debug of wv_data_flash : s...
分类:其他好文   时间:2015-08-25 13:19:18    阅读次数:472
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!