HOW TO ADD GOOGLE CUSTOM SEARCH ENGINE


Author Message
Riz

Posted: 3/12/2011
Quote message 

Can anybody help me to solve this prob? I've created Google Custom Search Engine and want to place it at right side of Top Menu unfortunately after adding the code it wont appear. Anybody please tell me where to place the code.


Below are my template code :


b:section class='art-nav' id='navsection' maxwidgets='1' showaddelement='no'
b:widget id='LinkList99' locked='true' title='Top Menu' type='LinkList' b:includable id='main' div class='l'/ div class='r'/ ul class='art-menu'
script type='text/javascript'
b:loop values='data:links' var='link' menuitems.push(new Array('data:link.name/','data:link.target/')); /b:loop artDisplayTopMenu(menuitems);
/script
/ul /b:includable
/b:widget /b:section


and this is the code i wanted to add :


!-- Buttonless Google custom search box Start --
div class='cse' style='color:#000000;float:right;margin:6px 10px 0 0 ;' form action='http://www.google.com/cse' id='cse-search-box' input name='cx' type='hidden' value='partner-pub-4409159435154980:sle4z0smh1f'/ input name='q' onfocus='if(this.value==this.defaultValue) {this.value=""}' onblur='if(this.value=="" ) {this.value=this.defaultValue}' size='35' type='text' value='Type and hit enter to search'/ input name='ie' type='hidden' value='ISO-8859-1'/ /form /div !-- Buttonless Google custom search box End --


Thanks