Jump to content

iwato

Members
  • Content count

    847
  • Joined

  • Last visited

  • Days Won

    1

iwato last won the day on June 10

iwato had the most liked content!

Community Reputation

7 Neutral

1 Follower

About iwato

  • Rank
    Invested Member

Contact Methods

  • AIM
    moogoonghwa
  • Website URL
    http://www.grammarcaptive.com
  • Yahoo
    iddor
  • Skype
    kiusau

Profile Information

  • Gender
    Male
  • Location
    Seattle, Washington USA 98104

Previous Fields

  • Languages
    HTML, CSS, Javascript, PHP, MySQL and Spoken Language

Recent Profile Visitors

11,070 profile views
  1. HTTP and HTTPS Compatibility

    Yes, you are right. I simply forgot to upload a block of files whose prefix I had changed on my test server, but failed to upload to my host server. Thanks! I simply could not bear the thought of having to do everything all over again. I feel so relieved. Have a great weekend! Roddy
  2. HTTP and HTTPS Compatibility

    BACKGROUND: Sometimes I believe that I will never launch my project. The reason for this doubt is clear. Each time that I believe that I have got everything right, I make a small change that i am told will make everything better, and I finish by having to redo much of what I have already done simply to make it work as it did before with the new feature. What keeps me going on the other hand is that I have always somehow been able to overcome each of these sorts of major hurdles. No wonder it has taken me 14 months just to be able to get where I have gotten. DILEMMA: In order to observe the issue that I am having you are requested to follow the steps below. Mind you, the result of the experiment appears to be the same no matter the browser. I have tried it with Chrome, Safari, and Firefox. Step 1: Using the http:// protocol open to the following splash page: http://www.grammarcaptive.com Step 2: Click on the Freeman. This should open to a page with two preceding splash pages Step 3: When the 2nd splash page opens, you should see what appears to be a frame with a series of frames in which each frame is still another set of frames. _______ Step 4: Using the https:// protocol open to the following splash page: https://www.grammarcaptive.com. Step 5: Click on the Freeman. This should open to a page with two preceding splash pages. Step 6: When the 2nd splash page opens, however, the nested sets of frames have disappeared. _______ DISCUSSION: Now, I have made what I believe to be a fairly thorough check for the presence of the https:// prefix on all pages that refer to a link containing Javascript that might influence the behavior of the splash pages in question. I suspect that by having changed the prefix from http:// to https:// that I have, at least for some pages, introduced new code that is no longer compatible with the Javascript code that I am using. My Javascript console tells me that the jQuery variable is missing. Any ideas? Roddy
  3. Interpreting HTML as PHP files Using .htaccess

    Thank you for your help. I was finally able to resolve the issue by adding the following code to my httpd.conf file. AddType application/x-httpd-php .php .phtml .html Roddy
  4. Interpreting HTML as PHP files Using .htaccess

    OK. I have changed the directives setting from the above to the following: AddType text/html .php AddHandler application/x-httpd-php55 .html .htm but still the desired effect is not achieved, but for the fact that my Javascript fails. Indeed, the purpose of the PHP script is to signal to Javascript to ignore a specific Javascript procedure, not Javascript in its entirety.
  5. Interpreting HTML as PHP files Using .htaccess

    So, if I change the phrase AddType application/x-httpd-ea-php56 .php .html to read AddType application/x-httpd-ea-php55 .php .html to better reflect my test server's version of PHP -- namely, PHP 5.5.38 --, then there is some chance that I will be able to achieve a result similar to that of my web host server. Roddy
  6. The following code was inserted into the root folder of my www.grammarcaptive.com site in the form of an .htaccess control file. It was also inserted into my test server in an identical location. Although it appears to work well on the remote server, it fails on the local test server. Only the paths leading up to the sites' root folders appear to be different. THE CODE <IfModule mime_module> AddType application/x-httpd-ea-php56 .php .html </IfModule> REMOTE SERVER PATH public_html/grammarcaptive.com/.htaccess LOCAL TEST SERVER PATH ../../Sites/grammarcaptive.com/.htaccess QUESTION: Could the above path differences be at cause, or might there be an APACHE directive of some sort getting in the way? If so, what directive is it likely to be, and where should I look for it?
  7. Problem in calling static and non static method

    You appear to have two choices: 1) Redefine your method as static -- namely, public static function select() {...} 2) Access your method via a Crud object. $crud_obj = new Crud(); $crud_obj->select(...);
  8. Thank You!

    I just want to wish everyone a great weekend! If you are wondering why, then have a look at the fruit of your answers to my queries. Roddy
  9. How Is W3Schools Now ?

    JSG: Sure there is, and please correct me, if I am wrong. Although it is nearly always possible to know what websites an individual has visited or is visiting, once a secure connection has been established it is "Oh, so difficult" to know what the person is viewing or doing on the website. This greatly deters the kind of mass accumulation of data sought by governments and others around the world. Roddy
  10. BACKGROUND: I have an AJAX call that pulls in an HTML file. The file is a template that is populated with variables whose values are obtained from a MySQL database before the template is called. One of the values that I obtain from the database is important to a script associated with the AJAX call. This value should not appear, however, in the browser window when the AJAX call has been completed. Now, I could easily hide the value of this variable with the CSS display property, but would it still be available to the aforementioned script? QUESTION: Is a hidden element still available for processing by other elements and script? Roddy
  11. Accordion script doesn't work on mobile

    It might also be the length of the entry. The accordion entries are built with <li> elements. The default nature of a <li> element is that of a block. It may be that whatever is contained in the block exceeds the width of the block. Is autowrap turned on? Have you tried using shorter entries? I do not believe that the number of entries is causing the problem. Roddy
  12. How to Center the jPlayer Circle.Player

    Thank you for your suggestions. The following decidedly works, but I am not sure why. <div style='text-align:center;'> <h1 id='click_listen'>Click and Listen</h1> <!-- The jPlayer div must not be hidden. Keep it at the root of the body element to avoid any such problems. --> <div id="jquery_jplayer_1" class="cp-jplayer"></div> <!-- The container for the interface can go where you want to display it. Show and hide it as you need. --> <div id="cp_container_1" class="cp-container" style='display:inline-block;margin: 0 auto;text-align: center;'> <div class="cp-buffer-holder"> <!-- .cp-gt50 only needed when buffer is > than 50% --> <div class="cp-buffer-1"></div> <div class="cp-buffer-2"></div> </div> <div class="cp-progress-holder"> <!-- .cp-gt50 only needed when progress is > than 50% --> <div class="cp-progress-1"></div> <div class="cp-progress-2"></div> </div> <div class="cp-circle-control"></div> <ul class="cp-controls"> <li><a class="cp-play" tabindex="1">play</a></li> <li><a class="cp-pause" style="display:none;" tabindex="1">pause</a></li> <!-- Needs the inline style here, or jQuery.show() uses display:inline instead of display:block --> </ul> </div><!-- end div#cp_container_1 --> <p style="font-family:'Bradley Hand', cursive;font-size:1.6em;">Did you learn from it?<br />Did you like it?</p> <div id='share'></div> <p style="font-family:'Bradley Hand', cursive;font-size:1.6em;">Now, teach and share it!</p> </div> Is it because the <div> tag into which it is being inserted is itself being treated as text? Roddy
  13. How to Center the jPlayer Circle.Player

    What is inside the click function was supplied by jPlayer. Everything else was written by me and is not yet complete. Surely this is not the source of the centering problem, however. Roddy
  14. BACKGROUND: What I thought would be an easy task through the use of a <div> wrapper has proven very difficult, if not impossible. Whoever built this nifty GUI either knows a lot more than I about positioning and placement, or they built this widget totally oblivious to potential user implementation. Please understand that I have gone through a lot of trouble to get it to work, am loathe to abandon it at such a late stage, but definitely will abandon it, if I cannot learn to place it at my will. DILEMMA and QUESTION: I would very much like to center the audio player displayed on the following page, but cannot seem to accomplish the task. Have you any suggestions short of rebuilding the entire graphical interface pixel by pixel? VIEWING STEPS: Step One: Open to Sender Proxy and click on the link entitled Proxy Link in the bottom-left corner. Step Two: When the page open click on the words Click and Listen. The image that appears is what I would like to center beneath the words Click and Listen. The pages necessary to understand the structural and formatting aspects are provided below: SOURCE PAGES: The Template: http://www.grammarcaptive.com/podcasting/template/template.html You must open the page in source code to make any sense of it. The portion of this page that forms the template begin and ends with the following two <div> tags: Start Tag: <div id='podcast_insert'> End Tag: </section><!-- end section_summary --> The CSS: http://www.grammarcaptive.com/_utilities/lbrary/jPlayer-2.9.2/lib/circle-player/skin/circle.player.css The Javascript: http://www.grammarcaptive.com/_utilities/lbrary/jPlayer-2.9.2/lib/circle-player/js/circle.player.js I offer this Javascript only for the sake of completeness. As a well-formatted jQuery product, the CSS is truly a separate issue. HOST PAGE JAVASCRIPT USED to INITIALIZE the PLAYER <script> $("#click_listen").mouseenter(function() { $(this).css({'cursor':'pointer','color':'#5a4149'}); $(this).click(function(){ $("#cp_container_1").show(); var myCirclePlayer = new CirclePlayer("#jquery_jplayer_1", { m4a: "http://www.jplayer.org/audio/m4a/Miaow-07-Bubble.m4a", oga: "http://www.jplayer.org/audio/ogg/Miaow-07-Bubble.ogg" }, { cssSelectorAncestor: "#cp_container_1", swfPath: "_utilities/library/jPlayer-2.9.2/dist/jplayer/", wmode: "window", keyEnabled: true }); }); }) .mouseout(function() { $(this).css({'cursor':'none','color':'#fff'}); }); </script> Roddy
  15. It appears from the condition of the above if statement that stylesheet is a built-in property of the returned data object. Is this true? Roddy
×