SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Apr 2005
    Posts
    210
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need a bit of help

    I'm not sure how I can make this a drop down (I kind of do, but it doesn't work) and retain the functionality:

    Code:
    <div id="searchform-container">
    		
    			<div class="searchform">
        	
        			<div class="search-choices"><input type="radio" onclick="eng = this.value;" checked name="sengines" value="http://domain.tld/addressbook/search.php?goTo=" />Phone List</div>
        			
        			<div class="search-choices"><input type="radio" onclick="eng = this.value;" name="sengines" value="http://domain.tld/?s=" />Site</div>
        			
        			<div style="clear:both;"></div>
    				
    				<input type="text" id="searchterms"><input type="button" value="Search" onload="" onclick="window.location = eng + escape(document.getElementById('searchterms').value); return false;">
    	
    			</div>
    		
    		</div><!-- searchform-container -->
    If someone can point me in the right direction or help, that would be great! Thanks in advance!

  2. #2
    SitePoint Evangelist bals28mjk's Avatar
    Join Date
    Aug 2007
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you specify a bit more?

  3. #3
    SitePoint Addict
    Join Date
    Apr 2005
    Posts
    210
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Greetings! Actually I manage to find a thread with what I'm looking for:

    http://www.sitepoint.com/forums/show...n+search+sites

    Thanks!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •