Hola,
he creado un contenido para que la gente se lo ponga en su web a través de un iframe. El problema que tengo es que hay enlaces que quiero abrir a través de lytebox.
Según la web de lytebox, ...
Cita: iFrames: If you plan to use Lytebox in an iFrame environment, then you need to include lytebox.css in the parent document, while including lytebox.js in the iFrame document.
y de otra web he encontrado esto...
Cita: Inserting Lytebox into an iframe:
If you require to use Lytebox within an iframe you only have to put the header code in differently.
1. On the page that holds the iframe you only put the code below into the header.
<link rel="stylesheet" href="lytebox.css" type="text/css" media="screen"/>
2. On the page that is going into the iframe you only put the code below into the header.
<script type="text/javascript" src="lytebox.js"></script>
Al ser para otras webs, me gustaria hacer algo parecido sin que tengan que tocar el head de su página web. ¿Se puede hacer?
Haciendo un iframe normal y target="_blank" consigo un codigo de "copia y pega este código donde quieras que aparezca el contenido".
Cuanto más facil mejor y con un unico copia y pega, mejor.
saludos