473,699 Members | 2,656 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1108
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 .jScrollPaneCon tainer 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******* *************** ************@i7 6g2000hsf.googl egroups.comand
<news:d0******* *************** ************@m4 5g2000hsb.googl egroups.comyou
got an answer -- this time. And get a real name.
PointedEars
--
var bugRiddenCrashP ronePieceOfJunk = (
navigator.userA gent.indexOf('M SIE 5') != -1
&& navigator.userA gent.indexOf('M ac') != -1
) // Plone, register_functi on.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.de mon.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
12735
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
2031
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 scroll-bars work as advertised. That's great. However, if you click the Left Mouse button, it calls code which expands the width of the canvas by 100 pixels. The area being viewed expands correspondingly..... BUT I DON'T WANT IT TO!!
0
1666
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 scroll bars for the TableLayout cover up my scroll bars for the child controls. When I resize the form it fixes and the child controls are in the appropriate places. This also occurs when the form is maximized and I restore down.
2
2221
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. Is this normal? If so it's very annoying and confusing. If not then how do I get it so my form design window doesn't have scroll bars. -- Chris Green
69
13453
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 resize and no auto horizontal, vertical scrolling bars. I am wonder can I do the similar inside a HTML file like
2
1676
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 bring it back though i have used javascipt to limit the height of iframe to the height of my content in the page shoonya
3
6053
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 scroll bar on the right hand side when the combo box is selected. One user comments that he doesn't always get the scroll bar. The problem is variable - excuse the pun - sometimes the scroll bar is never there, sometimes it disappears after a...
1
2407
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). However, a new subform control will not display horizontal scroll bars despite it's form's property setting. I have tried deleting and recreating both the subform control and the subform itself thinking this would address the issue. I also tried...
6
4613
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 bars. However, when I tried to add any doctype at all (HTML strict, HTML loose, XHTML transitional, XHTML strict, etc.), it stopped working. Do I have any control over IE's scroll bars when using doctypes?
0
8685
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9032
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8905
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8880
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6532
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5869
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2342
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.