google search

Installatie lukt niet? Plotseling een foutmelding. Of weet je niet hoe iets werkt. Problemen met phpBB2 kun je in dit archief opzoeken.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
funnyman
Berichten: 230
Lid geworden op: 08 nov 2004, 11:34
Locatie: Emmen
Contacteer:

google search

Bericht door funnyman » 25 apr 2005, 15:11

hallo, ik ben bezig mijn eigen overal_header te maken, het lukt al aardig, ik krijg alleen niet mijn google search aan de praat...

hier is het benodigde script:

Code: Selecteer alles

<script type="text/javascript"> 
<!-- 
function checkSearch() 
{ 
   if (document.form_search.search_engine.value == 'google') 
   { 
      window.open('http://www.google.com/search?q=' + document.form_search.search_keywords.value, '_google', ''); 
      return false; 
   } 

   return true; 
} 
//--> 
</script> 
</head> 

<body link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<a name="top"></a>
	<table class="mainwindow" height="100%" width="100%" cellspacing="0" cellpadding="0">
	 <tr>
		<td>
		<table width="100%" height="100%" cellpadding="0" cellspacing="0">
		 <tr>
			<td valign="top" height="100%">
			<table width="100%" cellspacing="0" cellpadding="0">
			 <tr>
				<td class="title"><table width="100%" height="100%" cellpadding="0" cellspacing="0"><tr>
				<td valign="top">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
					 <tr>
						<td width="25%" align="right">
						       <form name="form_search" action="search.php?sid=f795f84be78e497cbf339455fc3be652" method="post">
							<table border="0" cellspacing="0" cellpadding="0">
              						 <tr>
                						<td><img src="./templates/alexisOrange/images/search_left.gif" width="15" height="30"></td>
						                <td align="center" width="100%" class="toplist2" background="./templates/alexisOrange/images/search_back.gif">
									Forum Search
								</td>
                						<td align="right"><img src="./templates/alexisOrange/images/search_back.gif" height="30"></td>
        							<td align="right"><img src="./templates/alexisOrange/images/search_right_up.gif" height="30"></td>
              						 </tr>
              						 <tr>
                						<td><img src="./templates/alexisOrange/images/search_left.gif" width="15" height="30"></td>
                						<td align="center" width="100%" class="toplist2" background="./templates/alexisOrange/images/search_back.gif">
            								&nbsp;<input class="gensmall" type="text" name="search_keywords" size="20" />&nbsp;&nbsp;&nbsp;<input type="submit" class="liteoption" value="OK" onclick="return checkSearch()" />&nbsp;
								</td>
                						<td align="right"><img src="./templates/alexisOrange/images/search_back.gif" height="30"></td>
        							<td align="right"><img src="./templates/alexisOrange/images/search_right.gif" height="30"></td>
             						 </tr>
							</table>
						       </form>
						</td>
						<td width="46%" align="center" valign="bottom"><a href="./profile.php?mode=register"><img src="./images/logo.gif" border="0"></a></td>
						<td width="25%" align="right">
						       <form name="form_search" action="search.php?sid=f795f84be78e497cbf339455fc3be652" method="post">
							<table border="0" cellspacing="0" cellpadding="0">
              						 <tr>
                						<td><img src="./templates/alexisOrange/images/google_left_up.gif" width="15" height="30"></td>
                						<td align="center" width="100%" class="toplist2" background="./templates/alexisOrange/images/google_back.gif">
       									Google Search
								</td>
                						<td align="right"><img src="./templates/alexisOrange/images/search_back.gif" height="30"></td>
        							<td align="right"><img src="./templates/alexisOrange/images/google_right.gif" height="30"></td>
              						 </tr>
              						 <tr>
                						<td><img src="./templates/alexisOrange/images/google_left.gif" width="15" height="30"></td>
                						<td align="center" width="100%" class="toplist2" background="./templates/alexisOrange/images/google_back.gif">
            								&nbsp;&nbsp;<input class="gensmall" type="text" name="search_keywords" size="20" />&nbsp;&nbsp;&nbsp;<input type="hidden" value="google" /><input type="submit" class="liteoption" value="OK" onclick="return checkSearch()" />&nbsp;
            							</td>
                						<td align="right"><img src="./templates/alexisOrange/images/google_back.gif" height="30"></td>
        							<td align="right"><img src="./templates/alexisOrange/images/google_right.gif" height="30"></td>
              						 </tr>
							</table>
						       </form>
					 </tr>
					</table>
				</td>
			 </tr>
			</table>
			</td>
		 </tr>
alvast bedankt :thumb:
In progress: Stappen in Emmen

Gesloten