I need to lock a DIV in place so that regardless of the scroll position,
it remains stuck in a corner. Currently I'm hooked into the scroll
events and I'm positioning dynamically based on the scroll amount. So if
you scroll down 1000 pixels, then I'm adding 1000 pixels to the position
I normally would calculate to fit it in the corner. This works cross
browser already, but the responsiveness to the scroll events isn't
immediate enough. You can see a bit of a stuttering effect.
Does anyone know of a property that will lock a DIV to a certain
position in the browser rather than a certain position in the page (yes
I know it's CSS but there isn't a CSS forum on my news server and this
is where the clever people are)? I'm pretty sure I heard that such a
property exists but it's not something that's easy to google. The terms
involved find way too many results that aren't relevant. I haven't even
managed to find (via google) somebody that's doing what I'm already doing.
I don't mind if it's using some IE and/or Gecko proprietary properties. 4 10814
On Nov 13, 8:22 pm, Stevo <ple...@spam-me.comwrote:
I need to lock a DIV in place so that regardless of the scroll position,
it remains stuck in a corner. Currently I'm hooked into the scroll
events and I'm positioning dynamically based on the scroll amount. So if
you scroll down 1000 pixels, then I'm adding 1000 pixels to the position
I normally would calculate to fit it in the corner. This works cross
browser already, but the responsiveness to the scroll events isn't
immediate enough. You can see a bit of a stuttering effect.
Does anyone know of a property that will lock a DIV to a certain
position in the browser rather than a certain position in the page (yes
I know it's CSS but there isn't a CSS forum on my news server and this
is where the clever people are)? I'm pretty sure I heard that such a
property exists but it's not something that's easy to google. The terms
involved find way too many results that aren't relevant. I haven't even
managed to find (via google) somebody that's doing what I'm already doing.
I don't mind if it's using some IE and/or Gecko proprietary properties.
style="position : fixed"
Darko wrote:
On Nov 13, 8:22 pm, Stevo <ple...@spam-me.comwrote:
>I need to lock a DIV in place so that regardless of the scroll position,
style="position : fixed"
Oh man, you've gotta be joking. Thanks D.
<bangs head against the wall for not seeing the obvious>
On Nov 13, 9:32 pm, Stevo <ple...@spam-me.comwrote:
Darko wrote:
On Nov 13, 8:22 pm, Stevo <ple...@spam-me.comwrote:
I need to lock a DIV in place so that regardless of the scroll position,
style="position : fixed"
Oh man, you've gotta be joking. Thanks D.
<bangs head against the wall for not seeing the obvious>
:)
Darko wrote:
On Nov 13, 8:22 pm, Stevo <ple...@spam-me.comwrote:
>Does anyone know of a property that will lock a DIV to a certain position in the browser rather than a certain position in the page (yes I know it's CSS but there isn't a CSS forum on my news server and this is where the clever people are)? I'm pretty sure I heard that such a property exists but it's not something that's easy to google. The terms involved find way too many results that aren't relevant. I haven't even managed to find (via google) somebody that's doing what I'm already doing.
I don't mind if it's using some IE and/or Gecko proprietary properties.
style="position : fixed"
That doesn't work in IE before version 7, of course. However, there are
several workarounds of which I prefer
[de] http://artikel.fabrice-pascal.de/posfixedie6/ pp.
(Sorry, it would appear this has not been translated yet, so might need
to try your luck with Google Translate or Babelfish and apps like that.)
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Irene |
last post by:
I'm developing a Web application where a user selects from a listbox which can have many items. The initial display only shows about 10 items.
After a postback, the listbox is automatically scrolled back to the top, so the selected item is mostly no longer visible. How can I keep the position, so that the selected item is still shown?
|
by: Peter Rilling |
last post by:
You know in Excel you have the ability to lock certain rows such that the
rows under it allow you to scroll but the locked rows say on the screen.
This is especially useful when dealing you want headers to stay in place
because you might have a lot of rows that need to scroll.
I would like to do that same thing in ASP.NET. Does anyone have any
suggestions about the best way to do this?
|
by: simonc |
last post by:
Is there a way of locking the display of two text boxes,
so that as you scroll down in one text box the display is
automatically scrolled in the other?
The issue is to display line numbers for a file beside the
file, but in a separate text box, so that I don't confuse
the text from the file with the line numbering text. I can
also then show the line numbers in a different colour
which helps distinguish them.
|
by: Pohihihi |
last post by:
Suppose I have a method (MethodA()) and I do some data access in it (e.g. get results from DB SPs on some select query). This method is fired via a event (say button click). Now if I keep on clicking the button and MethodA() is kept on called what happen to the calls that are looking at the lock while the first request is still processing the request from DB. In other words those request do busy wait automatically or they just ignore the request...
|
by: Giggle Girl |
last post by:
Hello Javascript enthusiasts!
I need to lock a TABLE HEADER vertically, so when you scroll up/down,
the content moves but the header is always visible, like you can do in
Excel.
It is for an intranet app, and only has to work in IE6 (and future
releases).
I have a working example at:
| |
by: wattem |
last post by:
Hi,
This is my first post on this forum. Hello everyone!
I am developing a .Net web app in C# and I am using javascript pretty extensively (to provide a richer experience).
My server code data binds and creates a <table id="tblA"....> with rows of data. tblA is contained inside of a <div id="divA"....> whose Style.Overflow is set to scroll. I am freezing the first column of the table so that users can scroll right/left and still see...
|
by: Rkwarner2 |
last post by:
Hello everyone. This is my very first post in this forum. I'm taking my first Visual Basic.Net Class and am wanting to try some new things for one of my homework assignments. The assignment is to create a windows application that will allow a user to balance a checkbook. Visually speaking, I want to use multiple list boxes, to display the data: Description, Credit, Debit, Balance, in an effort to emulate the look of a real checkbook ledger. The...
|
by: John L. |
last post by:
How do I invoke the scroll() method of a window object for a
scrollable IFRAME element in an HTML document?
I am using IE 7.0, and I thought the following would work:
document.frame01.scroll(x,y)
or possibly
document.getElementById('frame01').scroll(x,y)
|
by: mcl |
last post by:
I wish to create a standard 3 column CSS page, but my centre contents
column is quite long. I have included Anchor Name Tags in the long
column and provided a navigation / Table of contents in the left
column.
Is it possible to have the Table of contents displayed, regardless of
the scroll position of the page.
I would like a similar requirement for the right column, which will
have other information.
|
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...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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...
|
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,...
|
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...
|
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();...
|
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...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
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...
| |