homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

JS/AJAX Widgets

 8:54 am on Sep 14, 2006 (gmt 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.




 5:11 am on Sep 29, 2006 (gmt 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 Sep 29, 2006 (gmt 0)

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

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved