Which site should I create, html or php

I am a beginner to web design and need to create a political website.  The most complicated features I want to create on my website would be:  polls, forms to collect visitor information, and discussion groups.
Can I do this with a simple html site or do I need to set up a dynamic site.  If a dynamic site, should I pick php or cold fusion?  I understand the concept of the website working with a database, what is overwhelming to me is setting up the testing process and how my site will work with my hosting server.
Thank you!

Deb,
Before you dive into particular programming language, I suggest you consider how far you want to take it.  There are simple tricks you can do with both and then there's complex programming that requires preferably a computer science or similar degree to properly implement.  Of course it helps to be initially exposed to a number of technologies, but at some point you have to focus your energies on a finite set and become an expert in it, constantly following updates and new releases.  It sounds like you're going toward front end development, in which case JS is more preferable to PHP; once you say you're a PHP programmer, that implies understanding MySQL databases, LAMP server configurations and server side scripting.  As someone running a web development shop since late 90's, I advise you go with JavaScript.
In any case, best of luck!

Similar Messages

  • Which Reports should be done in BI & which Reports in ECC/ABAP

    Hi,
    We are implementing SAP ECC & BI in Laggard manner or near simultaneously. Now I as a BI consultant need to suggest which reports should be created in BI & which ones in ECC itself?
    I understand that more aggregated, summarised or analytical sorts of reports, also those which need slice & dice & drilldown during navigation should be in BI.
    But also apart from these points is there any thumb rules or fundas to decide??
    Pl give me ur guidence generously...
    Regards,,,

    It's look like your client first time using BI system, He might be aware or not aware of ECC.
    It's happen mostly that when ECC & BI Immplemention happen simultiounsly, That time Client's as well as Project Management team concentration on ECC not on BW.
    1) You check on which Functional Modules reports client is expecting.
    2) Then check and install Standard Data flow and reports in your SandBox.
    3) Then show thease reports of respective module to your Functional team so they also be understand what is possible in BW or not possible.
    4) If your Functional team satisfy with the report's output. Then take training programe for user (Not everybody but few people from Client side). Once they understand how system is working then they will come with their requirement. There your job as Techo-Functional consultant "Can it is possible in BW side with respect to business logic?" there you are have decide.
    Regards,
    Sushant

  • Why is my flash content not working on my dreamweaver created html site?

    This is a problem that's happening on my website I'm creating.  I created a quick test website to show you the problem on the fourm.  It's the same problem, and if you can provide the solution to this test website I can apply it to my main website.
    Test website on server:
    test331754952.net23.net
    What I did:
    -launched flash
    -typed "test" and made it spin 360 degrees
    -published swf
    -launched dreamweaver
    -created a site
    -moved swf to site folder
    -saved a html file to the site folder
    -in dreamweaver, went to insert, media, swf, then selected the swf I made
    -it inserted the swf, creating a gray placeholder for it
    -re-saved the html document, at which point dreamweaver created a folder named script and 2 files, an swf, and a javascript file
    Site Directory:
    Scripts Sub-Directory:
    What happens:
    -when I launch the swf on my machine, it plays fine
    -when I open the swf directly on the test website on the server, it plays fine
    -when I open the html with the embended swf on the test website on the server, it shows a gray box, then goes white
    -In dreamweaver, when I go to preview in browser and choose internet explorer, it tells me I don't have new flashplayer(I do: flashplayer 11) 
    Ie also pokes up a box at the bottom that says its not allowing content.  When I click allow content, it creates a gray box
    -In dreamweaver, when I go to preview in borwser and choose google chrome, it tells me flash player has stopped a potentionally unsafe operation.  When I close this dialog box, it gives me a gray box where my swf should be embeded.
    -I've tried changing global flash secuirty setting and it does nothing
    -I've tried visiting the test website on multiple computers in my household to no avail
    -I've tried having friends visit the site on their computer at their house to no avail
    -I did't touch the code on this test website-the code is exactly what dreamweaver generated
    Html Document Code:
    <!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=utf-8" />
    <title>Untitled Document</title>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400" id="FlashID" title="test">
      <param name="movie" value="test.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="15.0.0.0" />
      <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="test.swf" width="550" height="400">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="15.0.0.0" />
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
        <div>
          <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
          <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
    <script type="text/javascript">
    swfobject.registerObject("FlashID");
    </script>
    </body>
    </html>
    Javascript file code(the one dreamweaver made when I inserted swf):
    /*! SWFObject v2.0 <http://code.google.com/p/swfobject/>
    Copyright (c) 2007 Geoff Stearns, Michael Williams, and Bobby van der Sluis
    This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
    var swfobject = function() {
    var UNDEF = "undefined",
      OBJECT = "object",
      SHOCKWAVE_FLASH = "Shockwave Flash",
      SHOCKWAVE_FLASH_AX = "ShockwaveFlash.ShockwaveFlash",
      FLASH_MIME_TYPE = "application/x-shockwave-flash",
      EXPRESS_INSTALL_ID = "SWFObjectExprInst",
      win = window,
      doc = document,
      nav = navigator,
      domLoadFnArr = [],
      regObjArr = [],
      timer = null,
      storedAltContent = null,
      storedAltContentId = null,
      isDomLoaded = false,
      isExpressInstallActive = false;
    /* Centralized function for browser feature detection
      - Proprietary feature detection (conditional compiling) is used to detect Internet Explorer's features
      - User agent string detection is only used when no alternative is possible
      - Is executed directly for optimal performance
    var ua = function() {
      var w3cdom = typeof doc.getElementById != UNDEF && typeof doc.getElementsByTagName != UNDEF && typeof doc.createElement != UNDEF && typeof doc.appendChild != UNDEF && typeof doc.replaceChild != UNDEF && typeof doc.removeChild != UNDEF && typeof doc.cloneNode != UNDEF,
       playerVersion = [0,0,0],
       d = null;
      if (typeof nav.plugins != UNDEF && typeof nav.plugins[SHOCKWAVE_FLASH] == OBJECT) {
       d = nav.plugins[SHOCKWAVE_FLASH].description;
       if (d) {
        d = d.replace(/^.*\s+(\S+\s+\S+$)/, "$1");
        playerVersion[0] = parseInt(d.replace(/^(.*)\..*$/, "$1"), 10);
        playerVersion[1] = parseInt(d.replace(/^.*\.(.*)\s.*$/, "$1"), 10);
        playerVersion[2] = /r/.test(d) ? parseInt(d.replace(/^.*r(.*)$/, "$1"), 10) : 0;
      else if (typeof win.ActiveXObject != UNDEF) {
       var a = null, fp6Crash = false;
       try {
        a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".7");
       catch(e) {
        try {
         a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".6");
         playerVersion = [6,0,21];
         a.AllowScriptAccess = "always";  // Introduced in fp6.0.47
        catch(e) {
         if (playerVersion[0] == 6) {
          fp6Crash = true;
        if (!fp6Crash) {
         try {
          a = new ActiveXObject(SHOCKWAVE_FLASH_AX);
         catch(e) {}
       if (!fp6Crash && a) { // a will return null when ActiveX is disabled
        try {
         d = a.GetVariable("$version");  // Will crash fp6.0.21/23/29
         if (d) {
          d = d.split(" ")[1].split(",");
          playerVersion = [parseInt(d[0], 10), parseInt(d[1], 10), parseInt(d[2], 10)];
        catch(e) {}
      var u = nav.userAgent.toLowerCase(),
       p = nav.platform.toLowerCase(),
       webkit = /webkit/.test(u) ? parseFloat(u.replace(/^.*webkit\/(\d+(\.\d+)?).*$/, "$1")) : false, // returns either the webkit version or false if not webkit
       ie = false,
       windows = p ? /win/.test(p) : /win/.test(u),
       mac = p ? /mac/.test(p) : /mac/.test(u);
      /*@cc_on
       ie = true;
       @if (@_win32)
        windows = true;
       @elif (@_mac)
        mac = true;
       @end
      return { w3cdom:w3cdom, pv:playerVersion, webkit:webkit, ie:ie, win:windows, mac:mac };
    /* Cross-browser onDomLoad
      - Based on Dean Edwards' solution: http://dean.edwards.name/weblog/2006/06/again/
      - Will fire an event as soon as the DOM of a page is loaded (supported by Gecko based browsers - like Firefox -, IE, Opera9+, Safari)
    var onDomLoad = function() {
      if (!ua.w3cdom) {
       return;
      addDomLoadEvent(main);
      if (ua.ie && ua.win) {
       try {  // Avoid a possible Operation Aborted error
        doc.write("<scr" + "ipt id=__ie_ondomload defer=true src=//:></scr" + "ipt>"); // String is split into pieces to avoid Norton AV to add code that can cause errors
        var s = getElementById("__ie_ondomload");
        if (s) {
         s.onreadystatechange = function() {
          if (this.readyState == "complete") {
           this.parentNode.removeChild(this);
           callDomLoadFunctions();
       catch(e) {}
      if (ua.webkit && typeof doc.readyState != UNDEF) {
       timer = setInterval(function() { if (/loaded|complete/.test(doc.readyState)) { callDomLoadFunctions(); }}, 10);
      if (typeof doc.addEventListener != UNDEF) {
       doc.addEventListener("DOMContentLoaded", callDomLoadFunctions, null);
      addLoadEvent(callDomLoadFunctions);
    function callDomLoadFunctions() {
      if (isDomLoaded) {
       return;
      if (ua.ie && ua.win) { // Test if we can really add elements to the DOM; we don't want to fire it too early
       var s = createElement("span");
       try { // Avoid a possible Operation Aborted error
        var t = doc.getElementsByTagName("body")[0].appendChild(s);
        t.parentNode.removeChild(t);
       catch (e) {
        return;
      isDomLoaded = true;
      if (timer) {
       clearInterval(timer);
       timer = null;
      var dl = domLoadFnArr.length;
      for (var i = 0; i < dl; i++) {
       domLoadFnArr[i]();
    function addDomLoadEvent(fn) {
      if (isDomLoaded) {
       fn();
      else {
       domLoadFnArr[domLoadFnArr.length] = fn; // Array.push() is only available in IE5.5+
    /* Cross-browser onload
      - Based on James Edwards' solution: http://brothercake.com/site/resources/scripts/onload/
      - Will fire an event as soon as a web page including all of its assets are loaded
    function addLoadEvent(fn) {
      if (typeof win.addEventListener != UNDEF) {
       win.addEventListener("load", fn, false);
      else if (typeof doc.addEventListener != UNDEF) {
       doc.addEventListener("load", fn, false);
      else if (typeof win.attachEvent != UNDEF) {
       win.attachEvent("onload", fn);
      else if (typeof win.onload == "function") {
       var fnOld = win.onload;
       win.onload = function() {
        fnOld();
        fn();
      else {
       win.onload = fn;
    /* Main function
      - Will preferably execute onDomLoad, otherwise onload (as a fallback)
    function main() { // Static publishing only
      var rl = regObjArr.length;
      for (var i = 0; i < rl; i++) { // For each registered object element
       var id = regObjArr[i].id;
       if (ua.pv[0] > 0) {
        var obj = getElementById(id);
        if (obj) {
         regObjArr[i].width = obj.getAttribute("width") ? obj.getAttribute("width") : "0";
         regObjArr[i].height = obj.getAttribute("height") ? obj.getAttribute("height") : "0";
         if (hasPlayerVersion(regObjArr[i].swfVersion)) { // Flash plug-in version >= Flash content version: Houston, we have a match!
          if (ua.webkit && ua.webkit < 312) { // Older webkit engines ignore the object element's nested param elements
           fixParams(obj);
          setVisibility(id, true);
         else if (regObjArr[i].expressInstall && !isExpressInstallActive && hasPlayerVersion("6.0.65") && (ua.win || ua.mac)) { // Show the Adobe Express Install dialog if set by the web page author and if supported (fp6.0.65+ on Win/Mac OS only)
          showExpressInstall(regObjArr[i]);
         else { // Flash plug-in and Flash content version mismatch: display alternative content instead of Flash content
          displayAltContent(obj);
       else {  // If no fp is installed, we let the object element do its job (show alternative content)
        setVisibility(id, true);
    /* Fix nested param elements, which are ignored by older webkit engines
      - This includes Safari up to and including version 1.2.2 on Mac OS 10.3
      - Fall back to the proprietary embed element
    function fixParams(obj) {
      var nestedObj = obj.getElementsByTagName(OBJECT)[0];
      if (nestedObj) {
       var e = createElement("embed"), a = nestedObj.attributes;
       if (a) {
        var al = a.length;
        for (var i = 0; i < al; i++) {
         if (a[i].nodeName.toLowerCase() == "data") {
          e.setAttribute("src", a[i].nodeValue);
         else {
          e.setAttribute(a[i].nodeName, a[i].nodeValue);
       var c = nestedObj.childNodes;
       if (c) {
        var cl = c.length;
        for (var j = 0; j < cl; j++) {
         if (c[j].nodeType == 1 && c[j].nodeName.toLowerCase() == "param") {
          e.setAttribute(c[j].getAttribute("name"), c[j].getAttribute("value"));
       obj.parentNode.replaceChild(e, obj);
    /* Fix hanging audio/video threads and force open sockets and NetConnections to disconnect
      - Occurs when unloading a web page in IE using fp8+ and innerHTML/outerHTML
      - Dynamic publishing only
    function fixObjectLeaks(id) {
      if (ua.ie && ua.win && hasPlayerVersion("8.0.0")) {
       win.attachEvent("onunload", function () {
        var obj = getElementById(id);
        if (obj) {
         for (var i in obj) {
          if (typeof obj[i] == "function") {
           obj[i] = function() {};
         obj.parentNode.removeChild(obj);
    /* Show the Adobe Express Install dialog
      - Reference: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6a253b75
    function showExpressInstall(regObj) {
      isExpressInstallActive = true;
      var obj = getElementById(regObj.id);
      if (obj) {
       if (regObj.altContentId) {
        var ac = getElementById(regObj.altContentId);
        if (ac) {
         storedAltContent = ac;
         storedAltContentId = regObj.altContentId;
       else {
        storedAltContent = abstractAltContent(obj);
       if (!(/%$/.test(regObj.width)) && parseInt(regObj.width, 10) < 310) {
        regObj.width = "310";
       if (!(/%$/.test(regObj.height)) && parseInt(regObj.height, 10) < 137) {
        regObj.height = "137";
       doc.title = doc.title.slice(0, 47) + " - Flash Player Installation";
       var pt = ua.ie && ua.win ? "ActiveX" : "PlugIn",
        dt = doc.title,
        fv = "MMredirectURL=" + win.location + "&MMplayerType=" + pt + "&MMdoctitle=" + dt,
        replaceId = regObj.id;
       // For IE when a SWF is loading (AND: not available in cache) wait for the onload event to fire to remove the original object element
       // In IE you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work
       if (ua.ie && ua.win && obj.readyState != 4) {
        var newObj = createElement("div");
        replaceId += "SWFObjectNew";
        newObj.setAttribute("id", replaceId);
        obj.parentNode.insertBefore(newObj, obj); // Insert placeholder div that will be replaced by the object element that loads expressinstall.swf
        obj.style.display = "none";
        win.attachEvent("onload", function() { obj.parentNode.removeChild(obj); });
       createSWF({ data:regObj.expressInstall, id:EXPRESS_INSTALL_ID, width:regObj.width, height:regObj.height }, { flashvars:fv }, replaceId);
    /* Functions to abstract and display alternative content
    function displayAltContent(obj) {
      if (ua.ie && ua.win && obj.readyState != 4) {
       // For IE when a SWF is loading (AND: not available in cache) wait for the onload event to fire to remove the original object element
       // In IE you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work
       var el = createElement("div");
       obj.parentNode.insertBefore(el, obj); // Insert placeholder div that will be replaced by the alternative content
       el.parentNode.replaceChild(abstractAltContent(obj), el);
       obj.style.display = "none";
       win.attachEvent("onload", function() { obj.parentNode.removeChild(obj); });
      else {
       obj.parentNode.replaceChild(abstractAltContent(obj), obj);
    function abstractAltContent(obj) {
      var ac = createElement("div");
      if (ua.win && ua.ie) {
       ac.innerHTML = obj.innerHTML;
      else {
       var nestedObj = obj.getElementsByTagName(OBJECT)[0];
       if (nestedObj) {
        var c = nestedObj.childNodes;
        if (c) {
         var cl = c.length;
         for (var i = 0; i < cl; i++) {
          if (!(c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param") && !(c[i].nodeType == 8)) {
           ac.appendChild(c[i].cloneNode(true));
      return ac;
    /* Cross-browser dynamic SWF creation
    function createSWF(attObj, parObj, id) {
      var r, el = getElementById(id);
      if (typeof attObj.id == UNDEF) { // if no 'id' is defined for the object element, it will inherit the 'id' from the alternative content
       attObj.id = id;
      if (ua.ie && ua.win) { // IE, the object element and W3C DOM methods do not combine: fall back to outerHTML
       var att = "";
       for (var i in attObj) {
        if (attObj[i] != Object.prototype[i]) { // Filter out prototype additions from other potential libraries, like Object.prototype.toJSONString = function() {}
         if (i == "data") {
          parObj.movie = attObj[i];
         else if (i.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
          att += ' class=" + attObj[i] + "';
         else if (i != "classid") {
          att += ' ' + i + '="' + attObj[i] + '"';
       var par = "";
       for (var j in parObj) {
        if (parObj[j] != Object.prototype[j]) { // Filter out prototype additions from other potential libraries
         par += '<param name="' + j + '" value="' + parObj[j] + '" />';
       el.outerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + att + '>' + par + '</object>';
       fixObjectLeaks(attObj.id); // This bug affects dynamic publishing only
       r = getElementById(attObj.id);
      else if (ua.webkit && ua.webkit < 312) { // Older webkit engines ignore the object element's nested param elements: fall back to the proprietary embed element
       var e = createElement("embed");
       e.setAttribute("type", FLASH_MIME_TYPE);
       for (var k in attObj) {
        if (attObj[k] != Object.prototype[k]) { // Filter out prototype additions from other potential libraries
         if (k == "data") {
          e.setAttribute("src", attObj[k]);
         else if (k.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
          e.setAttribute("class", attObj[k]);
         else if (k != "classid") { // Filter out IE specific attribute
          e.setAttribute(k, attObj[k]);
       for (var l in parObj) {
        if (parObj[l] != Object.prototype[l]) { // Filter out prototype additions from other potential libraries
         if (l != "movie") { // Filter out IE specific param element
          e.setAttribute(l, parObj[l]);
       el.parentNode.replaceChild(e, el);
       r = e;
      else { // Well-behaving browsers
       var o = createElement(OBJECT);
       o.setAttribute("type", FLASH_MIME_TYPE);
       for (var m in attObj) {
        if (attObj[m] != Object.prototype[m]) { // Filter out prototype additions from other potential libraries
         if (m.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
          o.setAttribute("class", attObj[m]);
         else if (m != "classid") { // Filter out IE specific attribute
          o.setAttribute(m, attObj[m]);
       for (var n in parObj) {
        if (parObj[n] != Object.prototype[n] && n != "movie") { // Filter out prototype additions from other potential libraries and IE specific param element
         createObjParam(o, n, parObj[n]);
       el.parentNode.replaceChild(o, el);
       r = o;
      return r;
    function createObjParam(el, pName, pValue) {
      var p = createElement("param");
      p.setAttribute("name", pName);
      p.setAttribute("value", pValue);
      el.appendChild(p);
    function getElementById(id) {
      return doc.getElementById(id);
    function createElement(el) {
      return doc.createElement(el);
    function hasPlayerVersion(rv) {
      var pv = ua.pv, v = rv.split(".");
      v[0] = parseInt(v[0], 10);
      v[1] = parseInt(v[1], 10);
      v[2] = parseInt(v[2], 10);
      return (pv[0] > v[0] || (pv[0] == v[0] && pv[1] > v[1]) || (pv[0] == v[0] && pv[1] == v[1] && pv[2] >= v[2])) ? true : false;
    /* Cross-browser dynamic CSS creation
      - Based on Bobby van der Sluis' solution: http://www.bobbyvandersluis.com/articles/dynamicCSS.php
    function createCSS(sel, decl) {
      if (ua.ie && ua.mac) {
       return;
      var h = doc.getElementsByTagName("head")[0], s = createElement("style");
      s.setAttribute("type", "text/css");
      s.setAttribute("media", "screen");
      if (!(ua.ie && ua.win) && typeof doc.createTextNode != UNDEF) {
       s.appendChild(doc.createTextNode(sel + " {" + decl + "}"));
      h.appendChild(s);
      if (ua.ie && ua.win && typeof doc.styleSheets != UNDEF && doc.styleSheets.length > 0) {
       var ls = doc.styleSheets[doc.styleSheets.length - 1];
       if (typeof ls.addRule == OBJECT) {
        ls.addRule(sel, decl);
    function setVisibility(id, isVisible) {
      var v = isVisible ? "inherit" : "hidden";
      if (isDomLoaded) {
       getElementById(id).style.visibility = v;
      else {
       createCSS("#" + id, "visibility:" + v);
    function getTargetVersion(obj) {
         if (!obj)
             return 0;
      var c = obj.childNodes;
      var cl = c.length;
      for (var i = 0; i < cl; i++) {
       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "object") {
           c = c[i].childNodes;
           cl = c.length;
           i = 0;
       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param" && c[i].getAttribute("name") == "swfversion") {
          return c[i].getAttribute("value");
      return 0;
    function getExpressInstall(obj) {
         if (!obj)
             return "";
      var c = obj.childNodes;
      var cl = c.length;
      for (var i = 0; i < cl; i++) {
       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "object") {
           c = c[i].childNodes;
           cl = c.length;
           i = 0;
       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param" && c[i].getAttribute("name") == "expressinstall") {
           return c[i].getAttribute("value");
      return "";
    return {
      /* Public API
       - Reference: http://code.google.com/p/swfobject/wiki/SWFObject_2_0_documentation
      registerObject: function(objectIdStr, swfVersionStr, xiSwfUrlStr) {
       if (!ua.w3cdom || !objectIdStr) {
        return;
       var obj = document.getElementById(objectIdStr);
       var xi = getExpressInstall(obj);
       var regObj = {};
       regObj.id = objectIdStr;
       regObj.swfVersion = swfVersionStr ? swfVersionStr : getTargetVersion(obj);
       regObj.expressInstall = xiSwfUrlStr ? xiSwfUrlStr : ((xi != "") ? xi : false);
       regObjArr[regObjArr.length] = regObj;
       setVisibility(objectIdStr, false);
      getObjectById: function(objectIdStr) {
       var r = null;
       if (ua.w3cdom && isDomLoaded) {
        var o = getElementById(objectIdStr);
        if (o) {
         var n = o.getElementsByTagName(OBJECT)[0];
         if (!n || (n && typeof o.SetVariable != UNDEF)) {
             r = o;
         else if (typeof n.SetVariable != UNDEF) {
          r = n;
       return r;
      embedSWF: function(swfUrlStr, replaceElemIdStr, widthStr, heightStr, swfVersionStr, xiSwfUrlStr, flashvarsObj, parObj, attObj) {
       if (!ua.w3cdom || !swfUrlStr || !replaceElemIdStr || !widthStr || !heightStr || !swfVersionStr) {
        return;
       widthStr += ""; // Auto-convert to string to make it idiot proof
       heightStr += "";
       if (hasPlayerVersion(swfVersionStr)) {
        setVisibility(replaceElemIdStr, false);
        var att = (typeof attObj == OBJECT) ? attObj : {};
        att.data = swfUrlStr;
        att.width = widthStr;
        att.height = heightStr;
        var par = (typeof parObj == OBJECT) ? parObj : {};
        if (typeof flashvarsObj == OBJECT) {
         for (var i in flashvarsObj) {
          if (flashvarsObj[i] != Object.prototype[i]) { // Filter out prototype additions from other potential libraries
           if (typeof par.flashvars != UNDEF) {
            par.flashvars += "&" + i + "=" + flashvarsObj[i];
           else {
            par.flashvars = i + "=" + flashvarsObj[i];
        addDomLoadEvent(function() {
         createSWF(att, par, replaceElemIdStr);
         if (att.id == replaceElemIdStr) {
          setVisibility(replaceElemIdStr, true);
       else if (xiSwfUrlStr && !isExpressInstallActive && hasPlayerVersion("6.0.65") && (ua.win || ua.mac)) {
        setVisibility(replaceElemIdStr, false);
        addDomLoadEvent(function() {
         var regObj = {};
         regObj.id = regObj.altContentId = replaceElemIdStr;
         regObj.width = widthStr;
         regObj.height = heightStr;
         regObj.expressInstall = xiSwfUrlStr;
         showExpressInstall(regObj);
      getFlashPlayerVersion: function() {
       return { major:ua.pv[0], minor:ua.pv[1], release:ua.pv[2] };
      hasFlashPlayerVersion:hasPlayerVersion,
      createSWF: function(attObj, parObj, replaceElemIdStr) {
       if (ua.w3cdom && isDomLoaded) {
        return createSWF(attObj, parObj, replaceElemIdStr);
       else {
        return undefined;
      createCSS: function(sel, decl) {
       if (ua.w3cdom) {
        createCSS(sel, decl);
      addDomLoadEvent:addDomLoadEvent,
      addLoadEvent:addLoadEvent,
      getQueryParamValue: function(param) {
       var q = doc.location.search || doc.location.hash;
       if (param == null) {
        return q;
        if(q) {
        var pairs = q.substring(1).split("&");
        for (var i = 0; i < pairs.length; i++) {
         if (pairs[i].substring(0, pairs[i].indexOf("=")) == param) {
          return pairs[i].substring((pairs[i].indexOf("=") + 1));
       return "";
      // For internal usage only
      expressInstallCallback: function() {
       if (isExpressInstallActive && storedAltContent) {
        var obj = getElementById(EXPRESS_INSTALL_ID);
        if (obj) {
         obj.parentNode.replaceChild(storedAltContent, obj);
         if (storedAltContentId) {
          setVisibility(storedAltContentId, true);
          if (ua.ie && ua.win) {
           storedAltContent.style.display = "block";
         storedAltContent = null;
         storedAltContentId = null;
         isExpressInstallActive = false;
    Can someone please help!  I've looked and tried prety much everything.  If you can provide a solution I would GREATLY apreciate it!

    There is no Flash player version 15... as in your code:
    <param name="swfversion" value="15.0.0.0" />
    For some reason Adobe thought it would be a good idea to target a Flash player version (15) as default.....which may be out a couple years in the future. Go figure!!!
    If you don't like player version 9, change to 10 or 11.... just not 15 (yet).
    Best wishes,
    Adninjastrator

  • Firefox 4 seems to action on some html tags that are included within a html comment tag which it should not.

    Consider the following html code where I open a textarea and include a comment tag within the textarea. Within the comment tag (which Firefox 4 should ignore) I've included a close textarea tag. Firefox 4 (unlike FF3 and IE) closes the textarea.
    The following code is also available at
    http://www.cems.uwe.ac.uk/caa/ffbug/index.html
    We are about to start a textarea....<p>
    <pre><nowiki><textarea rows='20' cols='40'>
    Here is the textarea.
    Inside these comment blocks I'll put a close textarea tag which Firefox should ignore but does not.
    <p>
    <!--
    We are now inside comment blocks...
    <br>
    This code should be inside the text area.<br>
    </textarea>
    <br>
    and so should this code be <b>inside</b> the text area (but is not in Firefox 4).
    -->
    </textarea>
    <p></nowiki></pre>
    This code should be outside the textbox.

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • How to create FrameMaker glossary entries which convert properly to RoboHelp HTML 8?

    I have been having a challenging time creating FrameMaker 9 glossary
    entries which convert properly into RoboHelp HTML 8. Here is the process I'm doing, and perhaps someone call tell me what I'm doing wrong.
    1.) In the FrameMaker document, I highlight a word or phrase which serves as the "glossary term" to be defined.
    2.) I open the Marker dialog box, select the Glossary option, then enter the "glossary definition" for the highlighted "glossary term." I commit the entry.
    3.) In the FrameMaker Book file, I create a new "Index of Markers" (IOM) of "Glossary" type. Upon generation of the IOM, my FrameMaker output is much like a standard index: There are letter delimiters ("A," "B," C," etc.), and under each is the "glossary definition," then a page number where the "glossary term" is.
    4.) Now I go to RoboHelp HTML 8 and update the document there. The glossary displays such that the "glossary term" is the entire paragraph in which the marker had been placed in the FrameMaker source file. The "glossary definition" is displayed properly (the text I placed into the Marker dialog box.
    So, how am I to create auto-generating glossaries? This implies that I need to create a manual glossary whereby the "glossary term" is in a paragraph by itself (much like a printed glossary would look). Furthermore, I would need to add this manual glossary as a file in the FrameMaker Book file for RoboHelp 8 to detect and pull the entries.
    Surely this isn't as how it was designed. I suspect I'm doing something wrong in how I create glossary entries or create the file in the FrameMaker Book file.
    Could someone offer some assistance?
    Thank you very much in advance!
    Most sincerely,
    Sammy Spencer

    It's because you're doing your markers backwards. The text inside your Glossary marker should be the term. The paragraph your marker is inside is the definition.
    I should say, rather, that Robohelp does it backwards, because when I think of glossary terms and definitions, I think there should be a way to highlight a word and provide the definition in the hidden marker, not hide the term inside the marker.
    I am still figuring out how to make a glossary in my Framemaker file that will work with my Robohelp file, and not have Robohelp generate a separate content file for the glossary file. I think I'll get it, though. Eventually.

  • How to find out sub site name from which sub site template is created - in solution gallery

    hi,
     i am having an issue in my "save site as a template". i have created  a subsite few weeks back with doc libs and  splists, disc.forum and  based on the template subsite I have created new subsites. now 
    as  per my new requirement i need to add new  doclibs and few columns in these doc lib. But I am unable to find which sub site was taken as a template.since i have many  subsites with different names, I forgott
    to make meaningful names, i gave some datetime for the templatesubsites,
    like project_27_jul_2pm,project_20_jul_7pm, etc etc.
    So would like to know, is it possible to find out from which subsite I have taken/prepared  the template subsite.
    any APIs are available or any power shell scripts. such that i can find  out from which subsite i have created this  sub site template.

    check this
    http://social.msdn.microsoft.com/Forums/en-US/3c492adb-e7cb-4f5c-8c29-386a21c3498e/how-to-find-out-a-list-of-sites-created-from-a-template?forum=sharepointgeneralprevious

  • Which product should I buy? I want to create vintage/retro posters for band and Bar

    which product should I buy? I want to create vintage/retro posters for band and Bar

    Good day!
    Instead of buying right away you may want to avail yourself of the free 30 day trial first to see which program fits your needs.
    Photoshop and Photoshop Elements may be worth a try.
    If you intend to create more graphic/typographic designs Illustrator may be worth looking into, too.
    Someone else may have more/other recommendations, though.
    Regards,
    Pfaffenbichler

  • To create a web page which application should I use?

    I'm a graphic designer who works with illustrator, indesign and photoshop. To create a web page which application should I use?

    Muse (aimed at novices) or Dreamweaver (aimed at web professionals familiar with web code)

  • Create HTML Contact Form with PHP script

    Hi Everyone
    I have designed a contact form in HTML with PHP script but it doesn't seem to be working. The PHP echo message doesn't appear after I submit the form and the e-mail message is not delivered.  The url address is http://www.dreamaustraliastudytours.com.au/Test/ContactUs.html. Any thoughts would be greatly apprecipated
    Thank you in advance
    Paul

    Hi Ben and Murray
    Thank you for your input on the php script. You nailed the problem on the head. I have up dated the script  and provided it below. I have one more question.
    After the end user submits the form I would like them to be directed to another html file - for example successful.html. Would the code be
    $insertGoTo = "successful.html";
    delete 'Thank you for contacting us. We will be in touch with you very soon.'?
    Once again thank you for your advice
    Regards
    Paul
    <?php
    if(isset($_POST['email'])) {
        $email_to = "[email protected]";
        $email_subject = "New Inquiry";
        function died($error) {
            // your error code can go here
            echo "We are very sorry, but there were error(s) found with the form you submitted. ";
            echo "These errors appear below.<br /><br />";
            echo $error."<br /><br />";
            echo "Please go back and fix these errors.<br /><br />";
            die();
        // validation expected data exists
        if(!isset($_POST['first_name']) ||
            !isset($_POST['last_name']) ||
            !isset($_POST['email']) ||
            !isset($_POST['telephone']) ||
            !isset($_POST['comments'])) {
            died('We are sorry, but there appears to be a problem with the form you submitted.');      
        $first_name = $_POST['first_name']; // required
        $last_name = $_POST['last_name']; // required
        $email_from = $_POST['email']; // required
        $telephone = $_POST['telephone']; // not required
        $comments = $_POST['comments']; // required
        $error_message = "";
        $email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';
      if(!preg_match($email_exp,$email_from)) {
        $error_message .= 'The Email Address you entered does not appear to be valid.<br />';
        $string_exp = "/^[A-Za-z .'-]+$/";
      if(!preg_match($string_exp,$first_name)) {
        $error_message .= 'The First Name you entered does not appear to be valid.<br />';
      if(!preg_match($string_exp,$last_name)) {
        $error_message .= 'The Last Name you entered does not appear to be valid.<br />';
      if(strlen($comments) < 2) {
        $error_message .= 'The Comments you entered do not appear to be valid.<br />';
      if(strlen($error_message) > 0) {
        died($error_message);
        $email_message = "Form details below.\n\n";
        function clean_string($string) {
          $bad = array("content-type","bcc:","to:","cc:","href");
          return str_replace($bad,"",$string);
        $email_message .= "First Name: ".clean_string($first_name)."\n";
        $email_message .= "Last Name: ".clean_string($last_name)."\n";
        $email_message .= "Email: ".clean_string($email_from)."\n";
        $email_message .= "Telephone: ".clean_string($telephone)."\n";
        $email_message .= "Comments: ".clean_string($comments)."\n";
    // create email headers
    $headers = 'From: '.$email_from."\r\n".
    'Reply-To: '.$email_from."\r\n" .
    'X-Mailer: PHP/' . phpversion();
    @mail($email_to, $email_subject, $email_message, $headers); 
    ?>
    Thank you for contacting us. We will be in touch with you very soon.
    <?php
    ?>

  • Is there any way to delete a page listing on the top of the IWeb site. I created a page which has links to the other pages, so I don't need all of them listed on top...

    Is there any way to delete a page listing on the top of the IWeb site. I created a page which has links to the other pages, so I don't need all of them listed on top...

    Better ask in the iWeb forum.
    Answer : inspector > first icon from the left > uncheck 'Display navigation menu'
    For future reference, also look at the other icons.

  • How should I create JAR file which  contain JMF library and project classes

    Hi,
    I installed the JMF windows pack. I compiled and ran successfully myApplet (which use JMF librarie) in Internet Explorer on my machine. When I run this applet on some different machine, where JMF isn�t installed- it�s not running.
    There is an error:
    java.lang.NoClassDefFoundError: javax/media/ControllerListener
    I was trying to create jar file, which contain librarie JMF.jar and all other files which are require to run myApplet (*.jar, *.class, the files from folder �MyApplet�) and run it on the other computer. It still doesn�t work.
    Also I ran a JMF Customizer and created customize.jar but this file contains only JMF classes. I don�t know how add other files to it.
    How should I create a jar file which will contains all essential files to run myApplet on other machine (something like �All In One� J )
    I�m using Eclipse.
    Can somebody help me?.
    Thank You!
    Best regards:
    Peter

    Hi
    i want to make a jar file of application which is using JMF to play audio
    and video. it works well during compilation and execution but doesn't
    works in jar file.
    please help me how i make a jar file whic will run audio and video too
    your's truely
    abdul

  • How to create an interactive 3D model? Which software should we need to do that?

    How to create an interactive 3D model? Which software should we need to do that?

    you can crate 3d models in any number of graphics programs.  swift3d is especially designed to use with flash.
    i'm not sure what kind of interaction you want but that would probably be coded in flash.

  • Which services should be moved to a new SharePoint Enterprise Application server?

    Our farm is currently a WFE and a SQL server. I've been tasked with creating a new SP Enterprise Application/Search server.
    Which services should be moved? This is what's currently listed in Services on Server:
    Access Database Service  Started  Stop 
    Application Registry Service  Started  Stop 
    Business Data Connectivity Service  Started  Stop 
    Central Administration  Started  Stop 
    Claims to Windows Token Service  Started  Stop 
    Document Conversions Launcher Service  Stopped  Start 
    Document Conversions Load Balancer Service  Stopped  Start 
    Excel Calculation Services  Started  Stop 
    Lotus Notes Connector  Stopped  Start 
    Managed Metadata Web Service  Started  Stop 
    Microsoft SharePoint Foundation Incoming E-Mail  Started  Stop 
    Microsoft SharePoint Foundation Sandboxed Code Service  Stopped  Start 
    Microsoft SharePoint Foundation Subscription Settings Service  Stopped  Start 
    Microsoft SharePoint Foundation Web Application  Started  Stop 
    Microsoft SharePoint Foundation Workflow Timer Service  Started  Stop 
    PerformancePoint Service  Started  Stop 
    Search Query and Site Settings Service  Started  Stop 
    Secure Store Service  Started  Stop 
    SharePoint Foundation Search  Stopped  Start 
    SharePoint Server Search  Started  Stop 
    User Profile Service  Started  Stop 
    User Profile Synchronization Service  Started  Stop 
    Visio Graphics Service  Started  Stop 
    Web Analytics Data Processing Service  Started  Stop 
    Web Analytics Web Service  Started  Stop 
    Word Automation Services  Started  Stop 

    Take a look at http://www.microsoft.com/en-us/download/details.aspx?id=37000. It should help you decide where it is most appropriate to locate services.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Site not getting created in SharePoint 2013.

    Hi,
    I am trying to create site in 2013. while creating site, it is taking long time and after some time tried refresh the page, it shows site created. But when i click on created site, it shows empty page. i am not getting errors or event logs. what will be
    the error. Could some one please help me in creating site with working fine.
    Thanks,
    Badri.
    Badri

    Hi,
    According to your post, my understanding is that you get a blank page when you create a new site.
    To narrow down the issue scope, I recommend that you can try to test the following things.
      1.  What’s the type of this site you created in this site collectionCreate a new different types site in this site collections to check if this issue is occurred on the only site collection in this web application.
        Create a new site collection in another web application to check if this issue is occurred on the only web application.
        Create a new web application, create a new site collection in this new web application to test if it works.
        If you are then the odds are that something went wrong during the provisioning of the original web application.
        And, you can add your URL for this site to “trusted sites” in IE.
    http://sharepoint.stackexchange.com/questions/60957/external-access-gives-a-blank-home-page
      2.  Do you use the administrator account to login the site?
        You can use the administrator account to login the site, then check the permission of your account.
        Maybe your account has no permission to access the site, you can assign it Full Control permission, then check whether it works.
    http://stackoverflow.com/questions/4742175/new-site-collection-is-empty-sharepoint-2010
      3.  Go to the IIS and select the respective web application. Here, I have selected the web application to which the site collection belongs to.
        Double click the Authentication icon.
        Set the status of ‘Basic Authentication’ from “Disabled” to “Enabled”.
    http://adicodes.com/fix-error-empty-pages-when-new-site-collection-is-created/
    http://sensoft2000-sharepoint.blogspot.com/2010/06/getting-blank-page-instead-of-central.html
      4.  Control Panel > Programs and Features > Turn Windows features on or off >Internet Information Services > World Wide Web Services > Security >tick ‘Windows Authentication’, do an IISReset for good measure.
        To be more specific, check the authentication settings for SharePoint Central Administration website in IIS. Make sure that you have Windows Authentication enabled and Anonymous Authentication disabled.
    http://blog.vinewave.com/2012/01/04/solved-sharepoint-returning-a-blank-page/
    http://blogs.objectsharp.com/post/2010/01/04/Blank-page-instead-of-the-SharePoint-Central-Administration-site.aspx
      5.  Run the following power shell command to disable the LoopbackCheck.
    New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -value "1" -PropertyType dword
        You may have to restart the servers and will have run this from all of your SharePoint servers.
        You can also navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa in registry and create the dword32 for DisableLoopbackCheck, modify the value to 1.
    https://social.technet.microsoft.com/Forums/en-US/7d311288-e14d-4fa8-be02-da524cb4c0ea/sharepoint-site-returns-a-blank-page?forum=sharepointadmin
    If the issue persists, please check the ULS log file to find more information about this issue.
    For SharePoint 2013, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS.
    Best Regards,
    Yumi Fu

  • How to Create HTML page from portal

    Hi
    I have a requirement to create html pages from portal.
    There will be an author who can choose document type as HTML
    and then he will write html codes on saving it should be saved as HTML doc in UCM.
    and publisher should be able to display it on portal(may be using content presenter).
    please help me in this. I know there is rich text editor task flow which can save a doc as doc file.
    and in spaces we have option of creating HTLM file but i don't know how to do it for my portal.
    Thanks

    A better way would be to create the page using approach in this blog:
    https://blogs.oracle.com/ATEAM_WEBCENTER/entry/content_presenter_cmis_complete
    That way the page can be edited inline and the html author need not upload html to ucm everytime.

Maybe you are looking for

  • Use External phone Number mask * Calling party Transform Mask @ Route patt

    Having an issue with CLID at RP level. Lets say I have two phones. One phone is configured with an External phone number mask of 1112223333 and the other one does not have an external number mask set. When a call is placed to the PSTN, Phone one need

  • Best image format for websites

    I make website named Softec Labs and I often use the JPG format to save most of my images because of the image clarity and sharpness. I have been hearing that the PNG format is ideal for the web because of its small file size, does the PNG format loo

  • Not able to sync iPhone, iPad, Macbook Pro

    I have followed all the inforamtion that Apple has to do with syncing the ipad, iphone, Macbook Pro, but they don't seem to read each other by wi-fi. All of them work just fine on their own but not together. The ipad does sync somethings such as cont

  • BoxLayout mystery.

    Usually I try to paint everything by myself, but its out of my hands in this case. It all seem to easy at first: I have a JPanel with    JPanel W=new JPanel();    W.setLayout(new BoxLayout(W,BoxLayout.Y_AXIS));To this "W" I keep adding JComponents, f

  • Snow Leopard Crashes Every Time I Visit Specific Site

    No...it's not a **** site. I have been trying to see the iPad cover films at Incipio. Every time...I mean EVERY time I click on the "iPad Accessories" tab on their homepage, Snow Leopard crashed immediately. Here's the kernal panic message that's get