Hi there,
I do have a complex problem and wonder if this is possible to solve.
Following situation. I do have a page, where you do have a frame inside
that page. That frame holds different links to pages inside the mother
page. The purpose is to show changes since last login. If you click on
one link inside it takes you to the changes. If there are a lot of
changes you might need to use the internal vertical scroll bar inside
the frame. Here is where the problem starts! If you have to scroll down
quite a bit and you click on a link,the page loads and you have again to
scroll down within the iframe to get to the link you just clicked on for
clicking the next on underneath. I would like to have the last clicked
link on top inside this frame.
So I tried to call that frame like this: frame.html#4 but that results
not only to correctly jumping to this link, but also that the whole page
starts at that link. I mean there are about 200pixels above that frame
and those are now scrolled to the point of the link as well.
Has anybody an idea on how to adress only the iframe with a hash #, or
some other way to define the srolling position within the iframe upon
loading? Maybe JavaScript could jump in there somehow?
Thank you for any help on that.
Regards,
merlin
PS: Unfortunatelly I can not provide a link, as this is inside a login
area. 2 4343
hi merlin,
I dont understand quite well your problem but there is a way to scroll
a div or a iframe to certain position
with a div:
var objDiv = document.getEle mentById("divEx ample");
objDiv.scrollTo p = objDiv.scrollHe ight;
with a frame or iframe or page (if think):
window.scroll(0 ,pos);
and this properties to see window's size
document.body.c lientWidth
document.body.o ffsetWidth
that's the way to do it with javascript
take care,
marcos
On Oct 14, 9:43 am, Merlin <newsgro...@fas tmail.fmwrote:
Hi there,
I do have a complex problem and wonder if this is possible to solve.
Following situation. I do have a page, where you do have a frame inside
that page. That frame holds different links to pages inside the mother
page. The purpose is to show changes since last login. If you click on
one link inside it takes you to the changes. If there are a lot of
changes you might need to use the internal vertical scroll bar inside
the frame. Here is where the problem starts! If you have to scroll down
quite a bit and you click on a link,the page loads and you have again to
scroll down within the iframe to get to the link you just clicked on for
clicking the next on underneath. I would like to have the last clicked
link on top inside this frame.
So I tried to call that frame like this: frame.html#4 but that results
not only to correctly jumping to this link, but also that the whole page
starts at that link. I mean there are about 200pixels above that frame
and those are now scrolled to the point of the link as well.
Has anybody an idea on how to adress only the iframe with a hash #, or
some other way to define the srolling position within the iframe upon
loading? Maybe JavaScript could jump in there somehow?
Thank you for any help on that.
Regards,
merlin
PS: Unfortunatelly I can not provide a link, as this is inside a login
area.
Hi folks,
I have similar problem.
I have one JSP, in which I have one table. in first <TRtag i try
to render one image. Then in the second <TRi have one iframe. In the
src of this frame i try to render some other appliction running on
different server. In the third <TR>, I have some Footer.
As per the requirement, the entire page (ie which contains the TABLE
with three TRs should have scroll bar if necessary and if the content
of the middle <TR( ie which contains the web-page of application
running on some other server) is large then the outer page should have
the scroll bar.
But as per the current implementation, the content of the middle
page gets cut and i need to click on the page and drag it to see the
actual content.
I have been working on this for last 1 month. Please help me as
early as possible.
Cheers.
YL
uoL wrote:
hi merlin,
I dont understand quite well your problem but there is a way to scroll
a div or a iframe to certain position
with a div:
var objDiv = document.getEle mentById("divEx ample");
objDiv.scrollTo p = objDiv.scrollHe ight;
with a frame or iframe or page (if think):
window.scroll(0 ,pos);
and this properties to see window's size
document.body.c lientWidth
document.body.o ffsetWidth
that's the way to do it with javascript
take care,
marcos
On Oct 14, 9:43 am, Merlin <newsgro...@fas tmail.fmwrote:
Hi there,
I do have a complex problem and wonder if this is possible to solve.
Following situation. I do have a page, where you do have a frame inside
that page. That frame holds different links to pages inside the mother
page. The purpose is to show changes since last login. If you click on
one link inside it takes you to the changes. If there are a lot of
changes you might need to use the internal vertical scroll bar inside
the frame. Here is where the problem starts! If you have to scroll down
quite a bit and you click on a link,the page loads and you have again to
scroll down within the iframe to get to the link you just clicked on for
clicking the next on underneath. I would like to have the last clicked
link on top inside this frame.
So I tried to call that frame like this: frame.html#4 but that results
not only to correctly jumping to this link, but also that the whole page
starts at that link. I mean there are about 200pixels above that frame
and those are now scrolled to the point of the link as well.
Has anybody an idea on how to adress only the iframe with a hash #, or
some other way to define the srolling position within the iframe upon
loading? Maybe JavaScript could jump in there somehow?
Thank you for any help on that.
Regards,
merlin
PS: Unfortunatelly I can not provide a link, as this is inside a login
area.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Arne |
last post by:
During testing <div style="overflow:auto;"> in CSS I noticed the
mousewheel would work in Mozilla only after I made a <a href="#">some
text</a> link and clicked on that, within the div.
It appears as if Mozilla needs to have the focus set on that div in
order for the mousewheel to work. That's all that link does. The
mousewheel works perfectly in IE without the link. It scrolls the div
even if there is a scrollbar on the page.
Is...
|
by: Gary Hasler |
last post by:
I have a full page of thumbnails linked to home plan pages. I'm adding
a mouseover/mouseout effect to the table cells, plus a onclick event to
permanently set the cell background to indicate the user's latest
choice. This is in addition to the normal A HREF link, and seems to
work fine. I set up anchors (A name="") on the thumbnail page, and the
"Back to Plans" link from the home plan page contains a hash (#) to
scroll the page down and...
|
by: Marina |
last post by:
Hi,
I am trying to find the minimum security settings to allow a windows control
embedded in IE have full trust.
If I give the entire Intranet zone full trust, this works. However, this is
very broad and gives the entire zone high privleges.
I tried giving just the assembly full trust (using the full URL for the
DLL), but this doesn't seem to work.
|
by: PeterKellner |
last post by:
I'm having trouble setting a background style in a master page. The
declaration in the master page looks like this:
<div id="header_image" runat="server" style="background: transparent
url(images/bg_header.jpg) repeat-x scroll 0% 0%;;cursor: pointer;">
</div>
I tried adding runat="server" as well as changing the url to
~/images/bg_head.jpg but that didn't work.
|
by: laredotornado |
last post by:
Hi,
I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed
using Apache's apxs and the php library was installed to
/usr/local/php. However, when I set my "error_reporting" setting to be
"E_ALL", notices are still not getting reported. The perms on my file
are 664, with owner root and group root. The php.ini file is located
at /usr/local/lib/php/php.ini. Any ideas why the setting does not seem
to be having an effect? ...
| |
by: bats fur eels |
last post by:
Hi, I was hoping if anyone knew if it were possible using HTML or other basic scripts that enable you to lets say, scroll the webpage down a few margins upon load of page or script. So that it will automatically scroll down for you in case their is a certain spot of the website that you want them to see first. Or in the case of a profile, etc, you can automatically have it scroll down to a certain section in your profile instead of the user...
|
by: Steve67 |
last post by:
I am working in Access 2003. I am trying to set up a form created from a query with a parameter setting. The user will have to type in a specific part number in order for the form to pull up. Thats the easy part and got it working just fine. The only problem is I only have the knowledge to set up so the user has to enter the whole 8 digit part number and most of the users only know go by the last 4 digits. Is there a way I can write the query...
|
by: Stevo |
last post by:
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...
|
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: 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: 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...
|
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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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...
| |