- In the extension bar, click the AdBlock Plus icon
- Click the large blue toggle for this website
- Click refresh
- In the extension bar, click the AdBlock icon
- Under "Pause on this site" click "Always"
- In the extension bar, click on the Adguard icon
- Click on the large green toggle for this website
- In the extension bar, click on the Ad Remover icon
- Click "Disable on This Website"
- In the extension bar, click on the orange lion icon
- Click the toggle on the top right, shifting from "Up" to "Down"
- In the extension bar, click on the Ghostery icon
- Click the "Anti-Tracking" shield so it says "Off"
- Click the "Ad-Blocking" stop sign so it says "Off"
- Refresh the page
- In the extension bar, click on the uBlock Origin icon
- Click on the big, blue power button
- Refresh the page
- In the extension bar, click on the uBlock icon
- Click on the big, blue power button
- Refresh the page
- In the extension bar, click on the UltraBlock icon
- Check the "Disable UltraBlock" checkbox
- Please disable your Ad Blocker
- Disable any DNS blocking tools such as AdGuardDNS or NextDNS
- Disable any privacy or tracking protection extensions such as Firefox Enhanced Tracking Protection or DuckDuckGo Privacy.
If the prompt is still appearing, please disable any tools or services you are using that block internet ads (e.g. DNS Servers, tracking protection or privacy extensions).
Question
McCordRm
Currently, my site is (except the jquery menu) entirely HTML/CSS.
I'm building it with Includes to make updates easier: update the Menu file and
it's updated everywhere that menu is loaded.
Think Lego blocks. The header is its own file, the footer, etc. Like so:
<include header.css>
<include content.css>
<include footer.css>
And thus, the webpage is displayed.
The only thing that changes on my site is the Content area. So, I'm curious if
PHP can perform this function for me:
1. Instead of having different content.css file, have a $Content variable. When
the site first loads, the $Content variable is set to Home. Therefore, for the
content section, it includes the Home.css file.
2. If you click Stories in the main menu, the $Content variable is then set to
Stories. The exact same load sequence happens but instead of home.css it
now loads stories.css file.
I'm thinking dynamically. When you have a rollover image effect, there is one image
displayed on the page. You hover your mouse over the image and the image updates,
but the rest of the page stays exactly the same. I'd like to do this for my content area.
Link to comment
https://www.neowin.net/forum/topic/930690-php-question/Share on other sites
22 answers to this question
Recommended Posts