Zend Framework appendFile not working after jQuery include
-
23-09-2019 - |
문제
I'm setting a local path for jQuery in my layout. Then adding another js file using appendFile, but it's not adding the file I'm appending.
in layout:
$jquery=$this->jQuery();
$jquery->enable(); // enable jQuery Core Library
$jquery->setLocalPath($this->baseUrl().'/js/jquery-1.3.2.min.js');
echo $jquery;
echo $this->headScript();
In my view:
$this->headScript()->appendFile($this->baseUrl().'/js/jquery.corner.js');
thanks for any help
올바른 솔루션이 없습니다
다른 팁
이 옵션을 사용하십시오 :
activity.class :
.
TextView text=(TextView)findViewById(R.id.text1);
Typeface tf = Typeface.createFromAsset(getAssets(), "fonts/gillsans.ttf");
text.setTypeface(tf);
////////////
Shader textShader=new LinearGradient(2, 0, 4, 60,
new int[]{Color.parseColor("#b4e391"),Color.parseColor("#61c419"),Color.parseColor("#b4e391")},
new float[]{0, 3,1}, TileMode.MIRROR);
text.getPaint().setShader(textShader);
main.xml :
. <TextView
android:id="@+id/text1"
android:gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:shadowDx="5"
android:shadowDy="5"
android:layout_marginRight="42dp"
android:layout_marginTop="-10dp"
android:layout_gravity="right|center_vertical"
android:shadowColor="#67587686"
android:shadowRadius="3"
android:textSize="25dp"
android:text="99%" />