This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Load list iframe if (crmForm.all.emailaddress1.DataValue != null) { crmForm.all.IFRAME_PardotLists.src = "https://pi.pardot.com/listProspect/crm/source/mscrm/email/" + crmForm.all.emailaddress1.DataValue; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.OnLoadPardot = function() { | |
document.getElementById("IFRAME_Pardotactivity").src = "https://pi.pardot.com/prospect/activity/source/mscrm/email/" + document.getElementById("emailaddress1").value; | |
document.getElementById("IFRAME_PardotLists").src = "https://pi.pardot.com/listProspect/crm/source/mscrm/email/" + document.getElementById("emailaddress1").value; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.getElementById("IFRAME_PardotLists").src = "https://pi.pardot.com/listProspect/crm/source/mscrm/email/" + document.getElementById("emailaddress1").value; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.OnLoadPardot = function() { | |
document.getElementById("IFRAME_Pardotactivity").src = "https://pi.pardot.com/prospect/activity/source/mscrm/email/" + document.getElementById("emailaddress1").value; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Load activity iframe | |
if (crmForm.all.emailaddress1.DataValue != null) { | |
crmForm.all.IFRAME_Pardot.src = | |
"https://pi.pardot.com/prospect/activity/source/mscrm/email/" + | |
crmForm.all.emailaddress1.DataValue; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div data-dc-url="http://www2.pardot.com/dcjs/1/17/dc.js" style="width: 200px; height: 200px"></div>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
$(function(){ | |
$('[data-dc-url]').each(function(idx, el) { | |
var $el = $(el); | |
var dcUrl = $el.data('dc-url'); | |
$.ajax( { | |
'url': dcUrl + '?ajax', | |
'xhrFields': { | |
'withCredentials': true | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
var howLongToWait = 5; //number of seconds to wait | |
var urlOfDownloadContent = 'http://www.example.com/whitepaper.pdf'; | |
function triggerDownload() { | |
window.location = urlOfDownloadContent; | |
} | |
setTimeout('triggerDownload()', howLongToWait * 1000); | |
</script> |
NewerOlder