Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mimicking frames... ...but framelessly

Featured Replies

Hi guys,

 

Is there a way (that doesn't affect SEO - each page is treated as a "separate" page) to mimick frames using content <div>s?

 

Taking a simple grid based site as an example. You have a full width header, a sidebar, and a main content area. Secondary navigation menu is in the sidebar. When you click a menu item, the content is loaded (changed/updated) in the main content area, but the header and sidebar do not need reloading.

 

The requirement is that the client sees the page as a new address though (for history, search engine crawling, etc.).

 

Is this possible using AJAX or another method? If it *is* possible, is it good practice or not?

 

Cheers,

 

Martin

Ajax or PHP can load another page in a place on the same page.

 

However, most people would do it the reverse way. Your example has a common header and sidebar, so create different pages for each main content and repeat the common header and sidebar with php "includes". That's better for SEO.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.