Forums / Setup & design / ezscript_require external resource? / Comment66704
Marko Žmak
Friday 18 March 2011 2:48:43 am
I had the same problem for my Google Custom Search Engine usage : http://recherche.fedora-fr.org/
I have used jquery for that :
$("head").prepend($('<link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />') );
Why did you use jquery for that?
You could have just put:
<link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
in yout HTML without any procesing by eZP.
-- Nothing is impossible. Not if you can imagine it! Hubert Farnsworth