Hello People,
I need to create a widget using Javascript and without using any 'Javasctipt Frameworks' or another widget developing platform. So, my approach is like this, creating a dynamic iframe and linking the source for the iframe to the content that need to be displayed. I need that iframe to be created in a specific location where the javascript file is inserted. To make more clear look at the following example.
<html>
<head>
<title>Creating Iframes</title>
</head>
<body>
<table>
<tr>
<td>
This is a test for widget creation 1st row
</td>
<tr>
<tr>
<td>
This is a test for widget creation 2nd row
<script type="text/javascript" src="js/widget.js"></script>
</td>
<tr>
<tr>
<td>
This is a test for widget creation 3rd row
</td>
<tr>
</table>
</body>
</html>
Please help me.
Thanks