ghgfhg


 <b:section class='header' id='header' maxwidgets='2' name='Header' showaddelement='yes'>

                                  <b:widget id='Image98' locked='false' title='Header Background' type='Image' version='1'>

                                    <b:widget-settings>

                                      <b:widget-setting name='displayUrl'>https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQjkXfYi6g_7XIAPYw8U8NXObH6IMusEPSDUiTO22mFfrmZw8mpFC_1n6j5-jxiqLFkeLuYMUfjDiPy0e6upTJnKNWGumOe_IOzqZsq-RmVcJAUa5QurPciTWVT4EpHlbNVmWFz8pa15jC/s1600/education-header-2.png</b:widget-setting>

                                      <b:widget-setting name='displayHeight'>718</b:widget-setting>

                                      <b:widget-setting name='sectionWidth'>600</b:widget-setting>

                                      <b:widget-setting name='shrinkToFit'>false</b:widget-setting>

                                      <b:widget-setting name='displayWidth'>1600</b:widget-setting>

                                      <b:widget-setting name='link'/>

                                      <b:widget-setting name='caption'>Header Background Image. Ideal width 1600px with.</b:widget-setting>

                                    </b:widget-settings>

                                    <b:includable id='main'>

                                            <b:if cond='data:title != ""'>

                                                <h2><data:title/></h2>

                                            </b:if>

                                            <div class='widget-content'>

                                                <b:tag cond='data:link' expr:href='data:link' name='a'>

                                                    <img expr:alt='data:title' expr:height='data:height' expr:id='data:widget.instanceId + "_img"' expr:src='data:sourceUrl' expr:width='data:width'/>

                                                </b:tag>

                                                <br/>

                                                <b:if cond='data:caption'>

                                                    <span class='caption'><data:caption/></span>

                                                </b:if>

                                            </div>

                                            <b:include name='quickedit'/>

                                        </b:includable>

                                  </b:widget>

                                  <b:widget id='Header2' locked='true' title='demo (Header)' type='Header' version='1'>

                                    <b:widget-settings>

                                      <b:widget-setting name='displayUrl'/>

                                      <b:widget-setting name='displayHeight'>0</b:widget-setting>

                                      <b:widget-setting name='sectionWidth'>-1</b:widget-setting>

                                      <b:widget-setting name='useImage'>false</b:widget-setting>

                                      <b:widget-setting name='shrinkToFit'>false</b:widget-setting>

                                      <b:widget-setting name='imagePlacement'>BEHIND</b:widget-setting>

                                      <b:widget-setting name='displayWidth'>0</b:widget-setting>

                                    </b:widget-settings>

                                    <b:includable id='main'>

 

                                            <b:if cond='data:useImage'>

                                                <b:if cond='data:imagePlacement == "BEHIND"'>

                                                    <!--

                                                    Show image as background to text. You can't really calculate the width

                                                    reliably in JS because margins are not taken into account by any of

                                                    clientWidth, offsetWidth or scrollWidth, so we don't force a minimum

                                                    width if the user is using shrink to fit.

                                                    This results in a margin-width's worth of pixels being cropped. If the

                                                    user is not using shrink to fit then we expand the header.

                                                    -->

                                                    <b:if cond='data:mobile'>

                                                        <div id='header-inner'>

                                                            <div class='titlewrapper' style='background: transparent'>

                                                                <h1 class='title' style='background: transparent; border-width: 0px'>

                                                                    <b:include name='title'/>

                                                                </h1>

                                                            </div>

                                                            <b:include name='description'/>

                                                        </div>

                                                        <b:else/>

                                                        <div expr:style='"background-image: url(\"" + data:sourceUrl + "\"); "                      + "background-position: "                      + data:backgroundPositionStyleStr + "; "                      + data:widthStyleStr                      + "min-height: " + data:height                      + "_height: " + data:height                      + "background-repeat: no-repeat; "' id='header-inner'>

                                                            <div class='titlewrapper' style='background: transparent'>

                                                                <h1 class='title' style='background: transparent; border-width: 0px'>

                                                                    <b:include name='title'/>

                                                                </h1>

                                                            </div>

                                                            <b:include name='description'/>

                                                        </div>

                                                    </b:if>

                                                    <b:else/>

                                                    <!--Show the image only-->

                                                    <div id='header-inner'>

                                                        <a expr:href='data:blog.homepageUrl' style='display: block'>

                                                            <img expr:alt='data:title' expr:height='data:height' expr:id='data:widget.instanceId + "_headerimg"' expr:src='data:sourceUrl' expr:width='data:width' style='display: block'/>

                                                        </a>

                                                        <!--Show the description-->

                                                        <b:if cond='data:imagePlacement == "BEFORE_DESCRIPTION"'>

                                                            <b:include name='description'/>

                                                        </b:if>

                                                    </div>

                                                </b:if>

                                                <b:else/>

                                                <!--No header image -->

                                                <div id='header-inner'>

                                                    <div class='titlewrapper justify-content-center'>

                                                        <h1 class='title'>

                                                            <b:include name='title'/>

                                                        </h1>

                                                    </div>

                                                    <b:include name='description'/>

                                                </div>

                                            </b:if>

                                        </b:includable>

                                    <b:includable id='description'>

                                            <div class='descriptionwrapper justify-content-center'>

                                                <p class='description'><span><data:description/></span></p>

                                            </div>

                                        </b:includable>

                                    <b:includable id='title'>

                                            <b:tag cond='data:blog.url != data:blog.homepageUrl' expr:href='data:blog.homepageUrl' name='a'>

                                                <data:title/>

                                            </b:tag>

                                        </b:includable>

                                  </b:widget>

                                </b:section>

No comments:

Post a Comment