Forum Discussion
Actually here are some cheat notes which wiull be useful, especially The OpenAsPopup
Hover with open new tab
var text Words = Left([Long Text],100);
var text URL = URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#]
& "&dfid=10"
& "&ifv=1";
var text Hyperlink = "<a href=" & $URL & " target=_blank" & ">" & $Words & "</a>";
// then define the hover text
// Note!!, the hover text must be enclosed in a single ' character as the first space will stop the text.
// no html allowed in the hover text
// Use \n for line feed
var text HoverWords = "'" &
[Long Text] & "'";
// this will be Standard from the above
"<div>" & "<span title=" & $HoverWords & ">" & $Hyperlink & "</b></span>" & "<div>"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
Hover with pop up
var text Words = Left([Long Text],100);
var text URL = URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#]
& "&dfid=10"
& "&ifv=1";
var text Hyperlink = "<a class='OpenAsPopup' data-height=400 data-width=400 href='" & $URL & "'>" & $Words & "</a>";
// then define the hover text
// Note!!, the hover text must be enclosed in a single ' character as the first space will stop the text.
// no html allowed in the hover text
// Use \n for line feed
var text HoverWords = "'" &
[Long Text] & "'";
// this will be Standard from the above
"<div>" & "<span title=" & $HoverWords & ">" & $Hyperlink & "</b></span>" & "<div>"