Results 1 to 8 of 8

Thread: View HTML box in preview mode
      
   

  1. #1
    Richest is offline Staff Sergeant
    Join Date
    Sep 2007
    Location
    Independence, Missouri
    Posts
    45

    Default 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. #2
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default 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.

  3. #3
    calmac is offline Sergeant
    Join Date
    Oct 2007
    Posts
    20

    Default 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.

  4. #4
    Richest is offline Staff Sergeant
    Join Date
    Sep 2007
    Location
    Independence, Missouri
    Posts
    45

    Default 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>

  5. #5
    Richest is offline Staff Sergeant
    Join Date
    Sep 2007
    Location
    Independence, Missouri
    Posts
    45

    Default Re: View HTML box in preview mode

    Quote 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

  6. #6
    Richest is offline Staff Sergeant
    Join Date
    Sep 2007
    Location
    Independence, Missouri
    Posts
    45

    Default Re: View HTML box in preview mode

    Quote 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
    www.zionsbranch.org

  7. #7
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: View HTML box in preview mode

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

  8. #8
    Richest is offline Staff Sergeant
    Join Date
    Sep 2007
    Location
    Independence, Missouri
    Posts
    45

    Default Re: View HTML box in preview mode

    Quote 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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49