DuaccawlTax
New Member
Hi I'm trying to import jQuery mobile JS in to my ZEND project but is not working. solved ***If I do this (import a general style sheet that I wrote):\[code\]<link rel="stylesheet" href="http://www.mysite.com/zend/service/css/general_style.css"/> \[/code\]the style is loaded and works fine, but if I do the same thing whit the jQuery style file:\[code\]<link rel="stylesheet" href="http://www.mysite.com/zend/service/css/jquery.mobile-1.0rc2.min.css"/> \[/code\]The style will not be imported.This is what will work:\[code\]<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0rc2/jquery.mobile-1.0rc2.min.css" />\[/code\]but i like the files to be store in my local folder. SOLUTION: echo $this->headLink()->appendStylesheet($this->baseUrl().'/css/jquery.mobile-1.0rc2.css'); **Same thing for the JS files: (not working).\[code\] echo $this->headScript()->appendFile($this->baseUrl().'/js/jquery.mobile-1.0rc2.min.js','text/javascript');\[/code\]What am I doing wrong?Thanks!