Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 21
  1. #11
    Junior Member
    Join Date
    Jan 2007
    Location
    Los Angeles, California
    Posts
    17
    Member #
    14744
    Part 3

    Code:
                                    <p><ul class="testimonial">
                                        <?php
                                            while ($i2 < 6) {
                                                $id2=mysql_result($result2,$i2,"id");
                                                $review=mysql_result($result2,$i2,"review");
                                                $reviewer=mysql_result($result2,$i2,"reviewer");
                                            ?>
                                        <li><span class="icon icon-user"style="color:#999;"></span><span>&quot;<?php echo $review; ?>&quot;</span>
                                        </li>
                                        <?php
    
                                            $i2++;
                                            }
                                            ?>
                                    </ul></p>
    
    
                                    <p>We give The Meditation Podcast freely, as a way to give thanks for our many blessings. We strongly believe that when you give you also receive, and making this podcast has been its own reward. However, we do appreciate your support, whether in the form of donations, buying CD's, or just emails telling us about your experience with the podcast.</p>
    
                                    <p><h2>What are Binaural Beats?</h2></p>
    
                                    <p>Binaural beats enhance Theta brainwaves in the listener. The Theta-state, similar to REM dreaming, makes the body and mind more receptive to healing, cellular regeneration, and learning, and tends to instill a sense of peace in the listener. <strong>Please use headphones when listening to this podcast.</strong>
    
    
                                    <p>*<strong>Warning:</strong> Because The Meditation Podcast can induce an altered state of consciousness, do not listen while driving or operating machinery. Also, please note that binaural technology may increase the risk of seizures to those with epilepsy or to people prone to having seizures. Please note that we are not licensed health care practitioners, and we do not claim any specific health benefits from using this podcast. You are responsible for your own health! As with anything, use this podcast at your own risk.</p>
    
                                    <p><ul class="testimonial">
                                    <?php
                                        while ($i2 < 13) {
                                            $id2=mysql_result($result2,$i2,"id");
                                            $review=mysql_result($result2,$i2,"review");
                                            $reviewer=mysql_result($result2,$i2,"reviewer");
                                    ?>
                                        <li><span class="icon icon-user"style="color:#999;"></span><span>&quot;<?php echo $review; ?>&quot;</span>
                                        </li>
                                    <?php
    
                                            $i2++;
                                        }
                                    ?></ul></p>
    
    
    </article>
    
    
    <!-- Episodes -->
    <article id="episodes"class="panel">
    								<header>
    									<h2>The Meditation Podcast</h2>
    
    
    
                                    <span class="byline">Choose an episode: </span>
                                    <form action=""method="get">
                                     <select name="ep">
                                       <?php
                                           $n=$num;
                                           while ($n >= 1) {
                                               if ($n !== ($i+1)) {
                                                   echo "<option value=$n>$t[$n]</option>";
                                               } else {
                                                   echo "<option selected value=$n>$t[$n]</option>";
                                               }
                                               $n--;
                                           }
                                        ?>
                                     </select>
                                     <input type="submit"value="Go">
                                     </form>
    </header>
    
    
                                   <!-- SOUNDCLOUD -->
    
                                    <?php echo $soundcloud; ?>

  2.  

  3. #12
    Junior Member
    Join Date
    Jan 2007
    Location
    Los Angeles, California
    Posts
    17
    Member #
    14744
    Part 4

    Code:
                                    <!-- Google -->
    <script asyncsrc="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                                    <!-- TMP-468x15-text -->
                                    <ins class="adsbygoogle"
    style="display:inline-block;width:468px;height:15px;border:0;"
                                        data-ad-client="ca-pub-9448368459623663"
                                        data-ad-slot="2584185811"></ins>
                                    <script>
                                        (adsbygoogle = window.adsbygoogle || []).push({});
                                        </script><br />
    
    
    
    
    <button type="button"><div id="twitter-button"><a href="https://twitter.com/share"data-count="none"data-via="TmpPodcast"class="icon icon-twitter"><span> - Tweet</span></a><script type="text/javascript"src="//platform.twitter.com/widgets.js"></script></div></button>
    
    <button type="button"><span><a href="episodes/tmp_<?php echo $id; ?>.mp3"title="Get this episode - click or right-click here"class="icon icon-cloud-download"> - Download</a></span></button>
    
    <button type="button"><span><a href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2FtheMeditationpodcast.com"class="icon icon-facebook-sign"> - Share</a></span></button>
    
                                    <p><h3>Description - Episode <?php echo $id; ?></h3></p>
                                    <?php echo $description; ?>
    
    </article>
    
    
    <!-- Donate -->
    <article id="donate"class="panel">
    								<header>
    									<h2>The Meditation Podcast</h2>
                                        <span class="byine">Support, donate, buy stuff!</span><br />
    
    
    </header>
    
    <p><form class="image-left"action="https://www.paypal.com/cgi-bin/webscr"method="post">
                                        <input type="hidden"name="cmd"value="_s-xclick">
    <input type="image"src="images/paypal-donate-button.png"height="200"width="200"border="0"name="submit"alt="Make payments with PayPal - it's fast, free and secure!">
                                                <img alt=""border="0"src="https://www.paypal.com/en_US/i/scr/pixel.gif"width="1"height="1">
    <input type="hidden"name="encrypted"value="-----BEGIN PKCS7-----MIIHfwYJKoZIhvcNAQcEoIIHcDCCB2wCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYB0Hx2puswHoS1fKciBGoh11gIfHzylvkdNe/hJl66/RldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYkvGE7NOuCeIYa2wpQK5ySo/6otw/CiHYXVhnKStOfnKSMoVFmEgQgsZn6pBp/YltkF00fhHxVn24mqGueyHoyhZ7mADaN8wXFZFGl0ToQ7zDpz4vvyIr9ym9XkfFBTEPFw0wNjEyMjAwODU4MTlaMCMGCSqGSIb3DQEJBDEWBBTENjAqfSYEAiS8c11eeifEcJRLwzANBgkqhkiG9w0BAQEFAASBgJ7oDr3SRHsJSD5rwv3FFjPqXE2WBBIwGLLkZtaRluawMCdsxIZgqVZ0k1ObOQ5bI5AoFyNUS5XqwCeg4E9A0/YxPpONFBML8N/MUPKhqniAFNvyasausomqENCSJ4Wcr108vUb/IaR1BK70LL9MqnE3rf4vRAZwcy+STPTystwJ-----END PKCS7-----
                                                        ">
                                                        </form>
    
    

  4. #13
    Junior Member
    Join Date
    Jan 2007
    Location
    Los Angeles, California
    Posts
    17
    Member #
    14744
    Part 5

    Code:
    
    
    Code:
                                    <p>If you feel that you have benefitted in any way from our podcast, please consider making a donation. By donating, you can show your appreciation for the hours of love and energy we put into the podcast, and let us know that you want the podcast to grow and continue!</p>
    
    
                                    <!-- Google -->
    <script asyncsrc="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                                    <!-- TMP-468x15-text -->
                                    <ins class="adsbygoogle"
    style="display:inline-block;width:468px;height:15px;border:0;"
                                        data-ad-client="ca-pub-9448368459623663"
                                        data-ad-slot="2584185811"></ins>
                                    <script>
                                        (adsbygoogle = window.adsbygoogle || []).push({});
                                        </script>
    
    
    
    <p style="clear:both; border-bottom:1px solid #ccc;"></p>
    
    
    <p><a href="http://www.ninelivesofahealer.com"><img class="image-left"src="http://images.CDBaby.name/9/l/9lives.jpg"alt="Nine Lives of a Healer"></a>
    
                                    You like the music from the podcast? <strong>Nine Lives of a Healer : Music for Meditation</strong> was created specifically for meditation and healing, such as reiki, yoga, massage, and meditation. Also available on <a href="http://click.linksynergy.com/fs-bin/stat?id=7QHNVqYuzCY&offerid=78941&type=3&subid=0&tmpid=1826&RD_PARM1=http%253A%252F%252Fphobos.apple.com%252FWebObjects%252FMZStore.woa%252Fwa%252FviewAlbum%253Fi%253D4053091%2526id%253D4053113%2526s%253D143441%2526partnerId%253D30">iTunes</a></p>
    
    
    <p style="clear:both; border-bottom:1px solid #ccc;"></p>
    
    
    <p><a href="http://www.cdbaby.com/cd/btm1/from/js"><img class="image-left"src="http://images.CDBaby.name/b/t/btm1.jpg"alt="Binaural Theta Meditation"></a>
    
                                     You like the tones on the podcast, but want a non-guided meditation? <strong> Binaural Theta Meditation, Vol. 1 "Well-being"</strong> contains binaural tones with light nature sounds &ndash; similar to the podcast, but with no voices. The tones are composed to elicit a sense of peace and well-being.
                                    </p>
    
    
    
    </article>
    
    

  5. #14
    Junior Member
    Join Date
    Jan 2007
    Location
    Los Angeles, California
    Posts
    17
    Member #
    14744
    And … Part 6

    Code:
    
    
    Code:
    <!-- Contact -->
                            <article id="share"class="panel">
                                <header>
                                    <h2>The Meditation Podcast</h2>
                                    <span class="byline">Share &amp; Socialize</span>
    
                                    <!-- Google -->
    <script asyncsrc="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                                    <!-- TMP-468x15-text -->
                                    <ins class="adsbygoogle"
    style="display:inline-block;width:468px;height:15px"
                                        data-ad-client="ca-pub-9448368459623663"
                                        data-ad-slot="2584185811"></ins>
                                    <script>
                                        (adsbygoogle = window.adsbygoogle || []).push({});
                                        </script>
    
                                </header>
    
    
    <p><button type="button"class="button-small"><a href="https://twitter.com/tmppodcast"class="icon icon-twitter"data-show-count="false"style="width:54;"> - Follow @tmppodcast</a>
                                    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script></button><br />
    
    <button type="button>"class="button-small"><a href="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fthemeditationpodcast.com%2F&send=false&layout=standard&width=450&show_faces=false&font&colorscheme=light&action=like&height=35"class="icon icon-facebook"style="width:54;"> - Like theMeditationPodcast</a></button><br />
    
    
                                <button type="button"class="button-small"><a href="#"class="icon icon-envelope"style="width:54;"><a style="text-decoration:none;"href="mailto:"> - Email us!</a></button> * Please type it out or copy &amp; paste: <strong>theMeditationPodcast (at) gmail (dot) com</strong></p>
    
                            </article>
    
    
    </div>
    
    <!-- Footer -->
    <div id="footer">
    <ul class="links">
    							<li>theMeditationPodcast (at) gmail (dot) com</li>
                                <li>&copy; 2006-2013 Jesse &amp; Jeane Stern, all rights reserved</li>
    <li>Design : <a href="http://html5up.net/"style="text-decoration:none;">HTML5 UP</a></li>
    						</ul>
    </div>
    
    </div>
    
    
    </body>
    </html>



  6. #15
    Junior Member
    Join Date
    Jan 2007
    Location
    Los Angeles, California
    Posts
    17
    Member #
    14744
    Again, the temporary site is here: themeditationpodcast.com/tmp-2013

    Again, the problem is that when I use the drop-down form to choose an episode, instead of going to the #episodes section of the page, it goes to the "Welcome to ..." home page.

    I know this is more complicated because it's a one-page design template using "#" to navigate within one page (instead of multiple pages). There must be a way to make it work, right? (By the way, it works like a champ on iOS devices, the problem is on computer browsers Safari and Firefox.)

    If anyone can please offer suggestions on how to get the drop-down "episodes" menu to work as expected, I would appreciate it.

    Thank you for your time and help!

  7. #16
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,731
    Member #
    5580
    Liked
    718 times
    Let's concentrate on this part:

    Code:
    <form action="" method="get"> <select name="ep"> <option value=24>Twenty-four - Envision Your Life</option><option value=23>Twenty-three - Grief</option><option value=22>Twenty-two - Eyes</option><option value=21>Twenty-one - The Unknown</option><option value=20>Twenty - A Short Meditation</option><option value=19>Nineteen - Money</option><option value=18>Eighteen - Our Story</option><option value=17>Seventeen - Renewal</option><option value=16>Sixteen - Sit Still and Breathe</option><option value=15>Fifteen - Wake Up!</option><option value=14>Fourteen - Rejuvenating Sleep</option><option value=13>Thirteen - Finding Your voice</option><option value=12>Twelve - Peace</option><option value=11>Eleven - The Healing Smile</option><option value=10>Ten - Releasing Fear</option><option value=9>Nine - Addiction</option><option value=8>Eight - Transformational Breathing</option><option value=7>Seven - Your Sacred Space</option><option value=6>Six - Falling Asleep</option><option value=5>Five - Healing Series, Part 2</option><option value=4>Four - Healing Series, Part 1</option><option value=3>Three - Positive Thoughts</option><option value=2>Two - Calming the Body</option><option selected value=1>One - A Basic Meditation</option>                                 </select> <input type="submit" value="Go"> </form>
    Explain how you process that form ... and I assume you're using javascripting?
    I can't find any of the javascripting in the large files of code.

    EDIT:
    Never mind that ... I see now that you're not using javascripting, you're reloading the webpage. That's why it goes back to the beginning. What you're doing will involve both PHP and javascripting.

    It's actually working on all browsers. The difference is, it reloads the page but doesn't go to the correct tab. If you pick a song and the page reloads, click on the podcast tab and the one you selected IS showing there correctly.

    Your issue to to open the page on the correct tab AFTER a podcast is selected.



    .
    Last edited by mlseim; Nov 05th, 2013 at 02:48 PM.


  8. #17
    Junior Member
    Join Date
    Jan 2007
    Location
    Los Angeles, California
    Posts
    17
    Member #
    14744
    Exactly, it's loading the episode info, but not going to the right #tab. So, my questions:

    1) can I do this without Javascript? For example load the page with the episode number, and *then* go to the correct #tab?

    2) If not, can you point me toward an example or two of how I might do this with Javascript? My experience with Javascript is almost nil, so please speak slowly.

    Thanks!

  9. #18
    Junior Member
    Join Date
    Jan 2007
    Location
    Los Angeles, California
    Posts
    17
    Member #
    14744
    And one other question: will using Javascript make things ugly/messy for users who don't have it enabled on their browsers? Or is this a non-issue?

  10. #19
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,731
    Member #
    5580
    Liked
    718 times
    Looks like you're already using a ton of javascripting. Turn it off now on your browser and see what happens. Decide if you want to eliminate all javascripting. It might require you to start over?


  11. #20
    Junior Member
    Join Date
    Jan 2007
    Location
    Los Angeles, California
    Posts
    17
    Member #
    14744
    Unless I misunderstand your meaning, the only scripting that I'm using is for Google and for all the random little FaceTweet buttons (which I forgot about in my last post). However, I believe the crucial stuff (the Episodes form) is all PHP/MySQL. Please correct me if I'm wrong.

    In any case, my #1 priority is getting it to load the page in the right place. After that, I can worry about making it more compatible for those people with Javascript disabled. If you have any suggestions that might help solve the page tag problem — whether PHP, Javascript, or anything — please let me know or point me toward a specific example to change the way I have written the code on my Episodes form.


Page 2 of 3 FirstFirst 1 2 3 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:04 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com