The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Forcing every html page to another page before the actual request page...
vphtml1
post May 9 2025, 03:18 AM
Post #1





Group: Members
Posts: 3
Joined: 9-May 25
Member No.: 29,457



I would like to post a notice before any pages are selected. I want to let my members know I am about to freeze my site after running for over 29 years. Many users jump to specific pages - I would like my system to actually jump to a notice page and then to the page selected. Hope that makes sense...

Thanks for you suggestions.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post May 9 2025, 01:51 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,806
Joined: 10-August 06
Member No.: 7



There are different ways to achieve that, some more complicated than others...

How many pages does you site contain? Do you use any server-side scripting (like PHP and/or a database) to generate the web pages?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post May 10 2025, 02:51 AM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,815
Joined: 9-August 06
Member No.: 6



And there are other ways to do it. For example you could have an overlay on each page with the statement the first time the page is loaded. And maybe a permanent link to an information page if the visitor wants to read it again.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
vphtml1
post May 10 2025, 04:00 AM
Post #4





Group: Members
Posts: 3
Joined: 9-May 25
Member No.: 29,457



QUOTE(Christian J @ May 9 2025, 02:51 PM) *

There are different ways to achieve that, some more complicated than others...

How many pages does you site contain? Do you use any server-side scripting (like PHP and/or a database) to generate the web pages?


QUOTE(pandy @ May 10 2025, 03:51 AM) *

And there are other ways to do it. For example you could have an overlay on each page with the statement the first time the page is loaded. And maybe a permanent link to an information page if the visitor wants to read it again.


I am ashamed to answer this question. smile.gif I started this site (with constant updates) back in 1996 with a book on html. So, I currently have 10,973 files! Yes, that is correct - 10,973 html files.

When I learned about "include statements" (...#include virtual...) I did add them to most html pages so I wouldn't have to recode the top and bottom of each page. Pages with History had a different "include" and others with other information had a different "include" and so on... FWIW - I consistently exceed million hits per month.

Thanks everyone for suggestions.

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post May 10 2025, 06:06 AM
Post #5


.
********

Group: WDG Moderators
Posts: 9,806
Joined: 10-August 06
Member No.: 7



QUOTE(pandy @ May 10 2025, 09:51 AM) *

overlay on each page with the statement the first time the page is loaded.

Tracking the first time a page (site?) is loaded only works if the visitor allows cookies, so I'd advice against too intrusive overlays since cookie-denying users will be subjected to them on every page load. Popups and similar are of course always annoying; sometimes users close them without actually reading, thinking it's just an ad.

QUOTE
And maybe a permanent link to an information page if the visitor wants to read it again.

That also a complication. Maybe a permanently visible heading message is the simplest and most effective?


User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post May 10 2025, 06:11 AM
Post #6


.
********

Group: WDG Moderators
Posts: 9,806
Joined: 10-August 06
Member No.: 7



QUOTE(vphtml1 @ May 10 2025, 11:00 AM) *

When I learned about "include statements" (...#include virtual...) I did add them to most html pages so I wouldn't have to recode the top and bottom of each page.

That sounds like you could just add content right there. So perhaps a brief but visible message, along with a link to a more detailed separate page?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
vphtml1
post May 11 2025, 03:44 AM
Post #7





Group: Members
Posts: 3
Joined: 9-May 25
Member No.: 29,457



QUOTE(Christian J @ May 10 2025, 07:11 AM) *

That sounds like you could just add content right there. So perhaps a brief but visible message, along with a link to a more detailed separate page?

Geeeez, never thought of that. I just realized that I do include the same "bottom" (contains copyright stuff) on all main classification pages. That will work for me.

Thanks a bunch for putting me on the right track.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th May 2025 - 01:08 AM