I've created a web application in asp.net. I've to generate embed code for one of my page so that other websites can embed that code in their websites. Tell me what is the best way to do this?
A:
You can provide code for an iframe that contains your page, which usually isn't so great. Or you can provide a little snippet of javascript that will then write your content into the page, which in most cases is better. If you really don't want anyone to mess with the code, use the iframe though since javascript can't really access your code inside of an iframe to make changes.
jarrett
2010-03-17 06:04:17
+2
A:
You can try IFRAME or a javascript depending on what you want to do. An example is right here in stackoverflow.
ydobonmai
2010-03-17 06:05:41
nice one.......
Muhammad Akhtar
2010-03-17 08:57:09