ibiubu Posted August 20, 2002 Posted August 20, 2002 Before I get to heavily in trying to figure out how to do this, I thought I would check to see if it is possible. I can easily enough cretae a javascript on my web page that when the page is loaded the web page is directed to a different url automatically. Just wanted to know if the redirect url can be based on a cdml tag linked to a filemaker field? LR
Keith M. Davie Posted August 20, 2002 Posted August 20, 2002 I don't know about JS for this, but you can send your cdml to (and through) a meta redirect very effectively.
ibiubu Posted August 20, 2002 Author Posted August 20, 2002 A meta redirect? Can this open the new page as _blank, as well as determine the size, scroll bar, address bar options? That is why I wanted to do it through java. LR
Keith M. Davie Posted August 20, 2002 Posted August 20, 2002 Well it would be used as a step between your clickable action and the results page. A meta redirect can be left blank, or it can contain text, images and data. In an example I posted on Sample Files I used a meta redirect which displays text and data. The meta redirect page is link.htm in that solution. http://www.fmforums.com/threads/showflat.php?Cat=&Board=files&Number=41455&page=0&view=collapsed&sb=5&o=&fpart=1
Anatoli Posted August 20, 2002 Posted August 20, 2002 I am doing that on our PR portal, no problem. You can freely mix the two -- JS and FM. Just be cautious -- do not use the comment tags e.g. <!-- JS code --> around the JS code.
Garry Claridge Posted August 20, 2002 Posted August 20, 2002 You can use CDML Replacment tags within Javascript in the <head> of your page. This is best done as a Javascript Function. I even use them to construct arrays. Then you can call that Function with the "onload()" parameter of the <body> tag. Hope this helps. Garry
Recommended Posts
This topic is 8509 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