posts - 41, comments - 200, trackbacks - 0

My Links

News

These postings are provided "AS IS" with no warranties, and confers no rights.
Locations of visitors to this page virtusa corp sharepoint virtusa.com shehan peruma

Tag Cloud

Archives

Post Categories

JavaScript

Google Feeds API
I was given with a simple requirement – create an online component that has the ability to pull RSS feeds asynchronously from websites. I could have written a server control, but that would mean I would need to write the logic to read the xml and parse it. Totally doable, but it was late in the day when the requirement came in and I wasn’t about to slave over Visual Studio to write manage code. OK, so long story short I used the Google Feed API to get the job done. Assuming you know jQuery the code...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Thursday, September 01, 2011 5:31 PM | Feedback (0) | Filed Under [ JavaScript ]

JavaScript to 'E-Mail This Page'
Here is a bit of JavaScript that can be used by a site visitor to email a page. Nothing fancy - just a plain ol' mailto command. 1: <script type="text/javascript"> 2: function mailThisPage() 3: { 4: var link = window.location; 5: var emailSubject = "Check this out: "+ document.title; 6: var emailAddress=prompt("Please enter the recipients email address",""); 7: window.location = "mailto:"+emailAddress+"?Su... 8: } 9: </script> Technorati Tags: javascript...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Tuesday, November 25, 2008 7:48 PM | Feedback (1) | Filed Under [ JavaScript ]

Powered by: