473,793 Members | 2,894 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Navigate to corresponding text

58 New Member
Hi,
I am creating a help document in asp.net.In that first i am giving the contents as links using anchor tag. When i am clicking one of the link it need to navigate to the corresponding explanation of that content. The explanation of the content i have given as text. Pls help me.

Thanks in advance.
Deeps
Apr 21 '09 #1
5 1474
RamananKalirajan
608 Contributor
This normal like anchoring within a page.

Ex:

<ul>
<li> <a href="#highligh tedText">Go to Highlighted Text</a></li>
....
....
</ul>

.
.
.
.
<a name="highlight edText">
... Your Text Content Goes Here ....
</a>

This is the way u can do that..

Regards
Ramanan Kalirajan
Apr 21 '09 #2
deegeorge
58 New Member
Hi,
Thanks for ur reply. Here wat u said i agree with it.But i dont want the explained text need to be a link. Is there anything like window.scollByL ines(35). This i have given like
<a href="" runat="Server" onclick="window .scrollByLines( 35);">Can i cancel</a>
But its not working is there any other javascript function that help me


Pls
Thanks in advance
Deeps
Apr 22 '09 #3
Dormilich
8,658 Recognized Expert Moderator Expert
the scrollByLines() JScript is imho unnecessary overhead, a link as proposed is exactly doing what you want (even with Javascript disabled)
Apr 22 '09 #4
deegeorge
58 New Member
Hi,
Thanks for reply..
Still i didnt get the answer for my question.
In one web page i am creating links as follows:
Expand|Select|Wrap|Line Numbers
  1. <a href="" runat="Server">Cancel the order</a>
  2. <a href="" runat="Server">Correct the order</a>
  3. <a href="" runat="Server">Mistake in the order</a>
This web page is a big one.
What i want is when clicking on the first link it need to navigate to the corresponding text in the same web page.
eg: the explanation text of first one is as follows:
Cancel the order
Cancelling the order.......... .........
Hope u got it.
earlier i got one answer from bytes.com give it as like this.

This normal like anchoring within a page.

Ex:

Expand|Select|Wrap|Line Numbers
  1. <ul>
  2. <li> <a href="#highlightedText">Go to Highlighted Text</a></li>
  3. ....
  4. ....
  5. </ul>
  6.  
  7. .
  8. .
  9. .
  10. .
  11. <a name="highlightedText">
  12. ... Your Text Content Goes Here ....
  13. </a>
This is the way u can do that..

Regards
Ramanan Kalirajan


I dont want the explained text as link...

Can u please help me..........
Please
What i want to do for this one............ .........


Thanks in advance
Deeps
Apr 22 '09 #5
Dormilich
8,658 Recognized Expert Moderator Expert
@deegeorge
Expand|Select|Wrap|Line Numbers
  1. <a name="some_name">…</a>
is not a link, it's just an anchor element (like <span>) you only call it a link if a href attribute is present. if you don't do any additional formatting, you will not even see it's an anchor element.

you can also put the anchor tag in front of the text, if you like:
Expand|Select|Wrap|Line Numbers
  1. <a name="some_name"></a>
  2. <!-- <a name="some_name"/> in XHTML-->
  3. <p>description coming here</p>
Apr 22 '09 #6

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

Similar topics

2
8312
by: Richard Bell | last post by:
Newbie question ... please respond to group I'm trying to open/navigate to a url. How can I tell when the page is fully loaded? Testing suggest that window.open returns before the page is completely loaded and displayed. Likewise, window.navigate. The code looks something like this: wHandle = window.open( url, name, flags ); .... // how to tell when url is fully loaded and displayed
1
5303
by: Joe Bond | last post by:
Hi. I have a simple MS Access 2000 form in which I enter some customer data. When the address field is entered I need to see if a duplicate record exists. I need to know this *right away* before the remaining fields are filled out, so I'm trying to call a function on the Address_LostFocus() event which will do the lookup. If a match is found, it should prompt the user to either continue, or navigate to the existing record. This is where...
1
3565
by: Ed | last post by:
Hi, I'm new .NET & C#. I have to do a form which has a tab control with 4 tabs. I want to be able to switch between these tabs with an access key. MSDN says that the '&' in a text of a button or label will enable an access key. But MSDN says this is not allowed for tab control. Is there any other wasy by which I can accomplish this?? Thanks in advance
0
1168
by: ae | last post by:
can someone help me? i copied this from msdn, and can't get it to work on the Response.Redirect. I think it should be that, and I also tried Page.Navigate("www.yahoo.com"), but that gave me an error so I thought I'd try it this way. <%@ Register TagPrefix="ie" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %> <HTML> <script runat="server">
4
2274
by: Peter Newman | last post by:
i have a dataset and want to step thrpugh each row each time a user clicks a button,
0
1223
by: Louis | last post by:
I‘m creating a web page that will consist of many pictures and text blocks. My goal is to confind text to individual pages and jumps to another page just like one would turn the pages of a magazine. QUESTION: Is there a code out there that would allow the viewer to click into a block of text and navigate his way through, using the arrow keys on the keyboard, ( like writers normally do when proofreading a story) until the blinking cursor gets...
1
4342
by: roveagh1 | last post by:
Hi I've been using the 2 year old link below to repeat values from previous record field into current corresponding field. It's worked fine for text but the last piece of advice was to use the same logic for a date field. i.e. theValue.defaultvalue = "#" & theValue.value & "#" I can't get this to work for some reason and I can't figure out why. Can anyone out there help? Thanks Repeat value of previous record field into current...
5
23452
by: timnels | last post by:
I have a web browser control that I'd like to point at a HTML file in my installation directory. I am doing something like: string path = Path.GetDirectoryName( Assembly.GetExecutingAssembly().GetModules() .FullyQualifiedName) + "\\howdoi.htm"; webBrowser1.Navigate(path); What do I need to do to form the correct URI string for a local file?
0
9671
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
9518
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
10212
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
10000
tracyyun
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...
1
7538
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
6777
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
5436
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...
1
4112
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
3
2919
bsmnconsultancy
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...

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.