Newbies fm_interest Posted June 18, 2002 Newbies Posted June 18, 2002 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?
Vaughan Posted June 19, 2002 Posted June 19, 2002 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.)
Newbies fm_interest Posted June 19, 2002 Author Newbies Posted June 19, 2002 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.
Garry Claridge Posted June 19, 2002 Posted June 19, 2002 What if you have all of your table tags within the [FMP-If] statements? All the best. Garry
Newbies fm_interest Posted June 19, 2002 Author Newbies Posted June 19, 2002 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!?
Anatoli Posted June 19, 2002 Posted June 19, 2002 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.
Recommended Posts
This topic is 8184 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now