William,

Thanks, I'll try to remember that. Boy I have a lot to learn.
I think I need an extra terabyte HD in my head.

Bruce

----- Original Message ----- From: "William de Smet" <[email protected]>
To: "How to use Revolution" <[email protected]>
Sent: Wednesday, August 25, 2010 4:37 AM
Subject: Re: Create HTML file from rev app


Hi Mark,

Now it works!
You're helpful as always.

@Bruce: in HTML you use &quote;  to get ".
I thought I had to use this in Rev as well.

groeten,
William



2010/8/25 Mark Schonewille <[email protected]>:
Hi William,

You got it almost right:

"<a href="& quote & "http://"; & fld "link" & quote & " target=" & quote & "_blank" & quote & " >" & fld "link" &"</a><br/><br/>" after tData


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

From 15th August, we'll have time for new projects! Be the first in line and contact me now!

Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce

On 25 aug 2010, at 10:03, William de Smet wrote:

Hi there all,

It's been a while since my last question but working hard on some apps.
For my daily job I needed a quick app to create a HTML file. In the
app I have some fields and in one of them I put a URL (just
www.domainname.com).
In some hidden fields I put the needed HTML and the all come together
when I save the file.
All works fine but when I look at the sourcecode in IE8 or Safari the
HTML isn't completely correct.
In a link it misses the quotes (") at the beginning or the end of the URL.

What I do is this:
put "<a href="& "http://"; & fld "link" & " & target="& _blank &" >"
& fld "link" &"</a>" & "<"&"br/"&">" & "<"&"br/"&">" after tData

I also tried this but that doesn't works either:
put "<a href="& "&quot;" &"http://"; & fld "link" & "&quot;" &" &
target="& "&quot;" & blank & "&quot;" &" >" & fld "titel" &"</a>"
after tData
(the &quot; isn't translated then into a quote)

I start the HTML file with:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>


Anyone knows why I don't get the qoute?
And is there a way to get them?


Greetings,

William

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to