MichaelTamoush
4 years agoQrew Captain
Re: Pop up
Thanks Justin, that worked!
Two questions.
1. Do you know if there is a way to control the size and placement of the popup?
2. I modified by code to look like yours (I'm not great at the code, I mostly look at other code and modify). All my sample codes I follow, use single quotes, and I notice you use backslash. Typically, my code will look something like below. I could not figure out how to edit mine to include the Openpopup class, so I just changed everything from href and on to match yours. Is there a way I could have adjusted mine?
I know it has to do with me not understanding the usage and purpose of the backslashes and single quotes.
Sample button:
"<a style=\"text-decoration:none; background: #688EB3; border-radius: 5px; color: #ffffff; display: inline-block; padding: 4px 0px 0px 0px; width:145px; height:22px; text-align: center; text-shadow: none; border: 0px solid #030404; font-size: 12px \"href='"
& $ADD //I tried to add in & "\" class=\"OpenAsPopup\" here, but that didn't work
& "'>Sample button text</a>"
------------------------------
Mike Tamoush
------------------------------
Two questions.
1. Do you know if there is a way to control the size and placement of the popup?
2. I modified by code to look like yours (I'm not great at the code, I mostly look at other code and modify). All my sample codes I follow, use single quotes, and I notice you use backslash. Typically, my code will look something like below. I could not figure out how to edit mine to include the Openpopup class, so I just changed everything from href and on to match yours. Is there a way I could have adjusted mine?
I know it has to do with me not understanding the usage and purpose of the backslashes and single quotes.
Sample button:
"<a style=\"text-decoration:none; background: #688EB3; border-radius: 5px; color: #ffffff; display: inline-block; padding: 4px 0px 0px 0px; width:145px; height:22px; text-align: center; text-shadow: none; border: 0px solid #030404; font-size: 12px \"href='"
& $ADD //I tried to add in & "\" class=\"OpenAsPopup\" here, but that didn't work
& "'>Sample button text</a>"
------------------------------
Mike Tamoush
------------------------------