Ninnad Jagtap
Active member
- Joined
- Apr 12, 2005
- Messages
- 35
- Programming Experience
- Beginner
How to attach and include the Javascript of Menu in the User Control..
I have a User Control that just a table
<table>
<tr>
<td>
i want to place my menu java script here ...
</td>
</tr>
</table>
This is my javascript for Menu
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=MenusFile/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=MenusFile/mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="MenusFile/menu_data.js"></script>
if(ns4)_d.write(""); else _d.write("");
I have a User Control that just a table
<table>
<tr>
<td>
i want to place my menu java script here ...
</td>
</tr>
</table>
This is my javascript for Menu
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=MenusFile/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=MenusFile/mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="MenusFile/menu_data.js"></script>
if(ns4)_d.write(""); else _d.write("");