473,394 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

scroll bars in iFrames

shoonya
161 100+
i am using iframes in my page setting style=overflow:none in the page
this is nt showin the scroll but when space bar/page down is pressed it moves the page up and thr is only one way (page up) to bring it back
though i have used javascipt to limit the height of iframe to the height of my content in the page

shoonya
Jun 4 '07 #1
2 1657
nomad
664 Expert 512MB
i am using iframes in my page setting style=overflow:none in the page
this is nt showin the scroll but when space bar/page down is pressed it moves the page up and thr is only one way (page up) to bring it back
though i have used javascipt to limit the height of iframe to the height of my content in the page

shoonya
Not to sure what you are talking about esp when you did not post your code on the iframe.
Anyway your iframe should look something like tthis. Your wedth should match your table size.
[HTML]<iframe src="compare_lighting.htm" name="abc" width="500" height="200" align="top" scrolling="auto"></iframe>[/HTML]

hope this helps if not please post your code.

nomad
Jun 4 '07 #2
shoonya
161 100+
*****************
<iframe scrolling=auto name="header_frame" id=header_frame onload=resize_header(this) width=100% src=header.php border="0" frameborder="0" marginwidth=0 marginheight=0>
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe>
******************************************
function resize_header(obj){
var docHeight = top.header_frame.document.getElementById('header_c ontent').offsetHeight;
obj.style.height = docHeight + 'px'
}
***********************
where header_content is the name of div enclosing all the contents of the page

but height is rendered perfectly thn also it's showin sum gap between </div> and </body>
though nothng is thr

hope u gt it ths time

shoonya
Jun 5 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: Arlie Rahn | last post by:
I would like to ad a custom scroll bar control to my app that has a customizable and "flat" look to it (not the normal VB look). Does anyone have any ideas on where to find a good one?
0
by: syed_saqib_ali | last post by:
Please take a look at and run the code snippet shown below. It creates a canvas with vertical & Horizontal scroll-bars. If you shrink the window to smaller than the area of the canvas, the...
0
by: Eric | last post by:
I have a TableLayout that I'm having problems with. I am placing controls in it that have scroll bars. When I put enough of them on the control to make the TableLayout's scroll bars appear the...
2
by: usenet | last post by:
When I open a form design window in Access 2003 it *always* has scroll bars, this is even when the form itself is tiny. It's as if the 'page' on which the form is being designed is very large. ...
69
by: RC | last post by:
I know how to do this in JavaScript by window.open("newFile.html", "newTarget", "scrollbars=no,resizable=0,width=200,height=200"); The browser will open a new window size 200x200, not allow...
3
by: zazu | last post by:
We have a database that can be accessed by a small number of users on a small network. The database is on the server. One form has a combo box with a large number of selections. Usually there is a...
1
by: David_from_Chicago | last post by:
I am developing an application in Access 2000 (A2K) which has multiple forms and subforms. Until now, all subforms displayed scroll bars properly (according to the subform's property setting). ...
6
by: bgold12 | last post by:
I was using quirks mode (without a doctype) and set the overflow CSS property to :auto for the body tag like so: <body style="overflow:auto"> And it worked; it got rid of IE's default scroll...
7
by: dark | last post by:
Hi, I'm having a problem with scroll bars. I'm looking for a method of replacing the default browser scrollbars with custom ones, on <divtags on pages INSIDE <iframetags. This page shows an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.