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

I want to open a page and search for a specific string. Can I do that?

Hello,

I want to link to an external HTML document. This is an extremely long
document which has hardly any internal link names in it.

Is there any way I can open the document and use some piece of code to
scroll the user's browser down to the relevant sentence in the document
that I want to point to?

I already sense a negative answer here, so no need to spend much time
explained why not.

Jul 20 '06 #1
2 1215
Jasbird wrote:
I want to link to an external HTML document. ...
<snip>
Is there any way I can open the document and use some piece of code to
scroll the user's browser down to the relevant sentence in the document
that I want to point to?
If 'external' means not the same domain (or a sub domain) then you will
absolutely not be able to access the contents of the page under the
normal Internet security restrictions of web browsers with client-side
scripts.
I already sense a negative answer here, so no need to spend much
time explained why not.
Fine.

Richard.

Jul 21 '06 #2
On 21 Jul 2006 03:16:36 -0700, "Richard Cornford"
<Ri*****@litotes.demon.co.ukwrote:
>Jasbird wrote:
>I want to link to an external HTML document. ...
<snip>
>Is there any way I can open the document and use some piece of code to
scroll the user's browser down to the relevant sentence in the document
that I want to point to?

If 'external' means not the same domain (or a sub domain) then you will
absolutely not be able to access the contents of the page under the
normal Internet security restrictions of web browsers with client-side
scripts.
>I already sense a negative answer here, so no need to spend much
time explained why not.

Fine.

Richard.
If the pages were in domains under my control I could just edit the html
to put some links in there! I'm sorely tempted to copy the content over
to my own domain and put named links in. (They are government documents
available at government web-sites)

At the moment I have to say: open page http://www.blah.blah/blah.htm
(search for "platypus's erection"). It presumes the user knows how to
search a html page.

Jul 22 '06 #3

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

Similar topics

5
by: MM | last post by:
Hello, Can anyone help me with this: I would like to use a help functionality in my program, in such way that a specific page (or topic) in the help file (a standard Windows .hlp file) is...
2
by: Got2Go | last post by:
Hello, I am trying to come up with a function that will search the source of the page for a specific string. If that string is found, then have it modify specific tags inside of a table and...
25
by: Steal | last post by:
Hi at all I try to validate this page using the link: http://validator.w3.org/ but it return that this is not a valid HTML 4.01 page please where is it error? Steil <!DOCTYPE HTML PUBLIC...
4
by: Nikos | last post by:
Hi... I would like to search for a hex string (for example: "E903") inside a binary file... Although I open the file correctly, how do I search hex values? Thanks in advance! Nikos
11
by: Joe | last post by:
Hello All, I have an ASP.NET page with one Textbox (SearchTextBox) and one ImageButton (SearchButton) server controls. The user can type search text in SearchTextBox and click SearchButton and...
3
by: dkalsow | last post by:
Good Morning, Does anyone have an example (in vb .net) of how I can bring down an internal web html page into a string variable and then search for a specific string. The web page is internal...
3
by: mathewda | last post by:
I'm currently work'n on a project where I'm dynamically generating some HTML as text into a string builder. My ASP page has a <span> tag on it and after I gernerate HTML to my string builder I...
91
by: jerger | last post by:
I want to help teach to a minority group in Milwaukee, so I want to create a dictionary program that translates a sentence (like a homework problem or teacher instructions), from English into Hmong....
5
by: th1982 | last post by:
HI All I have a search page' s result which view 3results/per page,but my "next" link to view next page is not working. Here is my code : <?php // Get the search variable from URL ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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
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...
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.