Your code won’t work in a blog entry? HTML Sandbox to the rescue!

(For an excellent beginner’s lesson in HTML, check out this site: Getting started with HTML)

I was just telling a friend how to load up code if it won’t work in a blog entry. I thought while I’m at it, I will post it to share it with others. I recommend the HTML Sandbox Gadget. It is similar to the Custom HTML Module available in your space under Customize/Modules, but it runs more types of code.

Here is the description of it on the download page:

“This HTML Sandbox gadget was created by the Windows Live Spaces team. It allows you to present and view most valid HTML content, except Javascript on your or spaces page. Install the gadget and then you can place any valid HTML code into the gadget. This is most useful for Flash based gadgets or widget from other websites including slideshows, videos, etc..”

If you find that your code won’t work in the HTML Sandbox, there is one more thing to try: IFrames! (thank you to Mark Slack for teaching me about IFrames.) The quick explanation is that you put the code elsewhere on the internet and then call into a “frame” in your space. Here’s the longer explanation:

(By this point, the HTML Sandbox is already on your space and in the edit mode)

Load up your code in a free website such as If has free web space available, I don’t know about it. (Personally, my internet provider gives a little web space, so I use that for my Spaces Stuff.)

Here is a sample bit of IFrame code from my Space. It’s for my Google Search Box:

<iframe name="bwindow" scrolling=no align=middle  width=175 height=80 marginheight=0 marginwidth=0 frameborder=1 src="”>

Insert your url where my url is in the example. Then, edit the width and height numbers until the frame is around your “whatever it is your code is for”. Once everything shows up great, change the frameborder to 0 to turn off the frame.



Share with Twitter, Facebook, MySpace, StumbleUpon, etc


Filed under Windows Live

5 responses to “Your code won’t work in a blog entry? HTML Sandbox to the rescue!

  1. Greg

    Might want to drop the story tag on this one, X. It\’s more of a how-to (which you\’ve already got in there, too).

  2. X-Evolutionist

    What story tag. Got it. Thanks bunches Greg. I told Marcus that you set me straight about what the clubhouse is. I get it now. Thanks, again. X

  3. Jeffrey

    Hi X – I\’ve done this before, and it worked. But I had some trouble. Now I can\’t remember what I did to get it to work.Anyway, I have added the module to the Space, but I get this error:EditThe feed is temporarily unavailable. Please try again later.In fact, I get this on almost all the interesting modules like the weather for instance. I can set it for Phoenix, but it keeps reverting to Seattle. What\’s up with that? Is it because the modules require javascript or something, and now it is turned off? Seems like they are all broken. :(Anyway, for the HTML Sandbox – how do I "turn on this feed thing." Thanks for the post!

  4. X-Evolutionist

    Hi Jeffrey, Are you a member of All Things Live Group? That\’s a good place to ask about that kind of problem. There are people there who know more than I do.All Things Live GroupSharing info about Windows Live services

  5. Sean

    Look at al those casino trackbacks X. Is there something you can do about that?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s