<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1012398" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1012398</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/new-borderless-window-question#comment-1071765</link>
    <description> &lt;p&gt;Max, I&#039;ve looked at the sites and they look very helpful. I&#039;ll eye the code today.&lt;/p&gt;
&lt;p&gt;So far my efforts have yielded this prototype page:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.alogical.com/clientframe/clientframe2.html&quot; class=&quot;bb-url&quot;&gt;http://www.alogical.com/clientframe/clientframe2.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The &#039;Help&#039; link in the blue frame and resulting layer work as I want them to, but the problem is I need to have the &#039;?&#039; in the black frame do the same thing in the blue frame.&lt;/p&gt;
&lt;p&gt;Hope that makes sense.&lt;/p&gt;
 </description>
     <pubDate>Wed, 27 Sep 2000 19:05:57 +0000</pubDate>
 <dc:creator>doren</dc:creator>
 <guid isPermaLink="false">comment 1071765 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/new-borderless-window-question#comment-1071669</link>
    <description> &lt;p&gt;Hi Bob,&lt;/p&gt;
&lt;p&gt;   I looked at and downloaded both (ie5.0 &amp;amp; nn4.6). As soon as I get a chance to look them over and figure out something intelligent to say &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;, I&#039;ll get back to you. At first glance, they both look good (though you might want to drop the top a little on absolute(?) and bring in the left on the relative(?).  I didn&#039;t resize the windows yet (that&#039;s where most relative problems occur), and didn&#039;t really notice if you have them deeply nested within a table (another problem area).&lt;/p&gt;
&lt;p&gt;Hi Max,&lt;/p&gt;
&lt;p&gt;   Actually they don&#039;t. But that is a helauva goodlooking and impressive site &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Vinny&lt;/p&gt;
 </description>
     <pubDate>Tue, 26 Sep 2000 12:03:29 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1071669 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/new-borderless-window-question#comment-1071656</link>
    <description> &lt;p&gt;I don&#039;t have time to read the whole thread, but I think that these URLs may be something close to what the subject says...&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.microbians.com&quot; class=&quot;bb-url&quot;&gt;http://www.microbians.com&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.siteexperts.com/tips/techniques/ts05/page1.asp&quot; class=&quot;bb-url&quot;&gt;http://www.siteexperts.com/tips/techniques/ts05/page1.asp&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 26 Sep 2000 04:50:20 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1071656 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/new-borderless-window-question#comment-1071649</link>
    <description> &lt;p&gt;Vinny,&lt;/p&gt;
&lt;p&gt;Thanks for the reply.  Yeah, I knew all it would take was a parmameter pass, just didn&#039;t know the correct syntax.  Got it working fine now.  But I&#039;m playing around with the relative vs. absolute positioning and something is driving me nuts.  I set up two test pages, one using relative and one using absolute.  They are identical, except with on I used position:relative in my  statements, the other I used position:absolute.  I figured the positioning would be different, but the size of the pop-up window that I get is totally different one to the other, and I have no idea why. They also look different NS vs. IE.  They are at:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://members.aol.com/jproscenium/ind1.html&quot; class=&quot;bb-url&quot;&gt;http://members.aol.com/jproscenium/ind1.html&lt;/a&gt;  (relative)&lt;br /&gt;
&lt;a href=&quot;http://members.aol.com/jproscenium/ind2.html&quot; class=&quot;bb-url&quot;&gt;http://members.aol.com/jproscenium/ind2.html&lt;/a&gt;  (absolute)&lt;/p&gt;
&lt;p&gt;The DIV&#039;s should pop up when you do a mouseover on &quot;Next Production&quot; and &quot;Proscenium Theater Workshops&quot;.  I&#039;d really be interested to understand what causes these differences.&lt;/p&gt;
&lt;p&gt;Thanks for all your help, and Adog, thanks to you also.&lt;/p&gt;
&lt;p&gt;Bob&lt;/p&gt;
 </description>
     <pubDate>Tue, 26 Sep 2000 02:49:02 +0000</pubDate>
 <dc:creator>Bob</dc:creator>
 <guid isPermaLink="false">comment 1071649 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/new-borderless-window-question#comment-1071588</link>
    <description> &lt;p&gt;Hi Bob,&lt;/p&gt;
&lt;p&gt;  If you want to use any function for multiple instances, simply send the element as a parameter -- for example:&lt;/p&gt;
&lt;p&gt;function doIt(viz, divID)&lt;br /&gt;
{&lt;br /&gt;
 if (document.layers)&lt;br /&gt;
 {&lt;br /&gt;
  document.layers[divID].visibility = (viz) ? &#039;hide&#039; : &#039;show&#039;;&lt;br /&gt;
 }&lt;br /&gt;
 else&lt;br /&gt;
 {&lt;br /&gt;
    document.all[divID].style.visibility =&lt;br /&gt;
(viz) ? &#039;hidden&#039; : &#039;visible&#039;;&lt;br /&gt;
 }&lt;br /&gt;
} &lt;/p&gt;
&lt;p&gt;The relative positioning is relative to where it appears in the HTML document.  So if you have:&lt;br /&gt;
&lt;img /&gt;&lt;br /&gt;
it is located immediately after the image&lt;/p&gt;
&lt;p&gt;it is within the cell&lt;/p&gt;
&lt;p&gt;you can use top, left, etc with relative&lt;/p&gt;
&lt;p&gt;...absolute;top:0;left:0 --&amp;gt; places the div top left corner of the page;&lt;br /&gt;
...relative;top:0;left:0 --&amp;gt; places the div top left of its relative positioning in the page;&lt;/p&gt;
&lt;p&gt;IE does not have a problem with tables and relative positioning; netscape 4 does. In order to get around its problems you have to create the entire table on the fly complete with ids.  I&#039;ll try to have a script up at my site by the end of week, but if you are in a hurry try and find  Martin Honnen at the alt.javascript newsgroup&lt;/p&gt;
&lt;p&gt;The only references I&#039;ve ever used are the O&#039;Reilly books (definitive guides -- javascript &amp;amp; dHTML) and the Javascript Bible by Danny Goodman &lt;/p&gt;
&lt;p&gt;aDog: &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Vinny&lt;/p&gt;
&lt;p&gt; }&lt;/p&gt;
 </description>
     <pubDate>Mon, 25 Sep 2000 13:40:00 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1071588 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/new-borderless-window-question#comment-1071566</link>
    <description> &lt;p&gt;Adog,&lt;/p&gt;
&lt;p&gt;That worked great!  Thanks again!&lt;/p&gt;
&lt;p&gt;I figured to use relative you would use:&lt;/p&gt;
&lt;p&gt;position:relative ,instead of&lt;br /&gt;
Position:absolute,&lt;/p&gt;
&lt;p&gt;but, my question is, relative to what?  If you just say position:relative, where does it place it?  Relative to what?  And &quot;where?&quot; relative to &quot;what?&quot;.  Not sure if I&#039;m making my question clear or not, but I hope so.&lt;/p&gt;
&lt;p&gt;Another question:&lt;/p&gt;
&lt;p&gt;How could I use the same function (as the doIt1 function earlier in the thread) to show/hide multiple divs?  I know I could set up multiple functions, but could I use the same one and somehow pass a parm for the document.layers[&#039;wkshops&#039;].visibility statement in order to show/hide a specified div, rather than just the wkshops div?&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;Bob&lt;/p&gt;
 </description>
     <pubDate>Mon, 25 Sep 2000 02:04:41 +0000</pubDate>
 <dc:creator>Bob</dc:creator>
 <guid isPermaLink="false">comment 1071566 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/new-borderless-window-question#comment-1071551</link>
    <description> &lt;p&gt;Hey Bob,&lt;/p&gt;
&lt;p&gt;TO make a div relatively positioned, use:&lt;/p&gt;
&lt;p&gt;style=&quot;position:relative&quot; isntead of style=&quot;position:absolute;top:100;left:550&quot;&lt;/p&gt;
&lt;p&gt;Now, it is my fault with the code I gave you.  I must have been thinking I had a function in there because there is an extra }&lt;/p&gt;
&lt;p&gt;So, just change it to:&lt;/p&gt;
&lt;p&gt;&amp;lt;script&amp;gt;&lt;br /&gt;
w=(window.innerWidth)?window.innerWidth:document.body.clientWidth;&lt;br /&gt;
h=(window.innerHeight)?window.innerHeight:document.body.clientHeight;&lt;br /&gt;
w=w*.5;&lt;br /&gt;
h=h*.8;&lt;br /&gt;
if (document.layers){&lt;br /&gt;
 document.layers[&#039;wkshops&#039;].left=w;&lt;br /&gt;
 document.layers[&#039;wkshops&#039;].top=h;&lt;br /&gt;
}else{&lt;br /&gt;
 document.all[&#039;wkshops&#039;].style.left=w;&lt;br /&gt;
 document.all[&#039;wkshops&#039;].style.top=h;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;Adog &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/nerdy.png&quot; title=&quot;Cool&quot; alt=&quot;Cool&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 24 Sep 2000 20:22:28 +0000</pubDate>
 <dc:creator>Arielladog</dc:creator>
 <guid isPermaLink="false">comment 1071551 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/new-borderless-window-question#comment-1071550</link>
    <description> &lt;p&gt;Adog,&lt;/p&gt;
&lt;p&gt;Thanks for all the info.  Unfortunately, I can not get it to work.  No matter what I multiply w &amp;amp; h by, the div gets placed in the same spot on the screen.  Any ideas?  The code is at:&lt;br /&gt;
&lt;a href=&quot;http://members.aol.com/jproscenium/ind2.html&quot; class=&quot;bb-url&quot;&gt;http://members.aol.com/jproscenium/ind2.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If it&#039;s easier to use relative positioning, how do I do that?  Is there somewhere I can get something like a command reference manual so I could look up the syntax for these commands?  If i wanted to use relative and position the div in the same place on the screen, say relative to some image already there, how would I code that?&lt;/p&gt;
&lt;p&gt;Again, thanks so much for all the help!&lt;/p&gt;
&lt;p&gt;Bob&lt;/p&gt;
 </description>
     <pubDate>Sun, 24 Sep 2000 20:14:02 +0000</pubDate>
 <dc:creator>Bob</dc:creator>
 <guid isPermaLink="false">comment 1071550 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/new-borderless-window-question#comment-1071545</link>
    <description> &lt;p&gt;Oh, I guess I should have mentioned this from beginning.  SOmetimes, I don&#039;t necessarily agree with Vinny. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Anyway, you can use relative positioned divs and hide them AS LONG AS they are not located within a table.  So I guess you won&#039;t need my last post unless it&#039;s in a table.  It&#039;s good info, though.  It is usually better to use absolutely positioned divs, but easier to use relative positioned divs &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Adog &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/nerdy.png&quot; title=&quot;Cool&quot; alt=&quot;Cool&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 24 Sep 2000 16:46:31 +0000</pubDate>
 <dc:creator>Arielladog</dc:creator>
 <guid isPermaLink="false">comment 1071545 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/new-borderless-window-question#comment-1071544</link>
    <description> &lt;p&gt;Hey Bob,&lt;/p&gt;
&lt;p&gt;First, I&#039;d like to thank Vinny because that is where I learned most of this stuff from...we are oth mods at &lt;a href=&quot;http://www.javascriptcity.com/forums/&quot; class=&quot;bb-url&quot;&gt;http://www.javascriptcity.com/forums/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Anyway, to answer your question, you can move the div around depending on screen resolution:&lt;/p&gt;
&lt;p&gt;first, you&#039;d have to have your div defined (in otherwords, I can&#039;t run this code before the div is actually on the page, and since we want to run it right after the div is done, we won&#039;t use a function, and we will put the code right after the div)  Eg:&lt;/p&gt;
&lt;p&gt;&amp;lt;script&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;NOT&lt;/p&gt;
&lt;p&gt;&amp;lt;script&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;Get my drift??&lt;/p&gt;
&lt;p&gt;Anyway, so, right after we define the div, we can have:&lt;/p&gt;
&lt;p&gt;&amp;lt;script&amp;gt;&lt;br /&gt;
w=(window.innerWidth)?window.innerWidth:document.body.clientWidth;&lt;br /&gt;
h=(window.innerHeight)?window.innerHeight:document.body.clientHeight;&lt;/p&gt;
&lt;p&gt;// that gets the innerWidth of the window, no the screen resolution&lt;/p&gt;
&lt;p&gt;//now, we just multiply the screen resolution by some number to get the div lined up correctly&lt;/p&gt;
&lt;p&gt;w=w*.1;&lt;br /&gt;
h=h*.2&lt;/p&gt;
&lt;p&gt;//would be 10% from left and 20% from top&lt;/p&gt;
&lt;p&gt;if (document.layers){&lt;br /&gt;
document.layers[&#039;wkshops&#039;].left=w;&lt;br /&gt;
document.layers[&#039;wkshops&#039;].top=h;&lt;br /&gt;
}else{&lt;br /&gt;
document.all[&#039;wkshops&#039;].style.left=w;&lt;br /&gt;
document.all[&#039;wkshops&#039;].style.top=h;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;Having something like that should work.  One possible way is position it correctly on your screen.  Then, grab your screens innerWidth. Then, take the coordinates where it looks good on your screen and divide that by the innerWidth and innerHeight.  Then, remember that number.  Now in the script, you&#039;d start out with w and h just as I did, but instead of multiplying by .1 and .2, multiply by the numbers you go - it would be like a percent.&lt;/p&gt;
&lt;p&gt;Now, I know you don&#039;t understand, so let me take an example:&lt;/p&gt;
&lt;p&gt;let&#039;s say I have the  positioned correctly on my screen at top:350 and left:450.  Now, let&#039;s say I get my innerWidth and innerHeight (you can use this code to get it - it must be in the body of the document):&lt;/p&gt;
&lt;p&gt;&amp;lt;script&amp;gt;&lt;br /&gt;
w=(window.innerWidth)?window.innerWidth:document.body.clientWidth;&lt;br /&gt;
h=(window.innerHeight)?window.innerHeight:document.body.clientHeight;&lt;br /&gt;
alert(&#039;Your innerWidth is &#039;+w);&lt;br /&gt;
alert(&#039;Your innerHeight is &#039;+h);&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;now, that will tell you that.  Let&#039;s say my innerWidth is 700 and my innerHeight is 550.  Now, I&#039;d divide 350 by 550 (height) and I&#039;d divide 450 by 700 (width).  If this was true, for the code, I&#039;d have:&lt;/p&gt;
&lt;p&gt;&amp;lt;script&amp;gt;&lt;br /&gt;
w=(window.innerWidth)?window.innerWidth:document.body.clientWidth;&lt;br /&gt;
h=(window.innerHeight)?window.innerHeight:document.body.clientHeight;&lt;/p&gt;
&lt;p&gt;// that gets the innerWidth of the window, no the screen resolution&lt;/p&gt;
&lt;p&gt;//now, we just multiply the screen resolution by some number to get the div lined up correctly&lt;/p&gt;
&lt;p&gt;w=w*(450/750);&lt;br /&gt;
h=h*(350/550);&lt;/p&gt;
&lt;p&gt;Now, I think that will work...hopefully something like that would.&lt;/p&gt;
&lt;p&gt;Adog &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/nerdy.png&quot; title=&quot;Cool&quot; alt=&quot;Cool&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 24 Sep 2000 16:41:04 +0000</pubDate>
 <dc:creator>Arielladog</dc:creator>
 <guid isPermaLink="false">comment 1071544 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
