This topic is locked

AJAX wanted to show details but not in searchbox on list page

5/29/2007 5:12:50 AM
PHPRunner General questions
Pfeiffer author

Hello support,
how can I change the template to achieve the following
a) alwas show detail window when mouse in over a link in table view

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=5351&image=1&table=forumtopics' class='bbc_emoticon' alt='B)' /> never to show AJAX on list page in Search field...
best regards
uwe Pfeiffer

J
Jane 5/29/2007

Uwe,
just turn on HTML mode on the Visual Editor tab, then find this code:

<INPUT id=ctlSearchFor {if $useAJAX} autocomplete="off" onkeydown="return listenEvent(event,this,'ordinary');" onkeyup="searchSuggest(event,this,'ordinary');" {else} onkeydown="e=event; if(!e) e = window.event; if (e.keyCode != 13) return true; e.cancel = true; RunSearch(); return false;" {/if} {$search_searchfor}>

and replace it with this one:

<input type=text size=20 onkeydown="e=event; if(!e) e = window.event; if (e.keyCode != 13) return true; e.cancel = true; RunSearch(); return false;"

id="ctlSearchFor" {$search_searchfor}>