This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 27 - Pages: 2 [ Previous | 1 2 ] - Last Post: 1 Apr 26, 03:45 Last Post By: Laza
Frolin

Posts: 51
Registered: 17-Dec-2022
Re: the Return button clears URL masking
Posted: 28 Mar 26, 08:01   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Jeff,

After 30 years of web pages, my site and various websites under it, are all in a major revamp. So not boosting it yet. Many pages old, so building new not upgrading. Thus today not all the pages are complete, several left overs until replaced.

Phones are the last thing I work on, as not a good choice for viewing pictures (3in scr vs 27in wide scr). ha

Serious folks don't play on their phone to see full size pictures - har har.

Frolin
JeffTucker

Posts: 8,297
Registered: 31-Jan-2006
Re: the Return button clears URL masking
Posted: 28 Mar 26, 08:03   in response to: Frolin in response to: Frolin
 
  Click to reply to this thread Reply
OK, I'll delete it. But it's publicly visible from the entries on your profile page. How do you think I found it?! :)
JeffTucker

Posts: 8,297
Registered: 31-Jan-2006
Re: the Return button clears URL masking
Posted: 28 Mar 26, 08:10   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
BTW, the <frameset> tag was removed from the HTML standard in 2014. Browsers still support it, but you can't count on that support - it could vanish tomorrow.
Frolin

Posts: 51
Registered: 17-Dec-2022
Re: the Return button clears URL masking
Posted: 28 Mar 26, 09:01   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Laza,

Send you and Jeff a direct message with links to pages on my site, and examples of what I have rigged and working, and what is not working.

I gather different terms these days, but URL / Domain Masking is what we called it for years, where people type a domain name and that stays in the Address Bar.
  • on GoDaddy the option is "Forward with Masking"

Thus when people type the domain name, then go to various pages and sub-pages, they still see just the domain name (or the label setup), not the real backend url address stuff.

The problem found months ago is, when returning from a jAlbum page, the masking is lost.

About 30 years hosting my site, plus a couple hobby sites for friends, and a couple regional and national hobby event sites, all with many photo pages, that URL domain "Masking" has covered up the true back end address line details for most folks not curious enough to get in to the URL address.

So today... trying to figure out why, when a visitor leaves a photo album created by jAlbum software, going back to the photo menu, the domain masking is being lost.

Had 2 guys point me to the... target="_parent" piece in the code for returning to the menu page (when you hit that up arrow).

Testing tonight, grumbles and cussing, found editing that to... target="_self" seems to avoid the Masking being lost. Have 3 working pages so far here at 2am.
. . not html wizard thus using software to do the coding


So my hopes are... there is a setting I missed in jAlbum or a better option than manually editing the index.html file every time I create a new photo page.

thanks for reading and your help!
Frolin

Laza

Posts: 1,500
Registered: 6-Sep-2005
Re: the Return button clears URL masking
Posted: 28 Mar 26, 10:11   in response to: Frolin in response to: Frolin
 
  Click to reply to this thread Reply
Yes, target="_self" is the solution to load a page into the same frame.

I know, it's tough work, but you should consider quitting using framesets. Tiger supports adding your site's top menu, which should work IMO. Today, 60% of traffic comes from mobile devices, and framesets ruin the user experience, besides no URL sharing, no Google search ranking, and so on.
JeffTucker

Posts: 8,297
Registered: 31-Jan-2006
Re: the Return button clears URL masking
Posted: 28 Mar 26, 12:22   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Laza wrote:
Yes, target="_self" is the solution to load a page into the same frame.

Just curious - why are you using the target="_parent" attribute at all? I've literally never used it, anywhere.
Laza

Posts: 1,500
Registered: 6-Sep-2005
Re: the Return button clears URL masking
Posted: 28 Mar 26, 13:39   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
As far as I remember, that was also a user request, also related to Frameset use, but I can't recall the details.
JeffTucker

Posts: 8,297
Registered: 31-Jan-2006
Re: the Return button clears URL masking
Posted: 28 Mar 26, 13:50   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Time to ditch it, I'd say! :)

I do recall offering it as an option in one of my now-defunct skins, many, many years ago, for the same reason. Now, of course, framesets are truly dead dogs, so....

The only place I ever use a target attribute is on a web location, and that's for target="_blank". By default, they open in the same tab, but I can understand why a user might want to open the webloc in a new tab, rather than leaving the site, so I offer it as an option.
Frolin

Posts: 51
Registered: 17-Dec-2022
Re: the Return button clears URL masking
Posted: 28 Mar 26, 22:58   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Laza,

Thanks but not clear on the direction. I gather 'framesets' maybe come from the GoDaddy system of domain "Forward with Masking" feature.

Masking is needed in my case, so visitors going to Bob's Hobby page do not see the true URL showing the address of...
\Frolin \Bob \Projects \June-2024 \index.html

As have a handful of websites I host for friends and area events, and do not want my account info to start off in the URL field, taking away from the site name / domain name.

`
Back to the issue today, it appears the start="_parent" is put in the html code with the Return to / Home Page coding, when jAlbum is creating the photo album page.

That is flushing the masking. And do not see an option / choice how to handle the Return setup, the system just goes the _parent setting.

Laza

Posts: 1,500
Registered: 6-Sep-2005
Re: the Return button clears URL masking
Posted: 29 Mar 26, 08:08   in response to: Frolin in response to: Frolin
 
  Click to reply to this thread Reply
I wouldn't call it "Masking", the URL in the address bar is the URL of the frameset page. I don't know how your site is built, and I haven't received the link, but I guess you probably want the frameset to remain. That is why the target="_parent" is used in the "Home page link" of the Tiger album. Add the (absolute) URL of the frameset page as Settings / Pages / Link to External Homepage box. I don't know where it went wrong in your case, but probably you haven't used the absolute URL (https://site.com/).
JeffTucker

Posts: 8,297
Registered: 31-Jan-2006
Re: the Return button clears URL masking
Posted: 29 Mar 26, 23:11   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
I've sent the page link to Laza, with some navigation tips.

Laza wrote:
I know, it's tough work, but you should consider quitting using framesets. Tiger supports adding your site's top menu, which should work IMO. Today, 60% of traffic comes from mobile devices, and framesets ruin the user experience, besides no URL sharing, no Google search ranking, and so on.

Another downside: someone visits the site, and follows some menus to get to something they find interesting. Then they bookmark that page, thinking they'll come back to it later. But the bookmark is pointing to the site entry page. They've lost the navigation that got them to what they wanted.

On your site, for example, go to My Travels, then Colorado 2025. Try to bookmark the Colorado album. ;)
Frolin

Posts: 51
Registered: 17-Dec-2022
Re: the Return button clears URL masking
Posted: 30 Mar 26, 00:29   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Laza wrote:
I wouldn't call it "Masking", the URL in the address bar is the URL of the frameset page. I don't know how your site is built, and I haven't received the link, but I guess you probably want the frameset to remain. That is why the target="_parent" is used in the "Home page link" of the Tiger album. Add the (absolute) URL of the frameset page as Settings / Pages / Link to External Homepage box. I don't know where it went wrong in your case, but probably you haven't used the absolute URL (https://site.com/).

Laza,

Did you not get the long PM I sent you yesterday that had two links, one to the working rigged pages and one to the not-working other pages ?
With these you could see the issue happen.

Not sure what you call it, but "masking" is the industrial term I have seem used for years, including today on two hosting sites I use (GoDaddy feature says "Forward with Masking").

I have in fact used the absolute URL on the "Home page link" setup.

This issue does not happen with other pages and websites I have, using other software like the photo-tour software I had been using for years before migrating to jAlbum. I use Xara for the site itself and pages, and the other pages work fine.

The problem is when going to a page created by jAlbum that when you click the 'Return to home' link and it uses the start="_parent" code as part of that Home page link, that coding is clearing the URL masking.
Manually editing the index.html file after jAlbum created it to have start="_self" seems to work around the issue.

So how to get the issue addressed? Maybe an option asking, with the Home link to use parent or self, as to the needed handling of that absolute URL to get to the other page.

Laza

Posts: 1,500
Registered: 6-Sep-2005
Re: the Return button clears URL masking
Posted: 30 Mar 26, 06:26   in response to: Frolin in response to: Frolin
 
  Click to reply to this thread Reply
"URL masking" is a wrong idea and has a fundamental flaw you'll never be able to fix.

The target="_parent" was used to fix the situation where you want a child page to reload the site's main frameset. The main frameset is the only one that shows the masked URL.

But you want to return to different stages of the site root (https://yoursite.com/). No way you can resolve this. A link can only address the complete frameset, but not the individual pages within that.

The whole idea of the "URL masking" works only if you can live with the fact that the return address is always your site's root page. I'd say "URL masking" is smoke and mirrors, a marketing fluff, and besides GoDaddy, no other web hosting companies embrace this technique because of its drawbacks.

No URL sharing, no bookmarking, no social media sharing beyond the main page, and a crippled mobile layout. Does hiding the URL address worth all this trouble?
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums