473,403 Members | 2,222 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,403 software developers and data experts.

scroll to selection

I have a embedded designmode document in an iframe, and I have a find and replace function that selects the next instance of a word. is there a scrollToSelection() function?
Oct 19 '09 #1
1 1467
gits
5,390 Expert Mod 4TB
i think there is no such method 'out of the box' ... you might calculate the position depending on the linenumber and character-height and then use the scrollTo() method ... so that means you have to implement a function that does this job.

kind regards
Oct 24 '09 #2

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

Similar topics

3
by: Richard Trahan | last post by:
I have a form larger than a screen. When some radio buttons or checkboxes are clicked, I need to change the contents of a select (menu) box by rebuilding the select node. That method is necessary...
3
by: Rithish Saralaya | last post by:
Is there a way to scroll a selected OPTION into view? I have a combination of text box and SELECT list. A user can key in text in the text box, and depending on the entry made, the respective...
6
by: amirkarger | last post by:
I have a simple "quickbrowse" menu that does this: <form> <select name="quickbrowse" onchange="go(this)"> <option selected value="">go to a tool...</option> <option value="#tool1">Great tool...
0
by: MARK | last post by:
I have 2 forms both with a combo box. The selection within the combo box is based on a statement each: SELECT * FROM dbo_consumables ORDER BY ; & SELECT DISTINCT FROM dbo_consumables...
2
by: Joshua Moore | last post by:
Is there any way to have buttons scroll up and down on a standard textbox? The touchscreen we're using doesn't work very well on scroll bars, so I'd like to create buttons to immitate the Page Up /...
0
by: web1110 | last post by:
Hi y'all, I have written a ComboBox derived from DataGridTextBoxColumn to use in a DataGrid. It seems to be working ok, however... When the ComboBox is displayed, the mouse scroll wheel...
1
by: Jesper | last post by:
Hi, Is it possible to scroll a RichTextBox programmatically to a given text selection in it, such that the selected text becomes viewable. regards. Jesper.
1
by: Al | last post by:
Hi, How do I scroll down to an item in ListView control based on selection made from another window. Any Help will be appreciated Thanks Al
14
by: effendi | last post by:
Is it possible for me to disable the wheel scroll in a mouse when user click on a drop-down list? Thanks
2
by: =?Utf-8?B?TWFyaw==?= | last post by:
Does anyone know of a way to disable the mouse scroll wheel when a control such as a combobox or listbox has focus? I ask this, because I have an extremely large data entry form with vertical...
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: 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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.