<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1022295" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1022295</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascriptphp-interaction-issue#comment-1137452</link>
    <description> &lt;p&gt;hmmm.. turn off the pop up suppression and it works perfectly! apparently you were completely right. and i DEFINITELY need to do two things on the index: tell people how to turn on pop ups for my site via mozilla, (and if i have friends using opera and others find out on those) as well as to mention javascript is used.&lt;/p&gt;
&lt;p&gt;and... make a link at the top of the page incase the pop up was missed&lt;/p&gt;
 </description>
     <pubDate>Mon, 08 Sep 2003 14:59:24 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1137452 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascriptphp-interaction-issue#comment-1137451</link>
    <description> &lt;p&gt;i didn&#039;t even think of that. i want it to go automatically and i&#039;m testing in mozilla but i tested the javascript in IE.... my mozilla has pop ups turned off UNLESS otherwise noted. it might very well be that. lol. let me check&lt;/p&gt;
 </description>
     <pubDate>Mon, 08 Sep 2003 14:52:18 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1137451 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascriptphp-interaction-issue#comment-1137437</link>
    <description> &lt;p&gt;Assuming you want to open it automatically, when the page loads or refreshes...&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// get your variable information with your function here&lt;br /&gt;// this is just for example&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$mid &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;4&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$to &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;3&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;amp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;lt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;script type&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;text/javascript\&quot;&amp;amp;gt;&lt;br /&gt;// get the variables from PHP and set them in the JavaScript&lt;br /&gt;var Tmid = =&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$mid&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;;&lt;br /&gt;var Tto = =&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$to&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;;&lt;br /&gt;var newUrl = &#039;http://24.91.157.113/findyourdesire/message.php?mid=&#039; + Tmid + &#039;&amp;amp;to=&#039; + Tto;&lt;br /&gt;var newWin; &lt;br /&gt;&lt;br /&gt;// set the function to open the window&lt;br /&gt;function popUp(page, name, details) { &lt;br /&gt;newWin=window.open(newUrl,Tmid, &#039;height=250,width=514,scrollbars=auto,resizable=yes&#039;); &lt;br /&gt;newWin.focus(); &lt;br /&gt;return false; &lt;br /&gt;}&lt;br /&gt;&amp;amp;lt;/script&amp;amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;And then:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;body onload&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;popUp()\&quot;&amp;gt;&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;However, if people have popup windows blocked they will never receive these bits from your site. It&#039;s always good to have a redundant link somewhere. Such as: &lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;a href&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;/url/for/message/centre.php\&quot; onclick=\&quot;return popUp()\&quot;&amp;gt;get messages&amp;lt;/a&amp;gt;&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Anyway, you need to write the JavaScript in a sensible way, write it first, then you can pass information to it. You can&#039;t just throw in instructions without context.&lt;/p&gt;
 </description>
     <pubDate>Mon, 08 Sep 2003 00:52:40 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1137437 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascriptphp-interaction-issue#comment-1137435</link>
    <description> &lt;p&gt;You want the window to open automatically? Or are you trying to write a link?&lt;/p&gt;
&lt;p&gt;Show me how you have it in the HTML that actually works. &lt;/p&gt;
&lt;p&gt;Frankly, I&#039;d put a function in the header and then print a link unless I needed to have everything open automatically, then I&#039;d write the function in the header via PHP.&lt;/p&gt;
 </description>
     <pubDate>Mon, 08 Sep 2003 00:30:29 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1137435 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
