Solved

Frame scroll bar in IE windows

Posted on 2010-11-11
20
1,183 Views
Last Modified: 2012-05-10
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
0
Comment
Question by:duncanb7
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
20 Comments
 
LVL 16

Assisted Solution

by:jmatix
jmatix earned 150 total points
ID: 34115920
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
 
LVL 44

Assisted Solution

by:scrathcyboy
scrathcyboy earned 100 total points
ID: 34116019
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
 
LVL 13

Author Comment

by:duncanb7
ID: 34116381
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 13

Author Comment

by:duncanb7
ID: 34116401
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
 
LVL 13

Author Comment

by:duncanb7
ID: 34116423
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
 
LVL 13

Author Comment

by:duncanb7
ID: 34122277
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 34126531
scrathcyboy: There is no real difference between frames and iframes. You can hide scrollbars and borders in frames too
0
 
LVL 13

Author Closing Comment

by:duncanb7
ID: 34141603
Thank for all of you tp reply this thread
0
 
LVL 13

Author Comment

by:duncanb7
ID: 34150865
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
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 34153743
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
 
LVL 13

Accepted Solution

by:
duncanb7 earned 0 total points
ID: 34181553
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
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 34182150
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
 
LVL 13

Author Comment

by:duncanb7
ID: 34182924
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
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 34183037
thanks
0
 
LVL 13

Author Comment

by:duncanb7
ID: 34183480
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
 
LVL 13

Author Closing Comment

by:duncanb7
ID: 34216125
Thanks for your reply and
we should close this thread

Duncan
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASP.NET MVC 5- How can I post textarea value using @Html.ActionLink? 8 53
Html split(text) 2 26
Glitching Slide Show 19 26
Add somewhat of a wildcard to your javascript 12 30
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question