Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: RE: [asp_web_howto]Re: Scrollbar


Message #1 by philip.moh@a... on Fri, 23 Mar 2001 13:57:18 +0800
Steve,



Can you let me know where should I pus this codes? each page?  do you have

sample or other way to do this?



Thanks

Phil



> -----Original Message-----

> From:	Stephen Shilling [SMTP:sash1@n...]

> Sent:	Tuesday, March 20, 2001 7:49 PM

> To:	ASP Web HowTo

> Subject:	[asp_web_howto]Re: Scrollbar

> 

> Philip,

> 

> Please find attached a sample frameset piece of code which deals with the

> scrollbar issue, basically you can turn the scrollbars off for each of

> your

> frames individually, hope this helps.

> 

> <frameset framespacing="0" border="0" rows="85,220,45,*,48"

> frameborder="0"

> onUnload="JavaScript:unload_window();">

> <frame name="top_top_frame" marginwidth="0" marginheight="0"

> scrolling="no"

> noresize src="medium_market_contract_detail[2].html">

> <frame name="top_middle_frame" marginwidth="0" marginheight="0"

> scrolling="yes" noresize src="medium_market_contract_detail[3].html">

> <frame name="bottom_top_frame" marginwidth="0" marginheight="0"

> scrolling="yes" noresize src="medium_market_contract_detail[4].html">

> <frame name="bottom_middle_frame" marginwidth="0" marginheight="0"

> scrolling="yes" noresize src="medium_market_contract_detail[5].html">

> <frame name="bottom_frame" marginwidth="0" marginheight="0"

> scrolling="yes"

> noresize src="medium_market_contract_detail[6].html">

> </frameset>

> 

> Regards, Stephen

> 

> 

> ----- Original Message -----

> From: <philip.moh@a...>

> To: ASP Web HowTo <asp_web_howto@p...>

> Sent: Tuesday, March 20, 2001 1:26 AM

> Subject: [asp_web_howto] Scrollbar

> 

> 

> > Hello Experts,

> >

> > Anyone of you know how to disable/enable the frame scrollbar in code?

> For

> > example, my frame consist of two parts - header and body. Header will

> > remaind static all the time whereelse body will change from time to

> time.

> > what I have to do is to force the scroll bar not to appear in the

> certain

> > page. Possible? Please advise....URGENT.

> >

> > Thanks in advance.

> > PHIL



Message #2 by philip.moh@a... on Fri, 23 Mar 2001 17:20:35 +0800
which " " you want me to take out? 



Does anyone else got an idea of HOW TO SET THE SCROLLBAR ON/OFF??? It really

sound simple but Please!!!!!!!!!!!!!!!!!!!!!!!!HELP.



> -----Original Message-----

> From:	Tim Morford [SMTP:tmorf@c...]

> Sent:	Friday, March 23, 2001 10:17 AM

> To:	ASP Web HowTo

> Subject:	[asp_web_howto]RE: Scrollbar

> 

> I did some looking around i found nothing on this anywhere ... you can try

> to take out the " " if that does not work try putting your files in a

> include

> 

> 

> tim

> 

> -----Original Message-----

> From: philip.moh@a... [mailto:philip.moh@a...]

> Sent: Thursday, March 22, 2001 7:43 PM

> To: ASP Web HowTo

> Subject: [asp_web_howto] RE: Scrollbar

> 

> 

> Alex,

> 

> Sounds like we have to ask microsoft WHY the command doesn't work... or

> check to their site for more info. Thanks for you help anyway.

> 

> Does anyone else know how to do this??

> 

> --

> PHIL

> 

> > -----Original Message-----

> > From:	Alex Shiell, ITS, EC, SE [SMTP:alex.shiell@s...]

> > Sent:	Thursday, March 22, 2001 10:29 PM

> > To:	ASP Web HowTo

> > Subject:	[asp_web_howto] RE: Scrollbar

> >

> > Phil,

> >

> > it seems that this just does not work... the only way you can prevent

> > scrolling is to put scrolling="no" in the frame definition.  Regardless

> of

> > what microsoft say, it does not seem to be possible to alter the

> scolling

> > property after the frameset has been created.

> >

> > -----Original Message-----

> > From: philip.moh@a... [mailto:philip.moh@a...]

> > Sent: Thursday, March 22, 2001 2:40 AM

> > To: ASP Web HowTo

> > Subject: [asp_web_howto] RE: Scrollbar

> >

> >

> > OK....

> >

> > 1) this is the index.htm:

> >

> > <html>

> >

> > <head>

> > <title>my frame</title>

> > </head>

> >

> > <frameset rows="64,*">

> >   <frame name="header" scrolling="no" noresize target="main"

> > src="menu.htm">

> >   <frame name="main" src="body.htm">

> >   <noframes>

> >   <body>

> >

> >   <p>This page uses frames, but your browser doesn't support them.</p>

> >

> >   </body>

> >   </noframes>

> > </frameset>

> >

> > </html>

> >

> >

> >

> > 2) this is the meun.htm:

> >

> > <html>

> >

> > <head>

> > <title>menu</title>

> > <base target="main">

> > </head>

> >

> > <body>

> >

> > <p><a href="detail.htm">Detail</a></p>

> >

> > </body>

> >

> > </html>

> >

> >

> > 3) this is the body.htm

> >

> > <html>

> >

> > <head>

> > <title>body</title>

> > </head>

> >

> > <body>

> >

> > <p>this is the first page... call body.htm</p>

> >

> > </body>

> >

> > </html>

> >

> >

> > 4) this is detail.htm

> >

> > <html>

> >

> > <head>

> > <title>detail</title>

> > </head>

> >

> >

> > <body>

> >

> >

> > <p>When the user click on Detail in the above menu, this page will be

> > loaded

> > and

> > I want to force the scroll bar not to display...how???</p>

> > <p>hello</p>

> > <p>hello</p>

> > <p>hello</p>

> > <p>hello</p>

> > <p>hello</p>

> > <p>hello</p>

> > <p>following information is confidential... you not support to

> see...click

> > <a href="body.htm">back</a>

> > to previous page. so, have

> > to force the scroll bar not to disappear so that you can't scroll

> > down...how

> > to

> > do this</p>

> > <p>confidential</p>

> > <p>confidential</p>

> > <p>confidential</p>

> > <p>confidential</p>

> > <p> </p>

> >

> > </body>

> >

> > </html>

> >

> >

> >

> >

> >

> >

> >

> >

> >

> >

> > > -----Original Message-----

> > > From:	Shaun Steckley [SMTP:SSTECKLEY@P...]

> > > Sent:	Thursday, March 22, 2001 9:49 AM

> > > To:	ASP Web HowTo

> > > Subject:	[asp_web_howto] RE: Scrollbar

> > >

> > > Paste your HTML frameset page so we can take a look at what you

> have...

> > >

> > > -----Original Message-----

> > > From: philip.moh@a... [mailto:philip.moh@a...]

> > > Sent: Wednesday, March 21, 2001 7:59 PM

> > > To: ASP Web HowTo

> > > Subject: [asp_web_howto] RE: Scrollbar

> > >

> > >

> > > Hello Alex,

> > >

> > >

> > > Thanks for you time but I still got some doubt. Following is what I

> > have:

> > >

> > > I have a frame called header. The initial page is menu.htm.

> > > The second frame called main. The initial page body.htm.

> > >

> > > When the frame is loaded, this is the two page appear on the screen.

> > From

> > > the menu, use will choose to see other page and display on the second

> > > page.

> > > There is a page call detail.htm, and the page is very long. When the

> > page

> > > is

> > > load and display on the screen, the scrollbar will appear. What I want

> > to

> > > do

> > > is to force the scroll bar not to appear on the screen. So, where

> should

> > I

> > > put the code <parent.frames.main.scrolling="no">? in the detail.htm

> > page?

> > > I

> > > have tried but doesn't work, the scroll bar still appear. Please

> advise.

> > >

> > > Thanks.

> > > PHIL



Message #3 by Shaun Steckley <SSTECKLEY@P...> on Fri, 23 Mar 2001 08:54:35 -0500
Try moving your closing frameset tag ,"</frameset>", right after you last

frame tag, "<frame>".  Like this:





<html>



<head>

<title>my frame</title>

</head>



<frameset rows="64,*">

  <frame name="header" scrolling="no" noresize target="main" src="menu.htm">

  <frame name="main" src="body.htm">

</frameset>

  

<noframes>

  <body>

  <p>This page uses frames, but your browser doesn't support them.</p>

  </body>

</noframes>



</html>





This is the same format that I use and it works for me...





-----Original Message-----

From: philip.moh@a... [mailto:philip.moh@a...]

Sent: Friday, March 23, 2001 4:21 AM

To: ASP Web HowTo

Subject: [asp_web_howto] RE: [asp_web_howto]RE: Scrollbar





which " " you want me to take out? 



Does anyone else got an idea of HOW TO SET THE SCROLLBAR ON/OFF??? It really

sound simple but Please!!!!!!!!!!!!!!!!!!!!!!!!HELP.



> -----Original Message-----

> From:	Tim Morford [SMTP:tmorf@c...]

> Sent:	Friday, March 23, 2001 10:17 AM

> To:	ASP Web HowTo

> Subject:	[asp_web_howto]RE: Scrollbar

> 

> I did some looking around i found nothing on this anywhere ... you can try

> to take out the " " if that does not work try putting your files in a

> include

> 

> 

> tim

> 

> -----Original Message-----

> From: philip.moh@a... [mailto:philip.moh@a...]

> Sent: Thursday, March 22, 2001 7:43 PM

> To: ASP Web HowTo

> Subject: [asp_web_howto] RE: Scrollbar

> 

> 

> Alex,

> 

> Sounds like we have to ask microsoft WHY the command doesn't work... or

> check to their site for more info. Thanks for you help anyway.

> 

> Does anyone else know how to do this??

> 

> --

> PHIL

> 

> > -----Original Message-----

> > From:	Alex Shiell, ITS, EC, SE [SMTP:alex.shiell@s...]

> > Sent:	Thursday, March 22, 2001 10:29 PM

> > To:	ASP Web HowTo

> > Subject:	[asp_web_howto] RE: Scrollbar

> >

> > Phil,

> >

> > it seems that this just does not work... the only way you can prevent

> > scrolling is to put scrolling="no" in the frame definition.  Regardless

> of

> > what microsoft say, it does not seem to be possible to alter the

> scolling

> > property after the frameset has been created.

> >

> > -----Original Message-----

> > From: philip.moh@a... [mailto:philip.moh@a...]

> > Sent: Thursday, March 22, 2001 2:40 AM

> > To: ASP Web HowTo

> > Subject: [asp_web_howto] RE: Scrollbar

> >

> >

> > OK....

> >

> > 1) this is the index.htm:

> >

> > <html>

> >

> > <head>

> > <title>my frame</title>

> > </head>

> >

> > <frameset rows="64,*">

> >   <frame name="header" scrolling="no" noresize target="main"

> > src="menu.htm">

> >   <frame name="main" src="body.htm">

> >   <noframes>

> >   <body>

> >

> >   <p>This page uses frames, but your browser doesn't support them.</p>

> >

> >   </body>

> >   </noframes>

> > </frameset>

> >

> > </html>

> >

> >

> >

> > 2) this is the meun.htm:

> >

> > <html>

> >

> > <head>

> > <title>menu</title>

> > <base target="main">

> > </head>

> >

> > <body>

> >

> > <p><a href="detail.htm">Detail</a></p>

> >

> > </body>

> >

> > </html>

> >

> >

> > 3) this is the body.htm

> >

> > <html>

> >

> > <head>

> > <title>body</title>

> > </head>

> >

> > <body>

> >

> > <p>this is the first page... call body.htm</p>

> >

> > </body>

> >

> > </html>

> >

> >

> > 4) this is detail.htm

> >

> > <html>

> >

> > <head>

> > <title>detail</title>

> > </head>

> >

> >

> > <body>

> >

> >

> > <p>When the user click on Detail in the above menu, this page will be

> > loaded

> > and

> > I want to force the scroll bar not to display...how???</p>

> > <p>hello</p>

> > <p>hello</p>

> > <p>hello</p>

> > <p>hello</p>

> > <p>hello</p>

> > <p>hello</p>

> > <p>following information is confidential... you not support to

> see...click

> > <a href="body.htm">back</a>

> > to previous page. so, have

> > to force the scroll bar not to disappear so that you can't scroll

> > down...how

> > to

> > do this</p>

> > <p>confidential</p>

> > <p>confidential</p>

> > <p>confidential</p>

> > <p>confidential</p>

> > <p> </p>

> >

> > </body>

> >

> > </html>

> >

> >

> >

> >

> >

> >

> >

> >

> >

> >

> > > -----Original Message-----

> > > From:	Shaun Steckley [SMTP:SSTECKLEY@P...]

> > > Sent:	Thursday, March 22, 2001 9:49 AM

> > > To:	ASP Web HowTo

> > > Subject:	[asp_web_howto] RE: Scrollbar

> > >

> > > Paste your HTML frameset page so we can take a look at what you

> have...

> > >

> > > -----Original Message-----

> > > From: philip.moh@a... [mailto:philip.moh@a...]

> > > Sent: Wednesday, March 21, 2001 7:59 PM

> > > To: ASP Web HowTo

> > > Subject: [asp_web_howto] RE: Scrollbar

> > >

> > >

> > > Hello Alex,

> > >

> > >

> > > Thanks for you time but I still got some doubt. Following is what I

> > have:

> > >

> > > I have a frame called header. The initial page is menu.htm.

> > > The second frame called main. The initial page body.htm.

> > >

> > > When the frame is loaded, this is the two page appear on the screen.

> > From

> > > the menu, use will choose to see other page and display on the second

> > > page.

> > > There is a page call detail.htm, and the page is very long. When the

> > page

> > > is

> > > load and display on the screen, the scrollbar will appear. What I want

> > to

> > > do

> > > is to force the scroll bar not to appear on the screen. So, where

> should

> > I

> > > put the code <parent.frames.main.scrolling="no">? in the detail.htm

> > page?

> > > I

> > > have tried but doesn't work, the scroll bar still appear. Please

> advise.

> > >

> > > Thanks.

> > > PHIL




  Return to Index