homepage Welcome to WebmasterWorld Guest from 54.145.191.14
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
JS/AJAX Widgets
alphacooler

5+ Year Member



 
Msg#: 3082608 posted 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.

Thanks!

 

DrDoc

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



 
Msg#: 3082608 posted 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.

whoisgregg

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



 
Msg#: 3082608 posted 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