Ignore:
Timestamp:
Jan 18, 2014, 2:21:57 PM (10 years ago)
Author:
Miklfe
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Slide/template/menubar.tpl

    r23932 r26858  
    2222
    2323                                <div id="search">
    24                                         <form id="quicksearch" onsubmit="return f()"; return false;>
     24                                        <form id="quicksearch">
    2525                                                <p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}>
    26                                                         <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" />
     26                                                        <input type="text" name="q" id="qsearchInput" />
    2727                                                        <input type="submit" value=" " id="submitSearch" />     
    2828                                                </p>
     
    3333                </div>
    3434
    35 {footer_script}{literal}
    36 
    37 
    38 function f()
    39 {
    40         var obj = document.getElementById("qsearchInput");
    41         var x='qsearch.php?q='+obj.value;
    42         $.pageslide({ direction: 'left', href:x ,speed:2000});
    43         document.getElementById('qsearchInput').value=qsearch_prompt;
    44         return false;
    45 }
    46 
    47 {/literal}{/footer_script}
Note: See TracChangeset for help on using the changeset viewer.