Frame scroll bar in IE windows

Dear Expert,

I would like to know how to combine the frame scroll bar at horizontal and vertical into
Internet Explorer Window Scroll bar that will help to save display area.
THe following code provide other experts  for two frame set.
First one is input box and second frame is redirect webpage.
Please view the image you will see my question more.


<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Developer Studio">
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>Document Title</TITLE>
<script>
function formSubmit(frm)
{
      document.getElementById("frame1").src="http://www.mywebsite.com/"+frm.text1.value+".htm";
      return false;
}

</script>

</HEAD>
<body>
<form onsubmit="return formSubmit(this)">
<input type="text" name="text1">
<input type="submit" name="submit">
</form>
<iframe width="600" border="0px" id="frame1">
</body>
</HTML>
 
Toggle HighlightingOpen in New WindowSelect AllAccept Multiple Solutions Accept as Solution


Snap16.jpg
LVL 13
duncanb7Asked:
Who is Participating?
 
duncanb7Connect With a Mentor Author Commented:
The reply is already solved and reply what I ask. And I want to keep the credit in this thread,  and I think
high point is high accuracy to the question. Low point is low accuracy to the question and
nothing more than that . It is grading system from mine only. Maybe put it simple.
Even $1US in this world might not be easy to earn, SO $1 dollar might be really good in recent
days in US .  we should think about why people don't give us $1US  


0
 
Justin MathewsConnect With a Mentor Commented:
You can add scrolling="no" to iframe. But if the iframe is not big enough to display the content, content will get clipped.

<iframe height="500" width="600" scrolling="no" border="0" id="frame1">
0
 
scrathcyboyConnect With a Mentor Commented:
you cannot combine the scroll bar of an HTML element with the main scroll bar of the browser -- they are two entirely different things, one generated by HTML code (the frame) and the other by the browser.

Rather than use frames, which are outdated and not correcly indexed by search engines, use an IFRAME instead.  IT is easier to use and the borders can be hidden and the scroll bars hidden too.

Google for ' IFRAME how to ' and you will get tons of explanations.
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
duncanb7Author Commented:
Dear,

Scroll="NO" seems is no any different. I think because as follows

Because my webpage is generated  from excel 2003 saveas htm webpage. So I will have   double scroll bar when
I ue two frame in one IE window (that I believe).
But I will directly web  the Excel's webpage at address bar in IE  without input box's input help , it work fine only one horizontal
and vertical scroll no matter how much I zoon the window

Please advise
0
 
duncanb7Author Commented:
Be Reminded, in excel's htm , there is a lot of sheet icon or click for you
to select different sheet.

What I want just second frame won't create double scroll no matter how much I zoon the window area
or no matter it is excel'htm or not.

Duncan
0
 
duncanb7Author Commented:
Sorry, typing mistake, I mean when I directly web the Excel's .htm webpage  at address bar in one IE window
it won't create double scroll bar at horizontal and viertical. But when I use two frames to web the Excel
htm page,  it will create double scroll bar even I put scroll="no"
0
 
duncanb7Author Commented:
0
 
Michel PlungjanIT ExpertCommented:
scrathcyboy: There is no real difference between frames and iframes. You can hide scrollbars and borders in frames too
0
 
duncanb7Author Commented:
Thank for all of you tp reply this thread
0
 
duncanb7Author Commented:
Dear Experts and EE adm,

Since actually I found some difference between iframe and frame when doing scroll bar disable and input box edit
from my three days. If the source(src=)  also has frame insides, Iframe tag  could not disable the scroll bar even
specify scrolling="no". But frame is okay, and for inputbox edit so final I use frame to solve my problem.
FOr input edit box,  iframe is better than frame because cursor is on focus after enter key press and clear
the previous value but not in frame and I need to function to clear the value.

Since mplungjan trigger me  to do the benmark test between frame and iframe, so I award the credit for him even
his reply might not be 100% right or wrong.

I am serious to give credit to others even 1 pt. it is a attitude to engineering life.


Best Regards
Duncan






0
 
Michel PlungjanIT ExpertCommented:
It is not the points. It is the grade.
I'd rather have NO points than a "C" grade for a comment that was not a solution
0
 
Michel PlungjanIT ExpertCommented:
So reduce the points and give a "B" or delete it.

I do not want a "C" for a comment that is not a solution.

Thanks
0
 
duncanb7Author Commented:
Dear EE,

After I consider mplungian's comment, and now finanlly I understand what he means.
So I prefer to re-credit this thread  and review the Grading system from EE.

Please help tp re-open this thread for re-credit process

Best Regards

Duncan  
0
 
Michel PlungjanIT ExpertCommented:
thanks
0
 
duncanb7Author Commented:
Dear EE

Why  it will go to "closing  Request Pending". I just click Accept Mutliple Solution and grade ths thread and click submit
button. Could you help on this for re-credit process. It happens before in other thread. Or Am I doing
something wrong during credit process. Please advise

Duncan
0
 
duncanb7Author Commented:
Thanks for your reply and
we should close this thread

Duncan
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.