I need the browser to scroll my asp.net page to the bottom when the user
clicks on a server-side link or button at the top of the page. I added an
anchor tag <a name=#bottom> to the html and tried to attach javascript to
the click event of the button that creates <a href=#bottom>, but it won't
work. Does anyone know the best way to do this? I am using ASP.NET 1.1.
Thanks, 4 8192
For IE only... http://msdn.microsoft.com/workshop/a...llintoview.asp
"magreenb" <ma******@commu nity.nospam> wrote in message
news:uN******** ******@TK2MSFTN GP04.phx.gbl... I need the browser to scroll my asp.net page to the bottom when the user clicks on a server-side link or button at the top of the page. I added an anchor tag <a name=#bottom> to the html and tried to attach javascript to the click event of the button that creates <a href=#bottom>, but it won't work. Does anyone know the best way to do this? I am using ASP.NET 1.1. Thanks,
Thanks for Rich's input,
Hi magreenb,
Here are some other web articles discussing on use script code to control
scrolling in web page:
#How to Scroll a Page With JavaScript http://www.mediacollege.com/internet...ge/scroll.html http://www.mediacollege.com/internet...ge/scroll.html
Hope also helps.
Regards,
Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Thanks Steven and Rich for your replies!
I implemented Rich's suggestion last night and it works great. I'll
definitely check out Steven's links today.
Thanks,
Mark
"Steven Cheng[MSFT]" wrote: Thanks for Rich's input,
Hi magreenb,
Here are some other web articles discussing on use script code to control scrolling in web page:
#How to Scroll a Page With JavaScript http://www.mediacollege.com/internet...ge/scroll.html http://www.mediacollege.com/internet...ge/scroll.html
Hope also helps.
Regards,
Steven Cheng Microsoft Online Community Support
=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights. Get Secure! www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no rights.)
You're welcome Mark,
Regards,
Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Keller |
last post by:
We're incorporating Google Adsense into our website and are trying to
have the ad box scroll with the page.
Ideally the layer would move with the page as people are scolling
down. I've seen other sites do this, but I have no idea how to do it.
When I set the layer to be 'fixed', the layer stays in place when
people scroll when using Opera...
|
by: eric |
last post by:
I am attempting to create <A HREF> links to <A NAME> targets in a series
of extremely wide web pages composed of tables with text and images
sitting side by side. This is a failure since both Netscape and
Explorer seem to assume that <A NAME> anchors target part of a vertical
web page, where all that is needed is for the window to advance to...
|
by: Stan Brown |
last post by:
On every page I have a <p ID="URhere"> that appears only when you
print. (It's "display:none" in the general style sheet.) It would be
nice if I could suggest that the browser print it at the bottom of
the last page,(*) rather than immediately after the last text.
Example:
http://oakroadsystems.com/genl/unice.htm
I read the text on "paged...
|
by: al jones |
last post by:
I guess one question at a time will work better.
URL http://aljones.us (yes, I'm back again)
I'd like to cause this whole page to fill the viewable window if I can.
Meaning that I'd like the entire page to be visible on the current users
screen.
That means that I'd like one or both of the divs to scroll. I've found how
to do that, I...
|
by: Paul Fi |
last post by:
when i scroll up and down a page i want the panel inside to move as well
so that it doesnt disppear when scrolling the page:
now i have this javascript code, that does that, but it's not so smooth:
prevScroll = 0;
function scroll(){
var displayFrame = document.all("ifrmDisplay");
| |
by: somaboy mx |
last post by:
I'm looking for a way to keep a footer menu attached to the bottom of
the browser window, overlapping other content if the page height exceeds
the browser window's height.
so far, I've com up with:
position: absolute;
bottom: 0 px;
width: 100%;
|
by: Edward |
last post by:
I created a simple CSS layout (code and example below) for
bloggin/writing but ran into five issues that I need help with:
1. How do I get rid of the right-margin red line on the last three
right-boxes in Internet Explorer?
2. How can I put a 4px margin BETWEEN the right-boxes, "border-top:
4px" didn't do it and if I put in a "margin-top:...
|
by: gobi517 |
last post by:
hi...
i have just started with web pages designing using ASP. I have created a horizontal menu in my header. What i want is, if the window is made smaller, ONLY the HORIZONTAL SCROLLBAR should appear....and VERTICAL SCROLLBAR SHOULD NEVER appear!
i know that i have to use ---> scrolling = "yes / no /auto"...but for this situation, how to...
|
by: metaphysics |
last post by:
I am using a jQuery script called LocalScroll, and I have a quick problem that needs fixing. The demo for the script is here: jQuery.LocalScroll - Regular Demo, and the documentation is here: Ariel Flesler: jQuery.LocalScroll. The Local Scroll script uses the toScroll and jQuery scripts to function.
I don't really understand what "hash" means,...
|
by: rosta |
last post by:
Hi,
I found following problem in FF 3.0.9 (it looks it is FF problem only). See few lines of code below:
<html>
<head>
<title>TEST</title>
<script type="text/javascript">
function act() {
document.getElementById('p_id').innerHTML = '';
|
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...
| |
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...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
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...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
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...
|
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...
| |
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...
| |