<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="0.91">
    <channel>
        <title>Webyep Image Center</title>
        <description>The 10 most recently added comments in the topic &quot;Webyep Image Center&quot;</description>
        <link>http://www.freewaytalk.net/</link>
        <lastBuildDate>Sat, 08 Nov 2008 01:43:35 -500</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>Re: Webyep Image Center</title>
            <link>http://www.freewaytalk.net/thread/view/33900#m_33917</link>
            <description>&lt;p&gt;HI Zac
This is the instructions on how to centre vertically and horizontally.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;To get the image to be in the center of your work:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Draw an webyep image the size you need, then adjust the width and height to fixed inside the image action palette, then placed this item as an inline in the middle of a 1 row 1 column table then create a style with these attributes:
(the first is an added via the extended button)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;vertical-align: middle&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;and a pargraph attribut of:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;align: center&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;and then apply it to the table&lt;/p&gt;

&lt;p&gt;Now regardless of size or proportion the image sits in the middle of its block of colour&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;/code&gt;
&lt;code&gt;function openNewWindow()&lt;/code&gt;
&lt;code&gt;{&lt;/code&gt;
    &lt;code&gt;var width = 500;&lt;/code&gt;
    &lt;code&gt;var height = 600;&lt;/code&gt;
    &lt;code&gt;popup = window.open(&quot;&quot;, &quot;MyNewWindow&quot;, &quot;width=&quot; + width + &quot;,height=&quot; + height);&lt;/code&gt;
    &lt;code&gt;popup.moveTo((window.screen.availWidth - width) / 2, (window.screen.availHeight - height) / 2);&lt;/code&gt;
&lt;code&gt;}&lt;/code&gt;
&lt;code&gt;&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;I will send you the example and the code to your email address&lt;/p&gt;

&lt;p&gt;speak soon max&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>max</author>
            <pubDate>Fri, 30 May 2008 06:33:22 -500</pubDate>
        </item>
        <item>
            <title>Re: Webyep Image Center</title>
            <link>http://www.freewaytalk.net/thread/view/33900#m_33912</link>
            <description>&lt;p&gt;Change the function for something like this;&lt;/p&gt;

&amp;lt;script language=&quot;javascript&quot;&amp;gt;
    var win = null;
    function openNewWindow(mypage,myname,w,h){
    LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
    TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
    settings =
    'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+';
    win = window.open(mypage,myname,settings);
    }
    &amp;lt;/script&amp;gt;

&lt;p&gt;and call it with something like;
&lt;a href=&quot;mypage.html&quot;onClick=&quot;openNewWindow(this.href,'MyNewWindow','500','600');returnfalse&quot;&gt;Sample Link&lt;/a&gt;
Regards,
Tim.&lt;/p&gt;

&lt;p&gt;Quoting zacbest &lt;email@hidden&gt;:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Another problem: when using the following code as supplied by Max:&lt;/p&gt;
&lt;/blockquote&gt;

&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
&gt; function openNewWindow()
&gt; {
&gt;   window.open(&quot;&quot;, &quot;MyNewWindow&quot;, &quot;width=500,height=600&quot;);
&gt; }
&gt; &amp;lt;/script&amp;gt;



&lt;blockquote&gt;
  &lt;p&gt;How can i get the popup window to be centered on the screen?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Extend Freeway the way you want with FreewayActions.com
&lt;a href=&quot;http://www.freewayactions.com&quot;&gt;www.freewayactions.com&lt;/a&gt;&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>Tim Plumb</author>
            <pubDate>Fri, 30 May 2008 02:09:34 -500</pubDate>
        </item>
        <item>
            <title>Re: Webyep Image Center</title>
            <link>http://www.freewaytalk.net/thread/view/33900#m_33902</link>
            <description>&lt;p&gt;Another problem: when using the following code as supplied by Max:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
function openNewWindow()
{
    window.open(&quot;&quot;, &quot;MyNewWindow&quot;, &quot;width=500,height=600&quot;);
}
&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;How can i get the popup window to be centered on the screen?&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>zacbest</author>
            <pubDate>Thu, 29 May 2008 23:04:01 -500</pubDate>
        </item>
        <item>
            <title>Re: Webyep Image Center</title>
            <link>http://www.freewaytalk.net/thread/view/33900#m_33901</link>
            <description>&lt;p&gt;worked it out - just applied a style to it with paragraph aligned in the center.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>zacbest</author>
            <pubDate>Thu, 29 May 2008 22:24:53 -500</pubDate>
        </item>
        <item>
            <title>Webyep Image Center</title>
            <link>http://www.freewaytalk.net/thread/view/33900</link>
            <description>&lt;p&gt;When using Webyep image action, how is it possible to always have the image centered?&lt;/p&gt;

&lt;p&gt;I want to set a space for the client to upload a photo, but the photo may vary from landscape to portrait. I need the image always to be centered, even when it is portrait.&lt;/p&gt;

&lt;p&gt;Is this done through the HTM attributes?&lt;/p&gt;

&lt;p&gt;All help much appreciated.&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;dynamo mailing list
email@hidden
Update your subscriptions at:
&lt;a href=&quot;http://freewaytalk.net/person/options&quot;&gt;freewaytalk.net/person/options&lt;/a&gt;&lt;/p&gt;
</description>
            <author>zacbest</author>
            <pubDate>Thu, 29 May 2008 22:14:38 -500</pubDate>
        </item>
    </channel>
</rss>
