travist / seamless.js

A Javascript library for working with seamless iframes.
http://www.travistidwell.com/seamless.js
MIT License
217 stars 44 forks source link

Added the ability to inject and append styles instead of overwriting them. #8

Closed loganbfisher closed 9 years ago

loganbfisher commented 9 years ago

In my project I am creating a "live edit" page where the user can select a primary and secondary color and once they select the color it updates in the iframe for their site. Currently the functionality would only allow me to do this once. If I changed the primary color and then changed the secondary color it would overwrite the first color. This pull requests adds an option to use appended styles instead.

travist commented 9 years ago

Looks good. Thanks!