Go Back   BioRUST Forums > Graphics Software & Support > HTML / PHP / ASP / JS

Reply
 
LinkBack Thread Tools Display Modes
Old 11-05-2007   #1 (permalink)
Registered User
 
Join Date: Sep 2007
Posts: 5

Exclamation Exclamation How to disable frame resizing & scrolling of frames

Hi,
I want to disable frame resizing and scrolling. I need to do it on run hence need to be done by JS. Please tell me some solution. Thanks in advance.
shinde_vishvana is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-05-2007   #2 (permalink)
Rusty Bio-Hazard!
 
notjustgraphics's Avatar
 
Join Date: Sep 2006
Location: Toronto, Ontario, Canada
Posts: 1,034

Send a message via MSN to notjustgraphics
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.
__________________
notjustgraphics is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-07-2007   #3 (permalink)
Registered User
 
Join Date: Sep 2007
Posts: 5

Hi,
its not working with this code
shinde_vishvana is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-07-2007   #4 (permalink)
Rusty Bio-Hazard!
 
notjustgraphics's Avatar
 
Join Date: Sep 2006
Location: Toronto, Ontario, Canada
Posts: 1,034

Send a message via MSN to notjustgraphics
It is for me in FF/IE6/IE7

Can you help us help you by giving a little more detail? Maybe post your code?

Generally, a 'Thanks but' is appreciated...

Regards.
__________________
notjustgraphics is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 09:48 PM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2007 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT