# Embed User includes `http://jsbin.com/js/embed.js` in their code - probably in the footer - it runs one doc ready. As a user I have a few options: 1. full embed - pulls an existing jsbin directly in to my site (though url can prefine which panels to show) 2. mixed embed - mixes existing content in my site with a predefined jsbin - enabling me to template code 3. scoop links - allows me to pass through to jsbin, but it carries through the code from the site ## Example of full embed A mini JS Bin embed in their site via an iframe - since the height is flexible inside jsbin, user can style the iframe that's generated. Edit this example Full embed that only includes the JS & Live output Edit this example Mixed embed, that references existing code in my blog and uses the template on the endpoint to run the example: ?? Question - should this try to detect the type of language based on the first few lines, and therefore insert in the best place? Edit this example ## Scoop links By clicking on this link, I'll arrive on jsbin.com with the "abc" existing code, and the code from `#mycode-example1` inserted in to the correct place (possibly detecting which panel to show too). This is achieved with: Edit this example The JavaScript will transform the link to something like: jsbin.com/abc/edit?live,javascript=[some escaped javascript] Example usage: on jQuery UI site, much easier if I could just add a link that says to scoop up the existing code and splat in to jsbin.com ## Removing the rel attribute If we're really smart, we could go hunting for the closest `
` element by looking through the parent elements to the link found.