Regarding the code, when I run my website through
www.validaor.com, I get
113
errors.
http://validator.w3.org/check?uri=w...(detect+automatically)&doctype=Inline&group=0
To my knowledge, there's nothing I can do to fix any of these, but I'm not
a
coding expert. I'm thinking it just doesn't like the code Pub spews out in
it's export to .htm. Does this sound correct?
I have Pub 2007, I can run some tests myself. I just didn't want to go
through it until I got some of the other questions answered. Namely, I
guess,
the biggest question I should have asked - which I was kind of getting to:
is
there a compelling reason to upgrade? Ok, I've already purchased the sw,
but
that doesn't mean I am ready to use it unless someone tells me a darn good
reason to go through all the work.
Regarding the drop down code not working on FF (the creator of the code is
stumped, they say it's tested to work on FF, FF says the code isn't the
best,
but suggest code I can't really use in Pub, and then they pointed out all
the
problems in my code via Validator). Anyway, here's the code:
<style>
.tab{font-family: arial, verdana, san-serif; font-size: 14px;}
.asd{text-decoration: none; font-family: arial, verdana, san-serif;
font-size: 13px; color: #4234ff;}
</style>
<script language=javascript>
window.onerror = null;
var bName = navigator.appName;
var bVer = parseInt(navigator.appVersion);
var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4);
var menuActive = 0;
var menuOn = 0;
var onLayer;
var timeOn = null;
function showLayer(layerName,aa){
var x =document.getElementById(aa);
var tt =findPosX(x);
var ww =findPosY(x)+20;
if (timeOn != null) {
clearTimeout(timeOn);
hideLayer(onLayer);
}
if (IE4) {
var layers = eval('document.all["'+layerName+'"].style');
layers.left = tt;
eval('document.all["'+layerName+'"].style.visibility="visible"');
}
else {
if(document.getElementById){
var elementRef = document.getElementById(layerName);
if((elementRef.style)&& (elementRef.style.visibility!=null)){
elementRef.style.visibility = 'visible';
elementRef.style.left = tt;
elementRef.style.top = ww;
}
}
}
onLayer = layerName
}
function hideLayer(layerName){
if (menuActive == 0)
{
if (IE4){
eval('document.all["'+layerName+'"].style.visibility="hidden"');
}
else{
if(document.getElementById){
var elementRef = document.getElementById(layerName);
if((elementRef.style)&& (elementRef.style.visibility!=null)){
elementRef.style.visibility = 'hidden';
}
}
}
}
}
function btnTimer() {
timeOn = setTimeout("btnOut()",600)
}
function btnOut(layerName){
if (menuActive == 0){
hideLayer(onLayer)
}
}
var item;
function menuOver(itemName,ocolor){
item=itemName;
itemName.style.backgroundColor = ocolor; //background color change on
mouse
over
clearTimeout(timeOn);
menuActive = 1
}
function menuOut(itemName,ocolor){
if(item)
itemName.style.backgroundColor = ocolor;
menuActive = 0
timeOn = setTimeout("hideLayer(onLayer)", 100)
}
function findPosX(obj)
{
var curleft = 0;
if (obj.offsetParent)
{
while (obj.offsetParent)
{
curleft += obj.offsetLeft
obj = obj.offsetParent;
}
}
else if (obj.x)
curleft += obj.x;
return curleft;
}
function findPosY(obj)
{
var curtop = 0;
if (obj.offsetParent)
{
while (obj.offsetParent)
{
curtop += obj.offsetTop
obj = obj.offsetParent;
}
}
else if (obj.y)
curtop += obj.y;
return curtop;
}
</script>
<table valign=top cellpadding=0 cellspacing=0 width=750 border=0>
<tr><td bgcolor=#4234ff>
<table align=center class=tab><tr>
<td id=0 align=center onmouseout=btnTimer()
onmouseover=showLayer("Menu0",'0') style="color: #ffffff"> <b>VKV
Home</b></td>
<td style="color: #ffffff;"> || </td><td id=1 align=center
onmouseout=btnTimer() onmouseover=showLayer("Menu1",'1') style="color:
#ffffff"> <b>Our Herd</b></td>
<td style="color: #ffffff;"> || </td><td id=2 align=center
onmouseout=btnTimer() onmouseover=showLayer("Menu2",'2') style="color:
#ffffff"> <b>For Sale</b></td>
<td style="color: #ffffff;"> || </td><td id=3 align=center
onmouseout=btnTimer() onmouseover=showLayer("Menu3",'3') style="color:
#ffffff"> <b>Custom Equipment</b></td>
<td style="color: #ffffff;"> || </td><td id=4 align=center
onmouseout=btnTimer() onmouseover=showLayer("Menu4",'4') style="color:
#ffffff"> <b>Show Winners</b></td>
<td style="color: #ffffff;"> || </td><td id=5 align=center
onmouseout=btnTimer() onmouseover=showLayer("Menu5",'5') style="color:
#ffffff"> <b>Links & Info</b></td>
</tr></table>
<div id=Menu0 style="position: absolute; border: 1px solid #000000;
visibility:hidden; z-ndex: 1">
<table bgcolor=#ffeecc cellspacing=0 cellpadding=0 style="border-collapse:
collapse;">
<tr height=25 onmouseout=menuOut(this,'#ffeecc')
onmouseover=menuOver(this,'#FFFFFF')>
<td bgcolor=#4234ff> </td><td align=left>
<a class=asd href="
http://www.vkvboers.com/"> VK Ventures </a>
</td></tr>
</table></div>
<div id=Menu1 style="position: absolute; border: 1px solid #000000;
visibility:hidden; z-ndex: 1">
<table bgcolor=#ffeecc cellspacing=0 cellpadding=0 style="border-collapse:
collapse;">
<tr height=25 onmouseout=menuOut(this,'#ffeecc')
onmouseover=menuOver(this,'#FFFFFF')>
<td bgcolor=#4234ff> </td><td align=left>
<a class=asd href="
http://www.vkvboers.com/index_page0001.htm"> Our Herd
</a> </td></tr>
<tr height=25 onmouseout=menuOut(this,'#ffeecc')
onmouseover=menuOver(this,'#FFFFFF')>
<td bgcolor=#4234ff> </td><td align=left>
<a class=asd href="
http://www.vkvboers.com/index_page0002.htm"> Herd
Sires
</a> </td></tr>
<tr height=25 onmouseout=menuOut(this,'#ffeecc')
onmouseover=menuOver(this,'#FFFFFF')>
<td bgcolor=#4234ff> </td><td align=left>
<a class=asd href="
http://www.vkvboers.com/index_page0011.htm"> Kids at
Play </a> </td></tr>
</table></div>
<div id=Menu2 style="position: absolute; border: 1px solid #000000;
visibility:hidden; z-ndex: 1">
<table bgcolor=#ffeecc cellspacing=0 cellpadding=0 style="border-collapse:
collapse;">
<tr height=25 onmouseout=menuOut(this,'#ffeecc')
onmouseover=menuOver(this,'#FFFFFF')>
<td bgcolor=#4234ff> </td><td align=left>
<a class=asd href="
http://www.vkvboers.com/index_page0009.htm"> Full
Blood
Bucks </a> </td></tr>
<tr height=25 onmouseout=menuOut(this,'#ffeecc')
onmouseover=menuOver(this,'#FFFFFF')>
<td bgcolor=#4234ff> </td><td align=left>
<a class=asd href="
http://www.vkvboers.com/index_page0010.htm"> Full
Blood
Does </a> </td></tr>
<tr height=25 onmouseout=menuOut(this,'#ffeecc')
onmouseover=menuOver(this,'#FFFFFF')>
<td bgcolor=#4234ff> </td><td align=left>
<a class=asd href="
http://www.vkvboers.com/index_page0013.htm">
Percentage
Bucks </a> </td></tr>
<tr height=25 onmouseout=menuOut(this,'#ffeecc')
onmouseover=menuOver(this,'#FFFFFF')>
<td bgcolor=#4234ff> </td><td align=left>
<a class=asd href="
http://www.vkvboers.com/index_page0014.htm">
Percentage
Does </a> </td></tr>
<tr height=25 onmouseout=menuOut(this,'#ffeecc')
onmouseover=menuOver(this,'#FFFFFF')>
<td bgcolor=#4234ff> </td><td align=left>
<a class=asd href="
http://www.vkvboers.com/index_page0012.htm">
Experienced
Does </a> </td></tr>
</table></div>
<div id=Menu3 style="position: absolute; border: 1px solid #000000;
visibility:hidden; z-ndex: 1">
<table bgcolor=#ffeecc cellspacing=0 cellpadding=0 style="border-collapse:
collapse;">
<tr height=25 onmouseout=menuOut(this,'#ffeecc')
onmouseover=menuOver(this,'#FFFFFF')>
<td bgcolor=#4234ff> </td><td align=left>
<a class=asd href="
http://www.vkvboers.com/index_page0004.htm"> VKV Head
Gate </a> </td></tr>
<tr height=25 onmouseout=menuOut(this,'#ffeecc')
onmouseover=menuOver(this,'#FFFFFF')>
<td bgcolor=#4234ff> </td><td align=left>
<a class=asd href="
http://www.vkvboers.com/index_page0006.htm"> VKV
Feeders
</a> </td></tr>
<tr height=25 onmouseout=menuOut(this,'#ffeecc')
onmouseover=menuOver(this,'#FFFFFF')>
<td bgcolor=#4234ff> </td><td align=left>
<a class=asd href="
http://www.vkvboers.com/index_page0005.htm"> VKV Creep
Gate </a> </td></tr>
</table></div>
<div id=Menu4 style="position: absolute; border: 1px solid #000000;
visibility:hidden; z-ndex: 1">
<table bgcolor=#ffeecc cellspacing=0 cellpadding=0 style="border-collapse:
collapse;">
<tr height=25 onmouseout=menuOut(this,'#ffeecc')
onmouseover=menuOver(this,'#FFFFFF')>
<td bgcolor=#4234ff> </td><td align=left>
<a class=asd href="
http://www.vkvboers.com/index_page0003.htm"> 2009 Show
Winners </a> </td></tr>
<tr height=25 onmouseout=menuOut(this,'#ffeecc')
onmouseover=menuOver(this,'#FFFFFF')>
<td bgcolor=#4234ff> </td><td align=left>
<a class=asd href="
http://www.vkvboers.com/index_page0016.htm"> 2008 Show
Winners </a> </td></tr>
<tr height=25 onmouseout=menuOut(this,'#ffeecc')
onmouseover=menuOver(this,'#FFFFFF')>
<td bgcolor=#4234ff> </td><td align=left>
<a class=asd href="
http://www.vkvboers.com/index_page0015.htm"> 2007 Show
Winners </a> </td></tr>
</table></div>
<div id=Menu5 style="position: absolute; border: 1px solid #000000;
visibility:hidden; z-ndex: 1">
<table bgcolor=#ffeecc cellspacing=0 cellpadding=0 style="border-collapse:
collapse;">
<tr height=25 onmouseout=menuOut(this,'#ffeecc')
onmouseover=menuOver(this,'#FFFFFF')>
<td bgcolor=#4234ff> </td><td align=left>
<a class=asd href="
http://www.vkvboers.com/index_page0007.htm"> Links &
Info </a> </td></tr>
</table></div>
</td></tr></table>
Thanks for input, always fun to learn more about Pub.
Dawnvk
Spike said:
Dawnvk
Question #1:
2007 has a picture compression function built in
Question #2:
This is an unknown. Some 2002 publications open without a hitch and some
seem to act oddly when it comes time to save them. Post your pub file
and
we can try and open it and test it with 2007.
"
www.vkvboers.com/pub/myfile.pub" would work
Question #3:
I have not seen a difference with the files produced by 2007 and 2002
index.htm etc
Question #4:
Without trying your specific code in 2007 it is an unknown. Can you post
the code?
Question #5:
?
One person's findings. I am thinking that you will get more input and
opinions on this one (hopefully)
Spike