Welcome to WebmasterWorld Guest from 54.82.29.141

Forum Moderators: open

Message Too Old, No Replies

JS/AJAX Widgets

     
8:54 am on Sep 14, 2006 (gmt 0)

Full Member

10+ Year Member

joined:Feb 4, 2005
posts:205
votes: 0


How does one put together a "Myspace type widget" that are all the rage today among web 2.0 startups?

Basically i'd like to generate some javascript that when a user puts it on their blog will pull data off my server via a php script and output it on the user's blog (very similar to those little Flickr boxes you see around the web these days).

I'm 100% clueless as to the broad-strokes on something like this.

I was thinking just generate an iFrame code with the src url full of the necessary user variables, but I know there is a better way to do this.

Thanks!

5:11 am on Sept 29, 2006 (gmt 0)

Senior Member

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 15, 2002
posts:6807
votes: 0


An iframe would work well. A regular JS might work too.

It all depends on what you want to do, and if you need the script to access anything on the target page. There are cross-domain security issues, ya know, which can make certain things like this difficult.

2:12 pm on Sept 29, 2006 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member whoisgregg is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Dec 9, 2003
posts:3416
votes: 0


If you are targeting the myspace crowd, you can't use Javascript... All the myspace "widgets" you see are Flash based.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members