Hi Shinde_vishvana
You certainly having given us much information to go on...
I'll assume you mean iframes or divs in which case you don't need Java, only CSS
add
scrollbar:no;
scrolling:no;
to your class or id and the frame wil not be scrollable.
If you are referring to a pop-up window, try this:
Add this to your <HEAD></HEAD> section
Code:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,resizable=0,width=600,height=480,left = 340,top = 272');");
}
// End -->
</script>
This will open the window:
HTML Code:
<form>
<input type=button value="Open the Popup Window" onClick="javascript:popUp('detstinationfile.htm')">
</form>
For more, checkout
The JavaScript Source: Code Generators: Popup Window Maker
Mike.