Dynamic Content Links

Instructions for Installing links on any website


  • If you need any changes to these pages, for example, if the fonts or colors are wrong, contact us
  • If you are migrating to a new website and need new links, contact us.

Building iframe code: 

You will find your uniqueID in your setup email, and it will also be at the end of all your links on your link list page. 
  • You can replace your uniqueID with your domain from your order, also. 
  • Each link from your setup email will show different parts of your Dynamic Content/Calculators. 
  • Your Dynamic Content will not display without the uniqueID.
  • All your URLs are found on the Resource Links page.
Resource Link / URL Example:
https://www.dynamicontent.net/dcv2/cartoon.php?key=uniqueID
https://www.dynamicontent.net/dcv2/cartoon.php?key=domain (domain with no extension)

  1. Simple Install: The Live code below builds the page. The URL/Resouce Link fills the page with content. In the live code below, replace "URL" with a link from your list on the Resource Links page. You will add the URL/Link to the code yourself. 

  2. One Page/Block install: If you would like your install to load all the content inside of one block, let us know. We will need to change the setting on our side.


  3. The iframe code has a few settings. 
    • Height - if your resizing code does not work, contact us. You can change this setting if your website does not allow the resizing code to run.
    • Width - it is usually set to 100%
    • Scroll bar - change to Yes if you want a scroll bar or if you are having problems with the height or resizing code settings.
    • Border - add a border.
  4. Advanced Install for multiple iframes on a single page: if you have multiple iframes (meaning multiple content URLs, for example, articles and calculators or a list of individual calculators on one page), give each one a different "id."  

  5. Each iframe must have a matching script. For example, iframe id of calc1, calc2, and calc3 would need a script id of calc1, calc2, or calc3 if they are on the same page.
    • You will use the "iframe" tagremote "script" tag, and local "script" below.  The "id" of the iframe and the "#id" in the script must match.
##Live code below

<iframe id="s2ccontentframe" frameborder="0" height="600" width="100%" src="URL"  allowtransparency="true" scrolling="no"></iframe>
<script type="text/javascript" src="https://www.dynamicontent.net/js/jquery.iframeResizer1.min.js"></script>

<script type="text/javascript">
( function( $ ) {
if ( $( "#s2ccontentframe" ).length ) {
$('iframe#s2ccontentframe').iFrameSizer({
log                    : false,  // For development
contentWindowBodyMargin: 0,     // Set the default
doHeight               : true,  // Calculates
doWidth                : false, // Calculates
interval               : 50,    // interval in ms to
nablePublicMethods    : true,  // Enable methods
autoResize             : true,  // Triggering resize
callback               : function(messageData)
{ var frame_src = document.getElementById('s2ccontentframe').src;
if((frame_src.indexOf("article.php")> 0) || (frame_src.indexOf("archives.php") > 0))$('html, body').animate({scrollTop: $("#s2ccontentframe").offset().top - 150},800);
}
});
}
} )( jQuery );
</script>

##End live code

Example:
In the example below, the Cartoon URL has been placed into the live code. 

The purple code gives instructions to the website in jquery on how to resize the content to fit on your website page. If your content is cut off at the bottom of the page, you are missing the purple code. If you add the purple code and it still does not work, your site might not have jquery. To add jquery to your site, see Trouble Shooting #3 below.

 


Trouble Shooting:

  1. If you place multiple iframes on one page, you will need to have a different "id" for each iframe.  You will need to have the resizing script containing the callback function repeated for each iframe "id" on the page using a unique iframe "id" in each function (e.g., s2ccontentframe, s2ccontentframe2, s2ccontentframe3...)
  2. If you have a content-managed site (like WordPress), please make sure that the iframe resizing script is whitelisted in any security plugins.
  3. If your site does not include jquery, a link to jquery will be required above the code shown in step 1, Simple Install.


Usage Right:
  • The articles that come with Dynamic Content are protected by Federal Copy Right law.  
  • Subscribers of Dynamic Content, CPA Email Newsletter, and CPASS Email Manager may publish Service2Client's articles in a monthly printed newsletter to their clients, given the publication is less than 2500 prints a month.  
  • Do not resell the articles in Dynamic Content in whole or in part.  
  • Service2Client licenses the use of the photographs/graphics in the articles but does not pass these rights on to our clients.  
  • Do not re-use the photographs/graphics in Dynamic Content.
  • Service2Client owns the license rights to the "Cartoon of the Month" but does not pass this right on to our clients.  Do not re-use or resell the "Cartoon of the Month."
  • BLOGS: Service2Client prohibits the use of our articles in Blogs.  Do not copy and paste our articles into a WordPress or Blog without first getting our permission and paying the license fee or using the Dynamic Post Plugin.
  • BLOG License: Service2Client may give use rights of our content in Blogs during the time period that the client has a paid subscription to Dynamic Content, CPA Email Newsletter, or CPASS, Email Manager. Upon cancellation of our services, all copywritten material must be removed from the end user's BLOG.
  • Copyright: Service2Client LLC content is protected by federal copyright law.
  • Photocopying or reproducing this content in any form other than for personal use by the Subscriber is strictly prohibited. If you want to use some of this content, contact Service2Client LLC first.

Thank you, please call in, Submit a Ticket or ask for Live Support if you have any questions.
877-251-3273