Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ' это пример
- ' как использовать
- ' вместо "loyalty program offer - click to view" подставить текст ссылки
- ' вместо {#DV_ArchetypeAssigned} подставить то, что будет в попапе - любой текст
- ' можно использовать любые тэги < и >, - все должно работать
- ' но с одинарными кавычками будет пробелма
- ' Arch_Appeal - это пример использования. Просто подставить инсерт.
- ' Created: 8/24/2018
- ' Last update: 9/20/2018
- DV_ArchetypePopup "DV_ArchetypePopup - insert"
- categorical [1..1]
- {
- Popup "<a id=""apopup"" onclick=""#!""><mrRef RefType=""img"" src=""https://dae19d25d2807a6e6331-5940efbe97b3b0b4f6e40c229b9a5e79.ssl.cf5.rackcdn.com/P171100/Information.jpg"" alt=""[i]"" /> loyalty program offer - click to view</a><script>{PopupInsertBegin}<div class=\'apopup-inner\'>{#DV_ArchetypeAssigned}</div>{PopupInsertEnd}</script><style>{PopupInsertStyle}</style>" ' $('<div> ...text insert here... </div>').popup().popup('open')
- };
- Arch_Appeal "{#DV_ArchetypePopup}
- Imagine that ExxonMobil's loyalty program consisted of the following offer below.
- How <b>appealing </b>is this to you?"
- categorical [1..1]
- {
- use SL_AppealScale -
- };
- DV_ArchetypePopup.Categories[{Popup}].Label.Inserts["PopupInsertBegin"] = " /*<![CDATA[/**/ $('#apopup').click(function(){ $('<div>"
- DV_ArchetypePopup.Categories[{Popup}].Label.Inserts["PopupInsertEnd"] = "</div>').popup().popup('open') }); /*]]>/**/ "
- DV_ArchetypePopup.Categories[{Popup}].Label.Inserts["PopupInsertStyle"] = ".apopup-inner { background: #fff; padding: 10px; }"
- DV_ArchetypePopup = {Popup}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement