Re: Streetmap oddity!

2008-12-08 Thread Kevin Wells
In message [EMAIL PROTECTED]
  Torrens (lists) [EMAIL PROTECTED] wrote:

Streetmap's old site
http://www.streetmap.co.uk/newdefaulte2.htm

There is a peculiarity in Netsurf ( r5886 )

If you type in a postcode, Streetmap finds it OK.

But if you drag and drop the same postcode, then click on Search,
Streetmap returns an error page (which gets displayed as text).

So why is drag and drop into Netsurf giving the wrong thing? CTRL C-V
works as drag and drop.


I think it is a soft space when you type but a hard space when you drag
abd drop or CTRL C-V

Testing on one of my site's that uses forms I did a type and got this
result:

http://kevsoft.co.uk/mp/results2.php?answer=%22real+ale%22

Using CTRL C to copy and CTRL V to paste I got this result

http://kevsoft.co.uk/mp/results2.php?answer=%22real%C2%A0ale%22



-- 
Kev Wells  http://riscos.kevsoft.co.uk/
http://kevsoft.co.uk/   http://kevsoft.co.uk/AleQuest/
ICQ 238580561
Real Stupidity beat Artificial Intelligence 11 times out of 10.



Re: Streetmap oddity!

2008-12-08 Thread Torrens (lists)
In article [EMAIL PROTECTED],
   Kevin Wells [EMAIL PROTECTED] wrote:
 So why is drag and drop into Netsurf giving the wrong thing? CTRL C-V
 works as drag and drop.
 

 I think it is a soft space when you type but a hard space when you drag
 abd drop or CTRL C-V

That _would_ explain it. However the text I drag in contains a soft space.
If NetSurf munges that into a hard space, then there is a problem!

Deleting the (dragged) space and typing a soft space does cure it.

Would someone care to file a bug report?

-- 
Richard Torrens.
http://www.Torrens.org.uk for genealogy, natural history, wild food, walks, cats
and more!



Re: Streetmap oddity!

2008-12-08 Thread Richard Porter
On 8 Dec 2008 Torrens (lists) wrote:

 Streetmap's old site
 http://www.streetmap.co.uk/newdefaulte2.htm

 There is a peculiarity in Netsurf ( r5886 )

 If you type in a postcode, Streetmap finds it OK.

 But if you drag and drop the same postcode, then click on Search,
 Streetmap returns an error page (which gets displayed as text).

 So why is drag and drop into Netsurf giving the wrong thing? CTRL C-V
 works as drag and drop.

In case it helps anyone, I've included the following form in my local 
home page. It still calls up the old style site which works on NS and 
Fresco. I prefer to use Fresco because the saved Draw files are very 
much easier to unpack leaving just the map.

table cellspacing=2
trtdform action=http://www.streetmap.co.uk/newsearch.srf?; 
name=f method=post
input type=hidden value=newmap name=mapp
input type=hidden value=newsearch name=searchp
input type=text size=36 name=name/td
tdinput id=Submit1 type=submit value=Streetmap 
NAME=Submit1/td/tr

trtd colspan=2
table cellspacing=3tr
tdinput id=Radio2 type=radio CHECKED value=PostCode 
name=typenbsp;Post Code/td
tdinput id=Radio3 type=radio value=PlaceName 
name=typenbsp;GB Place/td
tdinput id=Radio1 type=radio value=UKStreet 
name=typenbsp;UK Street/td
tdinput id=Radio8 type=radio value=LondonStreet 
name=typenbsp;London Street/td
/trtr
tdinput id=Radio4 type=radio value=OSGrid 
name=typenbsp;OS grid (x,y)/td
tdinput id=Radio5 type=radio value=LRGrid 
name=typenbsp;Landranger/td
tdinput id=Radio6 type=radio value=LatLong 
name=typenbsp;Lat/Long/td
tdinput id=Radio7 type=radio value=Telephone 
name=typenbsp;Tel Code/form/td
/tr/table
/td/tr/table
-- 
 _
|_|. _   Richard Porter   http://www.minijem.plus.com/
|\_||_mailto:[EMAIL PROTECTED]
Disclaimer: I disclaim everything.