Announcement

Collapse
No announcement yet.

View HTML box in preview mode

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • View HTML box in preview mode

    The video tutorial for using an HTML box say you will be able to view the results in the preview mode, but for some reason, my HTML boxes, complete with HTML code, do not display in the preview mode. Is there something I am missing?
    Thanks,
    Rich
    zionsbranch.org

  • #2
    Re: View HTML box in preview mode

    Hi, i think you would have to show us the code to help you with this one. Some codes/scripts will also only work when published as they are server based.
    Regards Chris.

    Collectables, Collecting, collectors-info.com

    www.chrismorris.co.uk

    House build project

    Comment


    • #3
      Re: View HTML box in preview mode

      Hi Rich.

      Check that your HTML box is not being blocked by any overlaying content that will hide it, sometimes the actual image or text from your HTML code will preview in a slightly different position.

      Callum.
      Professional Custom Logo Design & Corporate Branding Solutions.

      Comment


      • #4
        Re: View HTML box in preview mode

        Hi Chris,
        I have pasted the included HTML code in a HTML box on within a page of my website (this page not published). I have changed nothing in the code and done nothing but cut your code from another reply you gave me and pasted the code. This is an example of a HTML box that does not show in preview mode.
        Thanks for any help you gave offer!
        Rich
        zionsbranch.org

        <script> <!--
        var today_obj=new Date()
        var today_date=today_obj.getDate()
        var tips=new Array()
        var tiptitle=''
        tips[1]='Tip 1 goes here'
        tips[2]='Tip 2 goes here'
        tips[3]='Tip 3 goes here'
        tips[4]='Tip 4 goes here'
        tips[5]='Tip 5 goes here'
        tips[6]='Tip 6 goes here'
        tips[7]='Tip 7 goes here'
        tips[8]='Tip 8 goes here'
        tips[9]='Tip 9 goes here'
        tips[10]='Tip 10 goes here'
        tips[11]='Tip 11 goes here'
        tips[12]='Tip 12 goes here'
        tips[13]='Tip 13 goes here'
        tips[14]='Tip 14 goes here'
        tips[15]='Tip 15 goes here <img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="VH-Logo">'
        tips[16]='Tip 16 goes here <img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="VH-Logo">'
        tips[17]='Tip 17 goes here'
        tips[18]='Tip 18 goes here'
        tips[19]='Tip 19 goes here'
        tips[20]='Tip 20 goes here'
        tips[21]='Tip 21 goes here'
        tips[22]='Tip 22 goes here'
        tips[23]='Tip 23 goes here'
        tips[24]='Tip 24 goes here'
        tips[25]='Tip 25 goes here'
        tips[26]='Tip 26 goes here'
        tips[27]='Tip 27 goes here'
        tips[28]='Tip 28 goes here'
        tips[29]='Tip 29 goes here'
        tips[30]='Tip 30 goes here'
        tips[31]='Tip 31 goes here'
        document.write(tiptitle)
        document.write(tips[today_date])
        //-->
        </script>

        Comment


        • #5
          Re: View HTML box in preview mode

          Originally posted by Collectors-info View Post
          Hi, i think you would have to show us the code to help you with this one. Some codes/scripts will also only work when published as they are server based.
          Hi Chris,

          One example is a HTML box used to display a header at the top of each page. The code is:

          <?php
          include ("topmenu.php");
          topmenu();
          ?>

          This code calls a page called "topmenu" to display the header on the page. This does not display in preview mode.

          I have this HTML box on my index page, www.zionsbranch.org. It displays fine on the website. Does this give you enough information to diagnose this problem?

          Thanks,
          Rich
          zionsbranch.org

          Comment


          • #6
            Re: View HTML box in preview mode

            Originally posted by Richest View Post
            Hi Chris,
            I have pasted the included HTML code in a HTML box on within a page of my website (this page not published). I have changed nothing in the code and done nothing but cut your code from another reply you gave me and pasted the code. This is an example of a HTML box that does not show in preview mode.
            Thanks for any help you gave offer!
            Rich
            zionsbranch.org

            <script> <!--
            var today_obj=new Date()
            var today_date=today_obj.getDate()
            var tips=new Array()
            var tiptitle=''
            tips[1]='Tip 1 goes here'
            tips[2]='Tip 2 goes here'
            tips[3]='Tip 3 goes here'
            tips[4]='Tip 4 goes here'
            tips[5]='Tip 5 goes here'
            tips[6]='Tip 6 goes here'
            tips[7]='Tip 7 goes here'
            tips[8]='Tip 8 goes here'
            tips[9]='Tip 9 goes here'
            tips[10]='Tip 10 goes here'
            tips[11]='Tip 11 goes here'
            tips[12]='Tip 12 goes here'
            tips[13]='Tip 13 goes here'
            tips[14]='Tip 14 goes here'
            tips[15]='Tip 15 goes here <img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="VH-Logo">'
            tips[16]='Tip 16 goes here <img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="VH-Logo">'
            tips[17]='Tip 17 goes here'
            tips[18]='Tip 18 goes here'
            tips[19]='Tip 19 goes here'
            tips[20]='Tip 20 goes here'
            tips[21]='Tip 21 goes here'
            tips[22]='Tip 22 goes here'
            tips[23]='Tip 23 goes here'
            tips[24]='Tip 24 goes here'
            tips[25]='Tip 25 goes here'
            tips[26]='Tip 26 goes here'
            tips[27]='Tip 27 goes here'
            tips[28]='Tip 28 goes here'
            tips[29]='Tip 29 goes here'
            tips[30]='Tip 30 goes here'
            tips[31]='Tip 31 goes here'
            document.write(tiptitle)
            document.write(tips[today_date])
            //-->
            </script>
            Hi Chris,
            I should have been a little slower with this reply...for some reason this text is now working in preview mode when put into an HTML box.
            My other reply about the header HTML box does not work in preview mode. Does this narrow this down any?
            Thanks,
            Rich

            Comment


            • #7
              Re: View HTML box in preview mode

              Hi, when using php it will only show when published.
              Regards Chris.

              Collectables, Collecting, collectors-info.com

              www.chrismorris.co.uk

              House build project

              Comment


              • #8
                Re: View HTML box in preview mode

                Originally posted by Collectors-info View Post
                Hi, when using php it will only show when published.
                Thanks. I assume this means that because I am using a HTML box to call a webpage saved as in the PHP format, this is why it does not show in the preview mode. Thanks for the clarification.

                Rich
                www.zionsbranch.org

                Comment

                Working...
                X