Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

davidjearly

macrumors 68020
Original poster
Sep 21, 2006
2,271
382
Glasgow, Scotland
Hi,

Quite a simple request I think. Here's hoping someone can help.

I have a simple RSS Widget created in Dashcode that grabs an RSS feed and displays it in Dashboard.

All I want to do is implement a search field on the face of the widget so that I can search the articles displayed from the feed for particular search terms.

I know that using the Library in Dashcode, I can drag the search field onto the widget, but I am unsure how to set the code to work.

Any help, please?

David
 
When you use the inspector to change onsearch, type in there search(event); and it works
 

Attachments

  • Picture 1.png
    Picture 1.png
    64.9 KB · Views: 168
When you use the inspector to change onsearch, type in there search(event); and it works

Ok, so one more question!

How can I create a hyperlink from a graphic or text object within dashcode. E.G. If I have a text box containing 'www.mywebsite.com', how can I make it so that when I click on this it goes to that site?

Thanks, David
 
adding search functionality in dashcode

today i was playing around in dashcode. im not very experienced so i didnt rly know what to do when making the search bar actually function and search things. im trying to make it search for locations on my map which comes from googlemaps and move to that location. ive been having trouble and tried search(event) but it didnt work for me. any ideas?
 

Attachments

  • Screen shot 2011-05-11 at 6.04.11 PM.png
    Screen shot 2011-05-11 at 6.04.11 PM.png
    569.1 KB · Views: 76
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.