Welcome Guest [Log In] [Register]
Viewing Single Post From: Add Quick Search Anywhere
Eureka
Member
[ *  *  * ]
Try this:
Quote:
 

<script>
/* Quick Search in Submenu by Eureka of TCZ [thecodingzone.com] */
var _txtCol = "white";
// submenu img may be too small (height-wise)...this should fix that if it is too small
$(function(){$("#submenu").css("height","1.5em").prepend("<span style='color:"+_txtCol+";text-align:left;float:left;'>Quick Search: <form method='post' action='"+main_url+"search/?c=1'><input type='text' size='20' value='' name='q' /></form></span>");});
</script>


I can't guarantee it'll work. I made this on the spot. :P The _txtCol changes the "Quick Search:" text color.
Edited by Eureka, Dec 15 2007, 07:25 PM.
Offline Profile Quote Post
Add Quick Search Anywhere · User Created Codes