Den 23-01-2010 12:38, Søren Thomsen skrev:
> "Martin Ploug"<mploug@pc.dk> skrev i en meddelelse
> news:4b5add61$0$275$14726298@news.sunsite.dk...
>> Den 23-01-2010 12:15, Søren Thomsen skrev:
>>> "Martin Ploug"<mploug@pc.dk> skrev i en meddelelse
>>> news:4b5ad959$0$274$14726298@news.sunsite.dk...
>>>> Den 23-01-2010 12:04, Søren Thomsen skrev:
>>>>> "Martin Ploug"<mploug@pc.dk> skrev i en meddelelse
>>>>> news:4b5ad078$0$274$14726298@news.sunsite.dk...
>>>>>> Den 23-01-2010 11:20, Søren Thomsen skrev:
>>>>>>> "Stig Johansen"<wopr.dk@gmail.com> skrev i en meddelelse
>>>>>>> news:4b5acbba$0$274$14726298@news.sunsite.dk...
>>>>>>>> Søren Thomsen wrote:
>>>>>>>>
>>>>>>>>> Hvordan får jeg så cursor til at være i det tomme felt ved side
>>>>>>>>> opstart.
>>>>>>>>> Så jeg ikke skal op og klikke inden jeg kan skrive mit søgeord ?
>>>>>>>>
>>>>>>>> Hvis du mener at feltet skal have fokus('cursor') ved opstart, så
>>>>>>>> skal
>>>>>>>> du
>>>>>>>> nok over i noget javascript.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Med venlig hilsen
>>>>>>>> Stig Johansen
>>>>>>>
>>>>>>> Hej.
>>>>>>> Hvad er fokus ? Mener bare at jeg gerne ville kunne starte med at
>>>>>>> skrive
>>>>>>> i
>>>>>>> søgefeltet, uden først at skulle klikke i det med musen.
>>>>>>> Søren
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> Hej Du kan f.eks. prøve at kigge på nedenstående links.
>>>>>>
>>>>>>
http://www.mediacollege.com/internet/javascript/form/focus.html
>>>>>>
>>>>>>
http://www.htmlshop.com/java/onload_focus_in_form.asp
>>>>>>
>>>>>> Mvh. Martin
>>>>>
>>>>> Tak..
>>>>>
>>>>> Ved bare stadig ikke hvad jeg skal gøre. Må nok opgive
>>>>>
>>>>> Søren
>>>>>
>>>>>
>>>> Hej Søren
>>>>
>>>> Kan du ikke poste scriptet til selve søgefunktionen eller
>>>> til siden, hvor søgefunktionen ligge på?
>>>> Så kan vi nok hurtigt finde ud af det.
>>>>
>>>> Mvh. Martin
>>>
>>> Hej.
>>>
>>> Kommer her..
>>> Nu vi er ved det.. Hvorfor skal man på nogle pcer, se siden i
>>> kompatibilitets tilstand, for at se siden rigtigt ?
>>>
>>>
www.vardeportalen.dk
>>>
>>>
>>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>>> "
http://www.w3.org/TR/html4/loose.dtd">
>>> <html>
>>> <head>
>>> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
>>> <title>Varde portalen .dk - din genvej til nettet. Varde.dk</title>
>>> <meta name="description" content="Varde portalen .dk - din genvej til
>>> nettet. Varde.dk">
>>> <meta name="keywords" content="varde, portalen, chat, dating, forum ,.dk,
>>> link, links, varde.dk">
>>> <!-- TradeDoubler site verification 1565625 -->
>>> <style type="text/css">
>>> <!--
>>> .style1 {
>>> color: #FFFFFF;
>>> font-weight: bold;
>>> font-size: larger;
>>> }
>>> body {
>>> background-color: #7AB0AF;
>>> margin-top: 12px;
>>> margin-bottom: 0px;
>>> background-image: url(img/bg.jpg);
>>> }
>>> a:link {
>>> color: #000000;
>>> text-decoration: none;
>>> }
>>> a:visited {
>>> text-decoration: none;
>>> color: #000000;
>>> }
>>> a:hover {
>>> text-decoration: underline;
>>> color: #666666;
>>> }
>>> a:active {
>>> text-decoration: none;
>>> }
>>> .style18 {
>>> color: #666666;
>>> font-size: 12px;
>>> }
>>> .style21 {font-size: small}
>>> .style22 {color: #000000}
>>> .style38 {color: #FFFFFF; font-size: 12px; }
>>> -->
>>> </style>
>>> </head>
>>>
>>> <body topmargin="0" style="background-color: #F7F8FA">
>>> <div align="center">
>>> <table width="979" height="617" border="0" cellspacing="0"
>>> bgcolor="#EDF9FB"
>>> class="style1">
>>> <tr>
>>> <td height="20" nowrap="nowrap" bgcolor="#000000"> <div
>>> align="right"><a href="#" class="style21"
>>> onclick="this.style.behavior='url
>>> (#default#homepage)';this.setHomePage('
http://www.vardeportalen.dk/');">
>>> class="style38">Gør siden til startside</span></a> </div> </tr>
>>> <tr valign="top">
>>> <td height="55"><table width="974" height="60" border="0"
>>> align="center">
>>> <tr>
>>> <td width="437" height="61" align="left" valign="top"><!--
>>> Search
>>> Google -->
>>> <p style="margin-top: 10px"> <b>
>>> <font face="Arial" size="6" color="#00295D">
>>> Vardeportalen.dk</font></b></td>
>>> <td width="527" height="61" align="left" valign="top"><!-- Search
>>> Google -->
>>> <center>
>>> <FORM method=GET action="http://www.google.com/search">
>>> <TABLE border="0" bgcolor="#EDF9FB">
>>> <tr><td height="40" bgcolor="#EDF9FB">
>>> <A HREF="http://www.google.com/">
>>> <IMG SRC="http://www.google.com/logos/Logo_40wht.gif" border="0"
>>> ALT="Google" align="absmiddle"></A>
>>> <INPUT TYPE=text name=q size=31 maxlength=255 value="">
>>> <INPUT TYPE=hidden name=hl value="da">
>>> <INPUT type=submit name=btnG VALUE="Søg">
>>> </td></tr></TABLE>
>>> </FORM>
>>> </center>
>>> <!-- Search Google --></td>
>>> </tr>
>>> </table></td>
>>> </tr>
>>> <tr>
>>> <td height="494" align="center" valign="top" bgcolor="#EDF9FB">
>>> <table width="971" border="0" cellspacing="10" cellpadding="0"
>>> bgcolor="#EDF9FB" height="645">
>>> <tr>
>>> <td width="80" align="left" valign="top" height="31%">
>>> <table border="0" width="100%" id="table1" height="99" cellspacing="0"
>>> cellpadding="0">
>>> <tr>
>>> <td align="left" valign="top" background="img/celler/cellbg.jpg"
>>> style="color: #000000">
>>> <img border="0" src="img/celler/sogemaskiner.jpg" width="140"
>>> height="17"><p style="margin-left: 10px; margin-top:2px">
>>> <font face="Trebuchet MS" style="font-size: 9pt">
>>> <a href="http://www.google.com/intl/da/">Google
>>> <a href="
http://www.jubii.dk/">Jubii
>>> <a href="
http://dk.yahoo.com/">Yahoo
>>> <a href="
http://dk.msn.com/">MSN
>>> <a href="
http://www.eniro.dk/">Eniro
>>> <a href="
http://tdconline.dk/">TDC- online</a><br>
>>> <a href="
http://www.ofir.dk/">Ofir
>>> <a href="
http://www.alltheweb.com/">All the web</a><br>
>>> <a href="
http://dk.altavista.com/">Alta-vista
>>> <a href="
http://www.internetstart.dk/">Internetstart
>>> <p>
>>> <img border="0" src="img/celler/cellbund.jpg" width="140"
>>> height="7"></td>
>>> </tr>
>>> <tr>
>>> <td> </td>
>>> </tr>
>>> <tr>
>>> <td background="img/celler/cellbg.jpg" style="color: #000000">
>>> <img border="0" src="img/celler/nuheder.jpg" width="140"
>>> height="17"><p
>>> style="margin-left: 10px; margin-top:2px">
>>> <font face="Trebuchet MS" style="font-size: 9pt">
>>> <a href="
http://nyhederne.tv2.dk/?portal">TV-2 Nyheder</a><br>
>>> <a href="
http://www.dr.dk/nyheder/">DR Nyheder</a><br>
>>> <a href="
http://ekstrabladet.dk/ebladet/">Ekstra Bladet</a><br>
>>> <a href="
http://www.bt.dk/">BT
>>> <a href="
http://jp.dk/">Jyllandsposten
>>> <a href="
http://www.jv.dk/">JydskeVestkysten
>>> <p>
>>> <img border="0" src="img/celler/cellbund.jpg" width="140"
>>> height="7"></td>
>>> </tr>
>>> </table>
>>> <table border="0" width="106%" id="table4" cellspacing="0"
>>> cellpadding="0"
>>> height="75">
>>> <tr>
>>> <td>
>>> <table border="0" width="100%" id="table5" cellspacing="0"
>>> cellpadding="0">
>>> <tr>
>>> <td> </td>
>>> </tr>
>>> <tr>
>>> <td height="35" background="img/celler/cellbg.jpg" style="color:
>>> #000000">
>>> <img border="0" src="img/celler/job.jpg" width="140"
>>> height="17"><p
>>> style="margin-left: 10px; margin-top:2px">
>>> <font face="Trebuchet MS" style="font-size: 9pt">
>>> <a href="
http://www.jobindex.dk/">Jobindex
>>> <a href="
http://www.jobnet.dk/">Jobnet
>>> <p>
>>> <img border="0" src="img/celler/cellbund.jpg" width="140"
>>> height="7"></td>
>>> </tr>
>>> </table> </td>
>>> </tr>
>>> </table>
>>> </td>
>>> <td align="left" valign="top" height="10">
>>> <table border="0" width="99%" id="table3" cellspacing="0"
>>> cellpadding="0">
>>> <tr>
>>> <td width="2%"> </td>
>>> <td background="img/celler/cellbg.jpg" width="21%" align="left"
>>> valign="top" style="color: #000000">
>>> <font face="Trebuchet MS" style="font-size: 9pt">
>>> <img border="0" src="img/celler/vejret.jpg" width="140"
>>> height="17"></font><p style="margin-left: 10px; margin-top:2px">
>>> <font face="Trebuchet MS" style="font-size: 9pt">
>>> <a href="
http://vejret.tv2.dk/danmark/?menu">TV-2 vejret</a><br>
>>> <a href="
http://www.dmi.dk/dmi/index/danmark.htm">DMI vejret</a><br>
>>> <a
>>> href="
http://www.vintertrafik.dk/start.asp">Trafikken
>>> <p>
>>> <font face="Trebuchet MS" style="font-size: 9pt">
>>> <img border="0" src="img/celler/cellbund.jpg" width="140"
>>> height="7"></font></td>
>>> <td width="16" colspan="2"> </td>
>>> <td align="left" valign="top" background="img/celler/cellbg.jpg"
>>> width="21%" style="color: #000000">
>>> <font face="Trebuchet MS" style="font-size: 9pt">
>>> <img border="0" src="img/celler/oplysningen.jpg" width="140"
>>> height="17"></font><p style="margin-left: 10px; margin-top:2px">
>>> <font face="Trebuchet MS" style="font-size: 9pt">
>>> <a
>>> href="
http://www.degulesider.dk/vbw/oplysningen/index.jsp?compTrade=&compZip=&compCity=&compAddress=&compRegionID=&compPhone=&filterIds=&compInfCatID=&compInfHitTypeID=&minx=&maxx=&miny=&maxy=&ssfull=1&twoFieldName=&twoFieldAddr=">De
>>> gule sider</a><br>
>>> <a href="
http://www.krak.dk/Person.aspx">Krak
>>> <a href="
http://appsrv.118online.dk/cgi-bin/118online.cgi">118
>>> Online</a> </font></p>
>>> <p>
>>> <font face="Trebuchet MS" style="font-size: 9pt">
>>> <img border="0" src="img/celler/cellbund.jpg" width="140"
>>> height="7"></font></td>
>>> <td width="20" colspan="2"> </td>
>>> <td align="left" valign="top" width="22%"
>>> background="img/celler/cellbg.jpg" style="color: #000000">
>>> <font face="Trebuchet MS" style="font-size: 9pt">
>>> <img border="0" src="img/celler/tv.jpg" width="140"
>>> height="17"></font><p style="margin-left: 10px; margin-top:2px">
>>> <font face="Trebuchet MS" style="font-size: 9pt">
>>> <a href="
http://tvtid.tv2.dk/allekanaler/">TV oversigt
>>> TV-2</a><br>
>>> <a
>>> href="
http://www.dr.dk/tjenester/programoversigten/w3c/epg.asp">TV
>>> oversigt DR 1</a><br>
>>> <a href="
http://ontv.dk/">ON TV guide</a> </font></p>
>>> <p>
>>> <font face="Trebuchet MS" style="font-size: 9pt">
>>> <img border="0" src="img/celler/cellbund.jpg" width="140"
>>> height="7"></font></td>
>>> <td width="2%"> </td>
>>> <td align="left" valign="top" background="img/celler/cellbg.jpg"
>>> style="color: #000000" width="21%">
>>> <font face="Trebuchet MS" style="font-size: 9pt">
>>> <img border="0" src="img/celler/kobsalg.jpg" width="140"
>>> height="17"></font><p style="margin-left: 10px; margin-top:2px">
>>> <font face="Trebuchet MS" style="font-size: 9pt">
>>> <a href="
http://www.dba.dk/">Den blå avis</a><br>
>>> <a href="
http://www.guloggratis.dk/">Gul og gratis</a><br>
>>> </font></p>
>>> <p>
>>> <font face="Trebuchet MS" style="font-size: 9pt">
>>> <img border="0" src="img/celler/cellbund.jpg" width="140"
>>> height="7"></font></td>
>>> <td width="1%"> </td>
>>> </tr>
>>> <tr>
>>> <td width="2%" height="145"> </td>
>>> <td height="145" colspan="9" align="left" valign="top">
>>> <table border="0" width="100%" id="table6" cellspacing="0"
>>> cellpadding="0" height="277">
>>> <tr>
>>> <td height="19" align="left" valign="top" colspan="2"> </td>
>>> </tr>
>>> <tr>
>>> <td width="55%" height="257" align="left" valign="top">
>>> <a
>>> href="
http://www.dmi.dk/dmi/index/danmark/byvejr_danmark.htm?by=6800">
>>> <img
>>> src="
http://servlet.dmi.dk/byvejr/servlet/byvejr?by=6800&tabel=dag2_6"
>>> alt="Se vejret for Varde" border="0"></a></td>
>>> <td align="left" valign="top" width="45%">
>>> <table border="0" width="100%" id="table8" cellspacing="0"
>>> cellpadding="0" height="249">
>>> <tr>
>>> <td height="56" align="center">
>>> <a href="
http://borsen.dk/">
>>> <img border="0" src="borsenlogo.gif" width="116"
>>> height="48"></a></td>
>>> </tr>
>>> <tr>
>>> <td align="center" height="42">
>>> <a href="
http://www.e-boks.dk">
>>> <img border="0" src="gx_logo_
www.gif" width="113"
>>> height="37"></a></td>
>>> </tr>
>>> <tr>
>>> <td height="70" align="center">
>>> <a href="
http://www.facebook.com/">
>>> <img border="0" src="facebook.jpg" width="132"
>>> height="42"></a></td>
>>> </tr>
>>> </table> </td>
>>> </tr>
>>> </table> </td>
>>> <td width="1%" height="145"> </td>
>>> </tr>
>>> <tr>
>>> <td width="2%" height="80" rowspan="2"> </td>
>>> <td colspan="2" align="left" valign="top" height="40"><p>
>>> <a href="
http://www.fotostart.dk/">
>>> <img border="0" src="img/fsstart.jpg" width="132"
>>> height="71"></a></p>
>>> </td>
>>> <td colspan="3" align="left" valign="top" height="40">
>>> <a href="
http://www.phosee.dk/">
>>> <img border="0" src="phosee_logo_shadow_xmas02.png" width="133"
>>> height="67"></a></td>
>>> <td colspan="2" align="left" height="40">
>>> <a href="
http://www.myeos.dk/">
>>> <img border="0" src="yc_canon_logo.gif" width="125"
>>> height="72"></a></td>
>>> <td colspan="2" align="left" height="40"> </td>
>>> </tr>
>>> <tr>
>>> <td colspan="2" align="left" valign="top" height="20"> </td>
>>> <td colspan="3" align="left" valign="top" height="20"> </td>
>>> <td colspan="4" align="left" height="20"> </td>
>>> </tr>
>>> <tr>
>>> <td width="2%" height="45"> </td>
>>> <td colspan="9" align="left" valign="top">
>>> <a href="
http://www.godtfoto.dk/">
>>> <img border="0" src="godtfoto.jpg" width="242" height="40"></a>
>>> <a href="
http://www.vardefotoklub.dk/">
>>> <img border="0" src="fotoklub.jpg" width="203" height="46"></a></td>
>>> <td width="1%" height="45"> </td>
>>> </tr>
>>> </table>
>>> </td>
>>> <td width="140" align="left" valign="top">
>>> <table border="0" width="100%" id="table2" height="170"
>>> cellspacing="0"
>>> cellpadding="0">
>>> <tr>
>>> <td align="left" valign="top" background="img/celler/cellbg.jpg"
>>> height="81" style="color: #000000">
>>> <img border="0" src="img/celler/offentlige.jpg" width="140"
>>> height="17"><p style="margin-left: 10px; margin-top:2px">
>>> <font face="Trebuchet MS" style="font-size: 9pt">
>>> <a href="
http://www.vardekom.dk/">Varde Kommune</a><a
>>> href="
http://www.visitwestdenmark.com/">Turistinformation
>>> <a href="
http://www.vardeet.dk/">Erhverv og Turistråd</a><br>
>>> <a href="
http://www.danskkabeltv.dk/">Dansk kabel Tv </a>
>>> <a href="
http://www.varde-tv-net.dk/">Antenneforening
>>> <a href="
http://www.vardebib.dk/">Varde Bibliotek</a><br>
>>> <a
>>> href="
http://www.politi.dk/NR/exeres/5D253C17-F521-45DA-8474-A60B798E34E7,frameless.htm?NRMODE=Published">Varde
>>> Politi</a><br>
>>> <a href="
http://www.skat.dk/">Skat
>>> <a href="
http://www.postdanmark.dk/index.jsp">Post
>>> Danmark</a></font></p>
>>> <p>
>>> <img border="0" src="img/celler/cellbund.jpg" width="140"
>>> height="7"></td>
>>> </tr>
>>> <tr>
>>> <td> </td>
>>> </tr>
>>> <tr>
>>> <td background="img/celler/cellbg.jpg" style="color: #000000">
>>> <img border="0" src="img/celler/underholdning.jpg" width="140"
>>> height="17"><p style="margin-left: 10px; margin-top:2px">
>>> <font face="Trebuchet MS" style="font-size: 9pt">
>>> <a href="
http://www.vardebilletten.dk/">Vardebilletten
>>> <a href="
http://77.243.130.23/Default.asp?bio=varde">Varde
>>> Bio</a><br>
>>> <a
>>> href="
http://www.smedevaerkstedet.dk/">Smedeværkstedet
>>> <a
>>> href="
http://www.open-air.dk/default.asp?id=13608">Open-air
>>> <a href="
http://www.owen-luft.dk/">Owen luft</a><br>
>>> <a
>>> href="
http://www.tobakken.dk/1/default.asp?MenuID=130&VersionID=50">Tobakken
>>> <a
>>> href="
http://www.billetnet.dk/html/home.htmI">Billetnet
>>> <p>
>>> <img border="0" src="img/celler/cellbund.jpg" width="140"
>>> height="7"></p></td>
>>> </tr>
>>> <tr>
>>> <td> </td>
>>> </tr>
>>> <tr>
>>> <td background="img/celler/cellbg.jpg" style="color: #000000">
>>> <img border="0" src="img/celler/boligforeninger.jpg" width="140"
>>> height="17"><p style="margin-left: 10px; margin-top:2px">
>>> <font face="Trebuchet MS" style="font-size: 9pt">
>>> <a href="
http://www.kongsgaard-varde.dk/">Kongsgaard
>>> <a href="
http://www.aabvarde.dk/1/default.asp">AAB
>>> <a href="
http://www.domea.dk/">Domea
>>> <p>
>>> <img border="0" src="img/celler/cellbund.jpg" width="140"
>>> height="7"></p></td>
>>> </tr>
>>> <tr>
>>> <td>
>>> <table border="0" width="100%" id="table11" cellspacing="0"
>>> cellpadding="0">
>>> <tr>
>>> <td> </td>
>>> </tr>
>>> <tr>
>>> <td background="img/celler/cellbg.jpg" style="color: #000000">
>>> <img border="0" src="img/celler/celltop.jpg" width="140"
>>> height="17">
>>> <p style="margin-left: 4px; margin-top: 2px"><font face="Trebuchet
>>> MS"
>>> style="font-size: 8pt"><a href="
http://www.rasmusjorgensen.dk">Rasmus
>>> Jørgensen</a></font></p>
>>> <p style="margin-left: 4px; margin-top: -20px">
>>> </p>
>>> <p>
>>> <img border="0" src="img/celler/cellbund.jpg" width="140"
>>> height="7"></td>
>>> </tr>
>>> </table> </td>
>>> </tr>
>>> </table> </td>
>>> </tr>
>>> </table></td>
>>> </tr>
>>> <tr>
>>> <td height="15" align="center" bgcolor="#000000"><p class="style18">
>>> <a href="mailto:webmaster@vardeportalen.dk"><font color="#FFFFFF">
>>> webmaster@vardeportalen.dk</font></a><font
>>> color="#FFFFFF">
>>> <a href="index.htm">Varde.dk</a></font></p> </td>
>>> </tr>
>>> </table>
>>> </div>
>>> </body>
>>> </html>
>>>
>>>
>> Hej Søren
>>
>> Tak for det.
>>
>> Du kan lige prøve at lave nogle tilføjelser tre steder i det script, som
>> du lige har postet. Se nedenstående.
>>
>> <body topmargin="0" style="background-color: #F7F8FA"
>> onLoad="document.searchform.search.focus();">
>>
>> <FORM method=GET action="
http://www.google.com/search" name="searchform">
>>
>> <INPUT TYPE=text name=q size=31 maxlength=255 value="" name="search">
>>
>> Måske bør name= alle steder erstattes af id= men prøv lige ovenstående
>> først.
>>
>> Se evt
>>
http://www.microsoft.com/danmark/windows/internet-explorer/features/enhanced-navigation.aspx
>> mht. kompatibilitetsvisning.
>>
>> Det har noget at gøre med at nogle hjemmesider ikke er blevet udviklet til
>> at blive vist korrekt i Internet Explorer 8.
>>
>> Mvh. Martin
>
> Hej Martin..
> Har prøvet både med id og name. virker desværre ikke
> Hilsen Søren
>
>
Hej Søren
Vil du prøve at post linket til selve siden?
Mvh. Martin