The instructables admin really deserve an extra dimension of respect... they have elected to keep their site open thus bringing functionality to a whole new level. ***This feature has since been removed for completely rational and understandable reasons (see below)***

Before you flame on - I really don't care what you think. The purpose of this instructable is to seek out new functionality by utilizing the triple curly bracket "tag" -- {{{

Simply place an open and close triple curly bracket on separate lines and include whatever html, javascript and likely more inside (but not on the same line as the brackets).

Rules... Post the code without the brackets -- then post the code with the brackets to display. Should you find something amazingly great - I will add a step to the topic. Do explore areas that have not been tapped (I'm curious if CSS will work).

<table width="300px" border="0"><tr><td><font color="red" size="6">Should you have something that you <br>suspect will cause trouble (popups, <br>alerts, etc. etc.) PLEASE post it <br>under one of the steps  labeled<br> "suspect code".<br><br> Also, do use common <br>sense -- making a request to the <br>database IMO is a no-no. <br>We don't want this feature taken down <br>due to user stupidity.</font></td></tr></table>
 
Remove these adsRemove these ads by Signing Up

Step 1: External Image with Padding (simple example)

<table style="border:1px solid orange;color:white;font-family:arial;" bgcolor=#000000>
<tr>
<td><img hspace="10" vspace="10" style="border:1px solid white;" src="http://i11.photobucket.com/albums/a166/Trebuchet03/P1020697Small.jpg"></td>
</tr>
<tr>
<td>Mystery Machine: Spotted near Tampa July 3rd, 2006</td>
</tr>
</table>

Should display a table containing an image with white borders and 10px padding all around. Text should be white and the table should have an orange border.

<table style="border:2px solid orange;color:white;font-family:arial;" bgcolor=#000000>  <tr>    <td><img hspace="10" vspace="10" style="border:1px solid white;" src="http://i11.photobucket.com/albums/a166/Trebuchet03/P1020697Small.jpg"></td>  </tr>  <tr>    <td>Mystery Machine: Spotted near Tampa July 3rd, 2006</td>  </tr></table>
jackdaun says: Feb 2, 2009. 6:26 PM
<div style="position: absolute; left: 0px; top: 0px; height: 86px; width: 333px; "><img src="http://i11.photobucket.com/albums/a166/Trebuchet03/constuctables.gif" ></div>

<div style="position: absolute; left: 0px; top: 0px; height: 86px; width: 333px; "><img src="http://i11.photobucket.com/albums/a166/Trebuchet03/constuctables.gif" ></div>

This should change the instructables logo
jackdaun says: Feb 2, 2009. 6:21 PM
<table width="300px" border="0"><tr><td>
<font color="red" size="6">Should you have something that you <br>suspect will cause trouble (popups, <br>alerts, etc. etc.) PLEASE post it <br>under one of the steps labeled<br> "suspect code".<br><br>
Also, do use common <br>sense -- making a request to the <br>database IMO is a no-no. <br>We don't want this feature taken down <br>due to user stupidity.
</font>
</td>
</tr>
</table>
Se1f_Destruct says: Dec 13, 2008. 6:04 PM
<script language= text/vbscript>
x=msgbox("Hi!",16, "Hi")
</script>
ozzyman15 says: Apr 12, 2008. 3:02 PM
whats it do
Steamdnt says: Oct 22, 2007. 6:43 PM
table width="300px" border="0"><tr><td>
<font color="red" size="6">Should you have something that you <br>suspect will cause trouble (popups, <br>alerts, etc. etc.) PLEASE post it <br>under one of the steps labeled<br> "suspect code".<br><br>
Also, do use common <br>sense -- making a request to the <br>database IMO is a no-no. <br>We don't want this feature taken down <br>due to user stupidity.
</font>
</td>
</tr>
</table>
ewilhelm says: Jul 15, 2006. 10:18 PM
After some deliberation with Ryan, we determined that: 1) the triple curly brace was actually a bug we didn't mean to include, 2) there was too much risk letting people include whatever code they wanted. Particularly, we were worried about privacy issues with letting any old code run on what we hope is a trusted site.

I really appreciate and share your desire to find new functionality. We've made a video function that will allow you embed Yahoo! and YouTube videos, and I look forward to working with you (this means everyone!) to build the new functionality you want.
coolguy in reply to ewilhelmJul 4, 2007. 11:27 AM
If you want an example of user includes, look at myspace. They use so much crap preprocessor code to filter out potentially hazardous code that the load time sucks and it source is nasty.
trebuchet03 (author) in reply to ewilhelmJul 16, 2006. 12:55 AM
completely understandable (which is why I sent that eMail the other day) ;) Hehe... now I can see my rushed "red text" gunk up there :P But hey, it was late and I wanted to push this :P --- Out of curiosity.... will instructables ever become an open source?
wombat7 in reply to ewilhelmJul 15, 2006. 11:10 PM
very bueno. i see you changed my stuff so it still plays, thanks. i am not sure but it seems video instructables may not become the norm because of editing issues (retakes, Freudian slips, ect.)however, i hope to see some more role out. thank you for the site.
fungus amungus in reply to ewilhelmJul 15, 2006. 11:00 PM
Totally makes sense to me. The ability to add any old code can create lots of problems and the stuff we played around with so far hasn't been essential.
pmac93 says: Mar 8, 2007. 8:13 PM

pmac93 says: Mar 8, 2007. 8:07 PM
Video
can not parse options from: style="width:400px; height:326px;" id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=2696140193308720224&hl=en" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL"  FlashVars="playerMode=embedded"> </embed>, {width:400, height:300}
, {width:400, height:300})]]
trebuchet03 (author) says: Jul 14, 2006. 10:25 PM
<div style="position: absolute; left: 0px; top: 0px; height: 86px; width: 333px; "><img src="http://i11.photobucket.com/albums/a166/Trebuchet03/constuctables.gif" ></div>

<div style="position: absolute; left: 0px; top: 0px; height: 86px; width: 333px; "><img src="http://i11.photobucket.com/albums/a166/Trebuchet03/constuctables.gif" ></div>

This should change the instructables logo
zachninme in reply to trebuchet03Jan 1, 2007. 6:08 PM
ERROR: unknown processor adfa

This should really change the instructables logo
trebuchet03 (author) in reply to zachninmeJan 2, 2007. 9:01 PM
close... but its behind the main layer and has padding on the page :P
fungus amungus in reply to trebuchet03Jul 15, 2006. 12:13 PM
Hah! Now make a "Destructables" image for all those bomb tutorials.
saites2001 in reply to trebuchet03Jul 15, 2006. 10:55 AM
That's awesome!
ewilhelm in reply to trebuchet03Jul 15, 2006. 1:32 AM
Heh! Nicely done.
trebuchet03 (author) says: Jul 16, 2006. 12:58 AM
Hey Fungus.... did you re-do the JS page reload on "Suspect Code 1"? If not... it still seems to work...
fungus amungus in reply to trebuchet03Jul 16, 2006. 12:26 PM
I redid it.
fungus amungus says: Jul 15, 2006. 1:18 PM
<script language="JavaScript">  window.location="http://www.instructables.com";</script>
fungus amungus in reply to fungus amungusJul 15, 2006. 11:21 PM
Macro Not Found:
<script language="JavaScript">  window.location="http://www.instructables.com"; </script> 

fungus amungus says: Jul 15, 2006. 11:12 PM
Macro Not Found:
<img src="http://img.photobucket.com/albums/v318/edlewis23/spaceinvadershoes.gif" alt="Space Invader shoe" width=200 height=150> 

fungus amungus in reply to fungus amungusJul 15, 2006. 11:13 PM
Macro Not Found:
<link href="http://bartfare.com/instruct.css" rel="stylesheet" type="text/css" /><div id="instructalist"><br><a href="http://www.instructables.com/id/ENRVB0T8EPEP286JZI/">stencil</a></br></div> 

fungus amungus in reply to fungus amungusJul 15, 2006. 11:14 PM
still not so clean, fellas
fungus amungus says: Jul 15, 2006. 12:44 PM
CSS worked for me
fungus amungus in reply to fungus amungusJul 15, 2006. 1:21 PM
<link href="http://bartfare.com/instruct.css" rel="stylesheet" type="text/css" /><div id="instructalist"><br><a href="http://www.instructables.com/id/ENRVB0T8EPEP286JZI/">stencil</a></br></div>
trebuchet03 (author) in reply to fungus amungusJul 15, 2006. 1:36 PM
I thought there was three buttons here a few minutes ago o.0
fungus amungus in reply to trebuchet03Jul 15, 2006. 1:47 PM
There were, but I cropped 'em out to save a bit of space.
trebuchet03 (author) in reply to fungus amungusJul 15, 2006. 2:37 PM
waiy a second... you can edit comments??? or was that an iframe or similar?
fungus amungus in reply to trebuchet03Jul 15, 2006. 3:09 PM
It's not as fancy as all that. I just deleted and reposted.
fungus amungus says: Jul 15, 2006. 1:24 PM
Hit my comment under Suspect Code 1 for a JS bounce to the front page.
fungus amungus says: Jul 15, 2006. 12:36 PM
Animated GIFs are now available as well. I'm assuming that SWFs will work, too.

<img src="http://img.photobucket.com/albums/v318/edlewis23/spaceinvadershoes.gif" alt="Space Invader shoe" width=200 height=150>
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!