1 Reply Latest reply on Nov 27, 2008 11:49 AM by Newsgroup_User

    Urgent please/ Window size + avoid saving

    fsurrey
      Hi I have 2 problems I hope you can help me with urgently please:

      1- I have the attached code in it there is a link(summary) which once clicked, a new HTML window will open this window is of the same size as the parent I need to make it smaller and appear in the center of the parent window. I have played withthe 800X600 dimentios in the code but no use? Any idea

      2- In the the new window( which will appear once clicking the link summary), I need to make the 'save page as' and the 'send link' in the file menu of the browser dim (inactive) as I do not the user to save the content of this window ? any idea how to stop the user from saving the content knowing that the content is a HTML file that has a .swf file with its control buttons?

      Appreciate a fast help
      Thanks
        • 1. Re: Urgent please/ Window size + avoid saving
          Level 7
          Hello,

          For 1, see this link:

          http://www.peachpit.com/articles/article.aspx?p=31661&seqNum=2

          The tutorial uses an image link to open the window but you can easily use
          text instead.

          For 2, during the tutorial in the link above you'll see how to not show the
          menu bar in the popup window when you get to using DW's Open Browser
          Behavior.
          It may deter the novice user, but anyone who wants to save the content can
          do so easily. Firefox can be set to show the menu regardless of the script
          telling it not to, or anyone can simply view the source code and copy the
          URL for the popup and paste it into a new window, complete with menus.
          Of course, there are also Firefox extensions that download any Flash
          displayed on a page including in a popup window.
          In other words, if you don't want people saving it, don't put it on the web.

          Take care,
          Tim


          "fsurrey" <webforumsuser@macromedia.com> wrote in message
          news:ggmr6q$pg6$1@forums.macromedia.com...
          > Hi I have 2 problems I hope you can help me with urgently please:
          >
          > 1- I have the attached code in it there is a link(summary) which once
          > clicked,
          > a new HTML window will open this window is of the same size as the parent
          > I
          > need to make it smaller and appear in the center of the parent window. I
          > have
          > played withthe 800X600 dimentios in the code but no use? Any idea
          >
          > 2- In the the new window( which will appear once clicking the link
          > summary),
          > I need to make the 'save page as' and the 'send link' in the file menu of
          > the
          > browser dim (inactive) as I do not the user to save the content of this
          > window
          > ? any idea how to stop the user from saving the content knowing that the
          > content is a HTML file that has a .swf file with its control buttons?
          >
          > Appreciate a fast help
          > Thanks
          >
          > <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          > " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
          > <html xmlns=" http://www.w3.org/1999/xhtml"><head>
          >
          >
          >
          >
          > <meta http-equiv="Content-Type" content="text/html;
          > charset=iso-8859-1"><title>Tutorials_A View:Different Web
          > Designers</title>
          >
          > <style type="text/css">
          > <!--
          > .style25 {font-family: "Times New Roman", Times, serif; font-size: 14px;
          > color: #108A98;}
          > .style28 {color: #108A98}
          > .style31 {
          > color: #108A98;
          > font-weight: bold;
          > font-size: 14px;
          > }
          > .style52 {font-family: "Times New Roman", Times, serif; font-size: 14px;
          > color: #108A98; font-weight: bold; }
          > .style54 {font-family: "Times New Roman", Times, serif; font-size: 12px;
          > color: #108A98; font-weight: bold; }
          > .style57 {font-size: 12px}
          > .style59 {font-size: 14px}
          > a:link {
          > text-decoration: none;
          > }
          > a:visited {
          > text-decoration: none;
          > }
          > a:hover {
          > text-decoration: underline;
          > }
          > a:active {
          > text-decoration: none;
          > }
          > .style61 {font-family: "Times New Roman", Times, serif; font-size: 18px;
          > color: #108A98; font-weight: bold; }
          > .style62 {
          > font-size: 16px;
          > color: #108A98;
          > font-family: "Times New Roman", Times, serif;
          > font-weight: bold;
          > }
          > -->
          > </style>
          > </head><body>
          >
          > <div align="center">
          > <table width="611" border="0" cellpadding="0" cellspacing="0">
          > <!--DWLayoutTable-->
          > <tbody><tr>
          > <td colspan="2" valign="top"
          > height="115"><!--DWLayoutEmptyCell--> </td>
          > </tr>
          > <tr>
          > <td rowspan="2" valign="top"
          > width="161"><!--DWLayoutEmptyCell--> </td>
          > <td class="style31" valign="top" width="450" height="24"><a
          > href="../../My web site/my final web site/home.html"
          > class="style28"><u>Home</u></a>
          >             <a
          > href="../../My web site/my final web site/links.html"
          > class="style28"><u>Links</u></a>
          >            <a
          > href="../../My web site/my final web site/About.html"
          > class="style25"><u>About
          > us</u></a>
          >              <a
          > href="../../My web site/my final web site/links.html"
          > class="style25"><u>Join
          > us</u></a>
          >             <a
          > href="../../My web site/my final web site/contactus.html"
          > class="style31"> <u>Contact us</u> </a></td>
          > </tr>
          > <tr>
          > <td valign="top" align="left" height="511"><table width="449"
          > border="0" height="437">
          > <tbody><tr>
          > <td valign="top" align="left" height="433"><p align="left"
          > class="style25">          &nbs
          > p;   <span class="style61">  </span> <br />
          >
          > <strong>          </strong></p
          >>
          > <p
          > class="style54">          &nbs
          > p;             
          >              &n
          > bsp;   </p>
          > <p class="style52"><span
          > class="style57">          &nbs
          > p;             
          >              &n
          > bsp;  </span><br />
          > <br />
          >
          >              &n
          > bsp;      <span
          > class="style57">          &nbs
          > p;        . <a href="try/try.htm"
          > target="_blank" class="style31" onclick="openNewWin('../../The
          > Tutorials/Summary/Summary/Summary.htm',800,600);return
          > false;">Summary</a></span></p>
          > <p
          > class="style25"><strong>         &n
          > bsp;         <span
          > class="style57">          &nbs
          > p;        </span></strong><br />
          >
          >              &n
          > bsp;           </p></td>
          > </tr>
          > </tbody></table></td>
          > </tr>
          > </tbody>
          > </table>
          > </div>
          >
          > </body></html>
          >