Thursday, December 19, 2013

Chef LeeZ How to merge a Google Web Designer - GWD - Banner Ad into a GWD HTML page.

Chef LeeZ has been told all along that you can't marry the HTML GWD page and an GWD ad but we've proven you can!

Here's the how we did it.

Use iframe code as follows and place your own ad URL in place of ours. We placed this code as the first set of codes immediately following the first <body> .

It's in two parts the first part is the position of the top left corner and width being the width of the ad.

2nd part is the iframe and its size.  We don't want scroll bars so they are the same size. A smaller size in the iframe than in the position will result in scroll bars.

 <body>
    <div style="position:fixed;top:0px;left:50px;width:700px;background-color:white;" class="gwd-gen-wh8agwdanimation">
      <iframe width="700" height="150" ;="" seamless="" src="http://www.cookingschoolsintl.com/kruzon/KrGwdHdr1/index.html"></iframe>
    </div>

You can see it in action at http://kruzon.com





No comments:

Post a Comment