Pub 2002 vs. 2007

D

dawnvk

I've used 2002 for some time to create some fairly complex websites and I
really like it. I'm considering moving to 2007, but have a few questions
first. I can't remember the details, but somewhere along the way, I installed
a little filter/tool that somehow filters the photos and makes them smaller.
Since installing this "feature" when I export to webpage, I get a dialog box
that says: "Exporting your Web site as "Web Page, Filtered," produces smaller
HTML files that can be posted to and downloaded from the Internet more
quickly.... Do you want to continue with this export?" This is a really cool
tool. I have about 100 photos on my website, and I change them often. I sure
wouldn't want to have to open every file and reduce it for quicker loading
every time.

My first question is... does 2007 have something similar?

Second question: will my 2002 web open/convert seamlessly to 2007

Third: I know the files are broken out differently in 2007. Now I have
index.htm etc. and the photos look like: index_image001.jpg. Can someone tell
me where I can read up on the difference. I use filezilla to upload now fyi.

Fourth: Until I recently added some code to create drop-down menus (very
cool), it seemed to work/look fine in FF - now those menus aren't great in
FF, but work great in IE 6 and 7. What can I expect from 2007 in this regard.

Fifth: When I run my website through a code checker, I come up with about
100 errors, does 2007 create cleaner more happy code? Is there an update
somewhere for 2002 to create cleaner code?

Thanks to anyone who might have answers to any of these questions.

My website is www.vkvboers.com if anyone's interested in looking at what
I've done so far.

Dawnvk
 
S

Spike

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
 
D

dawnvk

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
 
S

Spike

Dawnvk

I also have 2002 and 2007. I found a few things about 2007 I like that 2002
did not have. Only reason I did get Pub 2007 is because I upgraded OFFICE
and it came with it. 2007 has a patch that makes it compatible with the
lasted generation on web browsers (no need to ungroup and such).

The drop down code may get scrambled in pub.


Spike

dawnvk said:
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
 
D

dawnvk

You guys are a great resource and I thank you. Obviously, I'm pushing Pub to
its limits, so input is very valuable.

I did get an interesting reply from the guys who wrote my drop down script:

Issue is you have used the style, "margin-top: 240px;" in div tag.
<div
style='position:absolute;margin-left:7px;margin-top:240px;width:746px;
height:54px;z-index:452'>
<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>

Remove the style and try with the code.
If you want to use the "margin-top" property then place the javascript
code in head tag and access it or place it in another file and include the
source in index.html.


The problem with many of the scripts out there is they require you to put it
in the head tag... as far as I know, the only way to do that is to open every
..htm page (in my case 17) and copy it in... not very effecient even w/macros
when you update daily or more.

I'm not a code expert, but do one of you who are see another solution in
this reply?

Thanks again to all of you.
Dawnvk

PS, thanks for the idea about putting the regular nav buttons at the bottom
of the pages. I'm going to do that. I used to have static nav buttons, and
that was fine, for example, I did that on this website:
www.boxelderbugdays.com, but I really wanted to move to a newer more current
style/look/feel.
 
D

DavidF

I would generally say, if it ain't broke, don't fix it. As Spike suggests
there are some advantages, and some disadvantages to moving to Pub 2007. The
Pub 2002 user that produces this site asked the same question earlier this
year and ultimately decided to stay with Pub 2002:
http://www.timesaversforteachers.com/index.htm

Here are a couple articles that you can read:

Web Publication Changes Made in Version 2002 of Publisher:
http://msmvps.com/blogs/dbartosik/pages/81262.aspx

Publisher 2003 - What's new in web design for this version:
http://msmvps.com/blogs/dbartosik/pages/80555.aspx

Pub 2007 works much as Pub 2003 does in that the html coding engine is much
the same. It offers some additional features, but all in all, there was no
huge reason to upgrade from 2003.

Without getting into a long answer, I suspect that you will prefer the
quality of the images you get with 2002 over 2007...

The Office 2007 SP2 patch fixed some things in Pub 2007, but it also broke
some things. Some people started finding it impossible to open old Publisher
files. There is a hot fix for this, but perhaps it is not worth the risk. If
you do decide to experiment be sure to save an original Pub 2002 formatted
copy of your Pub file that you can go back to. Once you open your file in
Pub 2007 and save any changes you will probably have problems going back.

No version of Publisher produces standards compliant code, so switching to
Pub 2007 will not change that. In spite of that, you can get Publisher webs
to render and work well in all major browsers. If you can get your pages to
render and work well in IE and FF then they will also work in Opera, Safari
and Chrome...the other major browsers. If you want standards compliant code
you will need to switch to different software to produce your site.

I just copied and pasted your navigation bar code into a Pub 2007 page and
it appears to loose the drop down part of the menu entirely when viewed in
FireFox. You will have to find another menu that does work. There are lots
of javascript menus available out there. Just google for them and start
testing to find one that is cross browser compatible, including IE8. You
might also consider going to a simple textual menu that will work in all
browsers and even if the viewer has javascript turned off. And even if you
do use a javascript menu across the top, you might add a textual one at the
bottom of each page.

By the way, you can install multiple versions of Publisher on the same
computer if you want to test your site in Pub 2007. Just do a custom install
and be sure to opt out of overwriting the old version. I install each
version in their own folder, oldest version first...

There are some of my thoughts...good luck.

DavidF
 
D

DavidF

Sorry, but I have no expertise with coding...that is part reason I use
Publisher. With one exception I don't edit the code in Publisher webs. I
can't debug your navbar code for you...sorry. If a free code snippet doesn't
work when I insert it via the code fragment tool and I can't quickly see a
mistake I made in modifying the code, then I try another.

I agree that it is not practical to edit the code of each page each time you
update your site and I too have found a lot of script that says I have to
access the head. What I have also found that it is not always true. I have
frequently just copied and pasted that part of the javascript directly into
the body via insert > html code fragment and it works. Once again, don't ask
me why...it just does. One of the nice things about Publisher is it doesn't
take long to copy and paste and insert code snippets into Publisher pages to
test them.

As to Javascript being a better menu, that is debatable. There are a lot of
major web sites that use static navbars. Sometimes it best to keep it
simple...

DavidF
 
S

Spike

Dawnvk

Tested your code using Publisher 2007 and IE 8
I had same problem that David had disappearing links
Works fine with an adjustment
Because this forum cuts line lengths short one line needed to be edited
==================================================
var item;
function menuOver(itemName,ocolor){
item=itemName;
itemName.style.backgroundColor = ocolor; //background color change on mouse
over
clearTimeout(timeOn);
menuActive = 1
}
==================================================

Note the the word "over" ( 5th line)
move it back to the end of the line above with a space
"mouse over"
and all is well in Pub 2007
viewing with IE 8

Spike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top