PDA

View Full Version : View HTML box in preview mode



Richest
09-16-2008, 03:09 AM
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

Collectors-info
09-16-2008, 06:35 AM
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.

calmac
09-17-2008, 06:40 PM
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.

Richest
09-17-2008, 11:15 PM
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>

Richest
09-17-2008, 11:39 PM
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 (http://www.zionsbranch.org). It displays fine on the website. Does this give you enough information to diagnose this problem?

Thanks,
Rich
zionsbranch.org

Richest
09-17-2008, 11:43 PM
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

Collectors-info
09-18-2008, 05:56 AM
Hi, when using php it will only show when published.

Richest
09-18-2008, 10:35 PM
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 (http://www.zionsbranch.org)