473,395 Members | 1,441 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,395 software developers and data experts.

scroll bars in iframes

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 example of the problem:

http://www.darkaudio.co.uk/v2/scroll_test/index.html

the top three panels are <divtags on the page. The bottom one is an
<iframewith a page inside it with the same <divon it.

How can I go about preventing the scroll bar from insetting itself as
in the bottom example?

Thanks.
Aug 18 '08 #1
7 1096
SAM
dark a écrit :
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 example of the problem:

http://www.darkaudio.co.uk/v2/scroll_test/index.html
impossible to downlaod
the top three panels are <divtags on the page. The bottom one is an
<iframewith a page inside it with the same <divon it.

How can I go about preventing the scroll bar from insetting itself as
in the bottom example?
what could be the interest ?

--
sm
Aug 19 '08 #2
?
Aug 19 '08 #3
?
Aug 19 '08 #4
dark wrote:
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 example of the problem:

http://www.darkaudio.co.uk/v2/scroll_test/index.html

the top three panels are <divtags on the page. The bottom one is an
<iframewith a page inside it with the same <divon it.

How can I go about preventing the scroll bar from insetting itself as
in the bottom example?
CSS: width:100% or no `width' declaration on .jScrollPaneContainer and
..scroll-pane and a bit more `padding-right' on the latter.

The scrollbar is a bit jumpy when dragged which is probably due to all this
jQuery nonsense. Personally, I don't like this iframe approach of yours as
a whole. It's a pain to navigate, to bookmark and to print. Try to avoid them.

BTW: This is Usenet, not a real-time support forum. Despite your customer
attitude showed with
<news:36**********************************@i76g200 0hsf.googlegroups.comand
<news:d0**********************************@m45g200 0hsb.googlegroups.comyou
got an answer -- this time. And get a real name.
PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
Aug 19 '08 #5
Thanks for your input Mr German man. I was unaware that only
particular questions could be asked on 'Usenet' and names such as dark
are inferior to that of Thomas PointedEars Lahn. Unfortunately your
solution didn't work. Maybe i'll try Mootools, coding is mind boggling
for us 3d designers.
Aug 20 '08 #6
dark wrote:
Thanks for your input Mr German man.
My supposed descent is irrelevant to your apparent misbehavior.
I was unaware that only particular questions could be asked on 'Usenet'
It is the way you asked the question(s), and since the solution would
obviously not have anything to do with scripting, also the newsgroup
where you asked it.
and names such as dark are inferior to that of Thomas PointedEars Lahn.
Some consider posting under ones real name to be polite behavior, and the
lack of it to be the opposite -- like attending an interview with a skiing
mask put on.
Unfortunately your solution didn't work.
It works fine in my Firefox 3.0.1.
Maybe i'll try Mootools,
Which would get you out of the frying pan into the fire, of course.
coding is mind boggling for us 3d designers.
Why not let someone do the job who knows what they are doing in the first place?
PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f8*******************@news.demon.co.uk>
Aug 20 '08 #7
My supposed descent is irrelevant to your apparent misbehavior.

No its not - if you were from the US I would have thrown my toys out
the pram.

It is the way you asked the question(s), and since the solution would
obviously not have anything to do with scripting, also the newsgroup
where you asked it.

Ok, i'll reassess that for the future.

Some consider posting under ones real name to be polite behavior, and
the
lack of it to be the opposite -- like attending an interview with a
skiing
mask put on.

My name on Groups was 'Will' which is my real name - not sure how or
when I changed it and not sure how to change it back.

It works fine in my Firefox 3.0.1.

I'll have another try.

Which would get you out of the frying pan into the fire, of course.

Why? I need to use iframes by the way.

Why not let someone do the job who knows what they are doing in the
first place?

Free website - money issue for coder. Hence asking online.


Aug 20 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

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...
2
shoonya
by: shoonya | last post by:
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...
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...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.