473,597 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to Response and Go to specific area of a web page.

Hello,

How do I add some JavaScript into my Response
and make the page scroll to some specific area on my page in the Browser

when tired few thing it did not work at all

Any help and sample code, appreciated

Jackie

Nov 18 '05 #1
4 1639
What did you try so far?

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.

"MS News (MS ILM)" <sq***********@ hotmail.com> wrote in message
news:eJ******** ******@TK2MSFTN GP11.phx.gbl...
Hello,

How do I add some JavaScript into my Response
and make the page scroll to some specific area on my page in the Browser

when tired few thing it did not work at all

Any help and sample code, appreciated

Jackie

Nov 18 '05 #2
added onload event to form but did not work
I need something to happen after the page loads or something
it seems that the onload is not seen or executing

Jackie
"Eric Lawrence [MSFT]" <e_********@hot mail.com> wrote in message
news:uU******** ******@TK2MSFTN GP10.phx.gbl...
What did you try so far?

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.
"MS News (MS ILM)" <sq***********@ hotmail.com> wrote in message
news:eJ******** ******@TK2MSFTN GP11.phx.gbl...
Hello,

How do I add some JavaScript into my Response
and make the page scroll to some specific area on my page in the Browser

when tired few thing it did not work at all

Any help and sample code, appreciated

Jackie


Nov 18 '05 #3
Try using the window.scrollto method from javascript, or navigate to the
page with a <a name="something "> tag.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.

"MS News (MS ILM)" <sq***********@ hotmail.com> wrote in message
news:#3******** ******@TK2MSFTN GP11.phx.gbl...
added onload event to form but did not work
I need something to happen after the page loads or something
it seems that the onload is not seen or executing

Jackie
"Eric Lawrence [MSFT]" <e_********@hot mail.com> wrote in message
news:uU******** ******@TK2MSFTN GP10.phx.gbl...
What did you try so far?

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no

rights.

"MS News (MS ILM)" <sq***********@ hotmail.com> wrote in message
news:eJ******** ******@TK2MSFTN GP11.phx.gbl...
Hello,

How do I add some JavaScript into my Response
and make the page scroll to some specific area on my page in the Browser
when tired few thing it did not work at all

Any help and sample code, appreciated

Jackie



Nov 18 '05 #4
Eric,

Thank you, I will try it.

Jackie

"Eric Lawrence [MSFT]" <e_********@hot mail.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Try using the window.scrollto method from javascript, or navigate to the
page with a <a name="something "> tag.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.
"MS News (MS ILM)" <sq***********@ hotmail.com> wrote in message
news:#3******** ******@TK2MSFTN GP11.phx.gbl...
added onload event to form but did not work
I need something to happen after the page loads or something
it seems that the onload is not seen or executing

Jackie
"Eric Lawrence [MSFT]" <e_********@hot mail.com> wrote in message
news:uU******** ******@TK2MSFTN GP10.phx.gbl...
What did you try so far?

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no

rights.

"MS News (MS ILM)" <sq***********@ hotmail.com> wrote in message
news:eJ******** ******@TK2MSFTN GP11.phx.gbl...
> Hello,
>
> How do I add some JavaScript into my Response
> and make the page scroll to some specific area on my page in the Browser >
> when tired few thing it did not work at all
>
> Any help and sample code, appreciated
>
> Jackie
>
>
>



Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
4012
by: mallyonline | last post by:
I last posted to this group about 6 months ago and was very pleased by the excellent response I got and the great help offered to me. I am back this time with another request for your expert help on a bit of ASP code I use on my windows server 2003 with IIS6 machine. I would like the code below to display in different colours depending on the status of the page. I am looking to make the not logged in code appear red and the logged in...
4
1429
by: mtv | last post by:
Hi all, I have a page default.aspx and lots of user controls (Top.ascx, LeftNav.ascx, Page1Content.ascx, Page2Content.ascx...). The default.aspx contains Top.ascx, LeftNav.ascx at design time, and dynamically loads PageNContent.ascx based on user's selection. That is if user select Page1->Page1Content.ascx is loaded at run-time.... In Page1Content.ascx, if I have Response.write("...."), this will write the output on top of the output...
22
1590
by: EMW | last post by:
Hi, When I use Response.Write "something" it is placed at the top op de html document above the <HTML> tag. I need it to be put in the BODY part. How can I do this? rg,
1
1625
by: Kevin Blount | last post by:
Background: My script is designed to only allow the downloading of a file if a cookie exists to say that someone is logged into my companies site. A colleague set up a test area the extension .EXE is associated with the aspnet_isapi.dll. This means that if anyone tries to access a .EXE file in this area, web.config is run and web.config contains the code: <authentication mode="Forms"> <forms name="myCookie2" loginUrl="login.aspx" />
6
6117
by: Abel Chan | last post by:
Hi there, I am trying to use ASP.NET to populate list of files with hyper link from a specific directory. The following code works well but it populates the list to the top of the web page. I have header and footer defined on the web page. How could I write the list to the body session like a specific area, a table or a list box control? Thanks in advance.
4
10871
by: Hexman | last post by:
Code below ---- I've asked a similar question on this forum earlier. This is a slightly different situation. Previous Question ---- I'm trying to save some specific web pages to disk as text files. I searched the Internet and found a basic example which I changed to fit my needs. I tested it out first on a single URL and it worked fine. Now when I incorporate an array of URL's, it fails to work. The first "responseFromServer"...
4
2224
by: figelwump | last post by:
All, I am writing an HTTP 1.1 compliant proxy in c#.NET, for use as a proxy server for any web browser (IE, firefox, etc). I've got it working fine for GET requests. However, when a POST request is issued by IE, I find that sometimes IE does not render the page, even though my proxy reports that it successfully sent the response from the server back to IE. So, in IE a blank page is rendered. If I use a plugin like IEWatch, it seems...
13
31380
by: =?Utf-8?B?S2VzdGZpZWxk?= | last post by:
Hi Our company has a .Net web service that, when called via asp.net web pages across our network works 100%! The problem is that when we try and call the web service from a remote machine, one outside of our domain, we get the error.. ** Client found response content type of 'text/html; charset=Windows-1252', but expected 'text/xml' **. We can discover the web service by typing in the url of the asmx so we know the server can 'see' it...
1
1497
by: tomorobi | last post by:
I have the following Javascript function on a page: function makeBold(target) { document.getElementById(target).focus(); document.getElementById(target).value=document.getElementById(target).value.concat('<b></b>'); } On the page is an image with this HTML: <a onclick="javascript: makeBold('description');"><img src="images/button_bold.gif" border="0"></a>
0
7969
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
7886
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,...
0
8272
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, 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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8381
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...
0
6688
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5847
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
5431
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
3927
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1494
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.