Help - Search - Members - Calendar
Full Version: WEb link
HTMLHelp Forums > Web Authoring > General Web Design
jamesed
I am using Linux Mint, and its chromium web browser. When I used Firefox; and after using a weblink to another page on my site (example: <A HREF="INSIDE HELP.HTML" STYLE="COLOR:ORANGE">HEARING</A>), it would always return to the departure line of the the first HTML page.
However, in chromium, it returns to the top of the first page.
Is there any way that I can correct this, to mimic Firefox's actions?
pandy
QUOTE(jamesed @ Nov 21 2019, 03:34 PM) *

I am using Linux Mint, and its chromium web browser. When I used Firefox; and after using a weblink to another page on my site (example: <A HREF="INSIDE HELP.HTML" STYLE="COLOR:ORANGE">HEARING</A>), it would always return to the departure line of the the first HTML page.
However, in chromium, it returns to the top of the first page.
Is there any way that I can correct this, to mimic Firefox's actions?



Return? You mean if you use the back button? I don't know why that differs between browses and pages. I've wondered about that myself.

Not related, but your link is incorrect. URLs can't contain spaces. They must be URL encoded. Like so.
CODE
INSIDE%20HELP.HTML


But for many reasons it's better to avoid spaces in file names to begin with. You can use hyphen or underscore as a word separator instead.
jamesed
QUOTE(pandy @ Nov 21 2019, 12:30 PM) *

QUOTE(jamesed @ Nov 21 2019, 03:34 PM) *

I am using Linux Mint, and its chromium web browser. When I used Firefox; and after using a weblink to another page on my site (example: <A HREF="INSIDE HELP.HTML" STYLE="COLOR:ORANGE">HEARING</A>), it would always return to the departure line of the the first HTML page.
However, in chromium, it returns to the top of the first page.
Is there any way that I can correct this, to mimic Firefox's actions?



Return? You mean if you use the back button? I don't know why that differs between browses and pages. I've wondered about that myself.

Not related, but your link is incorrect. URLs can't contain spaces. They must be URL encoded. Like so.
CODE
INSIDE%20HELP.HTML


But for many reasons it's better to avoid spaces in file names to begin with. You can use hyphen or underscore as a word separator instead.


i inserted the %20, but it is still the same actin with the back button. Thanks for your help, though.
Christian J
QUOTE(jamesed @ Nov 21 2019, 03:34 PM) *

after using a weblink to another page on my site

Does this only happen on your own pages? If so, maybe someting else on your pages might be interfering.

(My Chromium-based Windows browser returns to the previous page's departure line, just like my other browsers.)
pandy
QUOTE(jamesed @ Nov 21 2019, 09:10 PM) *

i inserted the %20, but it is still the same actin with the back button. Thanks for your help, though.


As I said, it doesn't have impact on your problems. But it could make your link not working. Many modern browsers mend mistakes like that, but probably not all of them and I have no idea how search engines handle it. So better do it right. Broken links are dead ends.
pandy
QUOTE(Christian J @ Nov 21 2019, 09:22 PM) *

QUOTE(jamesed @ Nov 21 2019, 03:34 PM) *

after using a weblink to another page on my site

Does this only happen on your own pages? If so, maybe someting else on your pages might be interfering.

(My Chromium-based Windows browser returns to the previous page's departure line, just like my other browsers.)


I've had browsers behave differently. And on some pages it doesn't work in any browser. I think they are dynamic pages. It irritates me and in fact I've planned to ask about it myself, but never got around to it.
jamesed
QUOTE(pandy @ Nov 21 2019, 03:30 PM) *

QUOTE(Christian J @ Nov 21 2019, 09:22 PM) *

QUOTE(jamesed @ Nov 21 2019, 03:34 PM) *

after using a weblink to another page on my site

Does this only happen on your own pages? If so, maybe someting else on your pages might be interfering.

(My Chromium-based Windows browser returns to the previous page's departure line, just like my other browsers.)


I've had browsers behave differently. And on some pages it doesn't work in any browser. I think they are dynamic pages. It irritates me and in fact I've planned to ask about it myself, but never got around to it.



I FOUND THE ANSWER TO BE, TO INSERT target="_blank" INTO THE HYPERLINK. THIS WILL EITHER OPEN A NEW TAB, OR A NEW WINDOW; DEPENDING ON HOW THE BROWSER IS CONFIGURED.
pandy
Well, that's a solution, but it's not the answer. wink.gif
jamesed
QUOTE(pandy @ Nov 26 2019, 11:04 AM) *

Well, that's a solution, but it's not the answer. wink.gif



AGREED!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2020 Invision Power Services, Inc.