Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

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.

HTML/CDML and Browser differences

Featured Replies

  • Newbies

I have been racking my brain but the solution to this problem has eluded me - either that or my skills and knowledge is just up the creek.

I have a navigation bar that is constructed based on CDML IF statements i.e:

[FMP-IF:activity.neq.] Activity [/FMP-IF]

[FMP-IF:contact.neq.] Contact Us [/FMP-IF]

[FMP-IF:tours.neq.] Tours [/FMP-IF]

[FMP-IF:Jobs.neq.] Jobs [/FMP-IF]

When I test to see how this looks (given that all areas have something in them) in Netscape it is fine, but in IE there are big spaces between each if statement - does anyone know how to get rid of these spaces so that it appears like normally spaced text?

Remove the returns between IF statements in the format file.

Alternatively, set up your fields so you display the field values themselves, thereby doing away with the IFs completely. (If the contact feld is empty, nothing will display anyway -- so there's no need for an IF.)

  • Author
  • Newbies

I have set up the whole thing in a table with no returns so I can not get rid of those and in relation showing the field content - some of the fields can contain a large amount of information - all I am after is an achored link from this nav bar to a location further down the page, I also wanted to avoind having an obvious space if nothing was entered in the field - I thought that IF statements would help this.

What if you have all of your table tags within the [FMP-If] statements?

All the best.

Garry

  • Author
  • Newbies

I will give it a try - but having a look at the way the source comes out with the different browsers - with Netscape and Opera - the anchor tags are '#anchor' - whereas IE the anchor tags carries the whole filemaker string with #anchor on the end - is this where my problem lies?

Also upon consideration maybe I do need construct the web page a little simpler as suggested by Vaughan!?

I only know I have terrible problems with NN6 and anchors. Didn't work. So I am displaying the links to anchors only in IE.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

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.