Recent Widgets


Register for DashboardWidgets

Recent Forums Posts

Partners


iCompositions

MacDesktops.net

RSS Showcase
RSS Comments
RSS Forums

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. Posted in: Widget Development

Problem with spaces and foreign characters (a lot of values)

Author Message
bonAveo



Joined: 26 Apr 2005
Posts: 28
Location: Lillehammer, Norway

Posted: Sun May 01, 2005 - 12:05 pm    Post subject: Problem with spaces and foreign characters (a lot of values) Reply with quote

Got some problems whith , , and spcae.

I'we made a widget whith a lot of differnt searchengines.

My problem is that Google supports all of them, but eg. Yahoo! don't.

Code:
<formmethod="get" action="javascript:widget.openURL(site.value + searchInput.value); site.value='',searchInput.value=''"">
<input id="searchInput" type="search">
<select id="site" widht="150">
<option value="http://www.google.com/search?q=">Google</option>
<option value="http://search.yahoo.com/search?p=">Yahoo!</option>
</select>

My code includes more search engines than shown above.

Any suggestions to how I could fix this?
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger Widgets
Peter321



Joined: 25 Apr 2005
Posts: 9

Posted: Mon May 02, 2005 - 7:49 am    Post subject: Reply with quote

Seems to be a bug with the "widget.openURL" function, at least that's what's been found so far, in my thread about the same problem:

http://www.dashboardwidgets.com/forums/viewtopic.php?t=338
View user's profile Send private message Send e-mail Widgets
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

 
Powered by phpBB © 2001, 2002 phpBB Group