For Web Developers: Difference between revisions

From SWCP Support Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 18: Line 18:
===Creating password protected web pages===
===Creating password protected web pages===
We have an online tool for building simple password protected areas that is available from the [https://members.swcp.com Members Only Area]. If you're curious what is needed to [[set up password protected web pages]], follow the link.
We have an online tool for building simple password protected areas that is available from the [https://members.swcp.com Members Only Area]. If you're curious what is needed to [[set up password protected web pages]], follow the link.
===Video with QuickTime===
This is quick recipe for adding a popup window that include a Quicktime movie that starts playing immediately.
====First the POP Up Window====
In the HEAD section of your HTML document, add the following Javascript to open a 240x240 sized window.
<script language="JavaScript">
function popupTitleURL(url, title) {
  myw = window.open("", 'crmPopup',
  'width=240,height=240,location=no,menubar=no,toolbar=no,scrollbars=yes');
  myw.document.write("<HTML><HEAD><TITLE>");
  myw.document.write(title);
  myw.document.write("</TITLE></HEAD><BODY>");
  myw.document.write("<embed src='");
  myw.document.write(url);
  myw.document.write("' autoplay='true'");
  myw.document.write(" KIOSKMODE='True'");
  myw.document.write("' width=200 height=200>");
  myw.document.write("</embed>");;
  myw.document.write("</BODY></HTML>");
  myw.moveTo(10,10);
}
====Add the movie====
In the body of the HTML document add a Javascript call to that function with a URL that points to your
Quicktime file.
  <script language=JavaScript>
  <!--
  document.write('<a href="javascript:popupTitleURL(\'080330.mp4\',\'GHC\')">Play Movie via JS 2</a>');
  //-->
  </script>

Revision as of 16:09, 9 June 2008

As part of SWCP's interest in Open Source software and easy to use web based applications we're working on making several open source packages easily available, see Webapps for more information about this. Many common questions are answered in the Web Apps section of our Knowledge Base.

This section of the Wiki will contain more detailed information about web applications, CSS, Web brower issues, HTML editors, and other web development issues. This is still under development, so bear with us. If you have a topic you'd like us to cover, send email to help@swcp.com and we'll try to find you some answers.

Sections

How web browsing works. ( whose rendering what, when? )

Quick Recipes ( Short snippets of code for specific tasks )

Website Design Tools

Content Management Tools


Creating password protected web pages

We have an online tool for building simple password protected areas that is available from the Members Only Area. If you're curious what is needed to set up password protected web pages, follow the link.