Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ General Web Design _ WEb link

Posted by: jamesed Nov 21 2019, 09:34 AM

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?

Posted by: 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.

Posted by: jamesed Nov 21 2019, 03:10 PM

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.

Posted by: Christian J Nov 21 2019, 03: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.)

Posted by: pandy Nov 21 2019, 03:28 PM

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.

Posted by: 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.

Posted by: jamesed Nov 25 2019, 07:45 PM

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.

Posted by: pandy Nov 26 2019, 11:04 AM

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

Posted by: jamesed Nov 27 2019, 10:39 AM

QUOTE(pandy @ Nov 26 2019, 11:04 AM) *

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



AGREED!

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)