I managed to change the expansion direction by editing the CSS in "Code view".
My ad is a 300x250 expanding to 600x350.
I added "left: 300px;" to the class ".gwd-page-wrapper".
This moved the whole add 300px to the right.
Then I added "left: 0px;" to the class ".expanded".
This pulled the expanded panel x position back to the origin.
In DoubleClick I set the X Offset to 300px;
It seems to work fine.
Cheers
Riccardo
I've got an expanding cube in both FLASH and HTML5 using Google Web Designer. The Flash is fine, but the HTML5 expands to the right and will end up off the page!!
.gwd-page-wrapper {
background-color: rgb(255, 255, 255);
position: absolute;
-webkit-transform: translateZ(0px);
}
I made a copy of this class and renamed it ending with "_exp". I then changed "-webkit-transform: translateZ(0px);" to "-webkit-transform: translateX(-210px);". I then assigned the class "gwd-page-wrapper_exp" to the expanded page:
<div is="gwd-page" id="expanded-page" expanded="" data-gwd-name="Expanded page" class="gwd-page-wrapper_exp expanded gwd-lightbox" data-gwd-width="510px" data-gwd-height="250px">
The class looks like this:
.gwd-page-wrapper_exp {
background-color: rgb(255, 255, 255);
position: absolute;
-webkit-transform: translateX(-210px);
}
Then to position the whole ad over to the right a bit, so it won't get chopped off, I opened, "gwdpagedeck_style.css" and edited this, from:
.gwd-pagedeck{overflow:hidden;position:relative}.gwd-pagedeck>.gwd-page.transparent{opacity:0}.gwd-pagedeck>.gwd-page{position:absolute;top:0;left:0px;
to:
.gwd-pagedeck{overflow:hidden;position:relative}.gwd-pagedeck>.gwd-page.transparent{opacity:0}.gwd-pagedeck>.gwd-page{position:absolute;top:0;left:210px;
And that's how I got my ad to expand to the left!
Thanks.