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.

Design question: line break within [FMP-RECORD]

Featured Replies

  • Newbies

I need help!

I

well i know some people aren't going to like this. but i can provide a solution that uses javascript. I know a few people in here don't like to use it, but if you want it, give me a little bit and i will see if i can write it out for you.

  • Author
  • Newbies

Yes! Please! I

well this code should do it.. let me know if you have any more questions i will try to explain it in more detail if you need me too

code:


<script language="javascript">

var howmany = 0

</script>

<table border="0">

<tr>

[FMP-record]

<td>

[FMP-field:Event]

<!--whatever fields you want to display in each table cell go here--->

</td>

<script language="javascript">

var howmany = howmany + 1

if (howmany ==5)

{document.write("</tr><tr>")

howmany = 0}

</script>

[/FMP-record]

</tr>

</table>


[ April 03, 2001: Message edited by: bman ]

RE: ...well i know some people aren't going to like this.

Not me. You have my full support! Whatever works -- use it!

Anatoli, thanks.

i just know that when i say the word javascript in here there are a few people that run and hide.. but i'm telling you.. the intranet site i am designing would be no where without javascript..

  • Author
  • Newbies

It works just fine now. Thanx a lot. laugh.gif" border="0

no problem, glad to help.

[ April 04, 2001: Message edited by: bman ]

bman is gifted by JavaScript. We all will benefit from his abilities in that field.

DO NOT DISCOURAGE HIM!

Important is though to put <NOSCRIPT> You must enable JavaScript </NOSCRIPT> message into HTML

yeah i sometimes forget to put that in.. because i design on a intranet mostly so i know that everyone that uses my site will have javascript..

by the way.. i'm not that gifted in javascript.. i simply know my way around. there are alot of people who know far more about it than i do.

[ April 06, 2001: Message edited by: bman ]

Yes, I agree b'man is gifted is JavaScript. Hecky darn, I agree that JavaScript has its advantages on certain things. I'm all for it and strongly recommend it.

I also strongly recommend understanding cdml. That is why I have written the demonstration which I have written and which includes a solution to running the cdml -script tags on-line safely. If you would like to know, even though my demonstration is based in FileMaker, Web Companion, html and cdml, it does acknowledge the advantage of JavaScript in certain situations. And while the Demonstration I've developed does not use .css or frames, it does acknowledge their usefulness in web development.

Oh, by the way, did I mention that the demonstration which I have developed, and which acknowledges all these things, also offers a way to safely run cdm -script tags on-line.

Perhaps you should recognize the talents of those versed in cdml and spring a few buck for this demonstration. Or is spending your money asking too much? My solution to the -script problem will save you money! <edit - should make you money -kmd>

See the reference in the cdml forum: SIMPLIFY -scripts safely run over the web.

Peace

Keith

[ April 06, 2001: Message edited by: Keith M. Davie ]

Create an account or sign in to comment

Important Information

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

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.