Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Web Design / November 2004

Tip: Looking for answers? Try searching our database.

open link in new window

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
david - 03 Nov 2004 23:42 GMT
I did exactly what is described at
  http://www.publishermvps.com/Default.aspx?tabid=30

I got an error message like so:
Cannot fin
'file:///C:Documents%20and%20Settings/myname/Local%20Settings/Temporary%20/Internet%20Files/Cont.MSO/PubWebPagePreview/pub2716.0/index_files/"http://mylink". Make sure the path or Internet address is correct.

What do I need to do to solve this?
David
David Bartosik [MSFT MVP] - 04 Nov 2004 14:26 GMT
You need to write your link correctly.
Evidently you are writing the link to point to the file locally rather than
use it's URL on the web server.

David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com

>I did exactly what is described at
>   http://www.publishermvps.com/Default.aspx?tabid=30
[quoted text clipped - 6 lines]
> What do I need to do to solve this?
> David
david - 04 Nov 2004 17:15 GMT
Here is how I wrote one link:
<a target=”_display” href=”http://lingrealty.com”>Link Text</a>

The browser tries to go to this address ill-formed instead:
http://lingweb.com/index_files/”http://lingrealty.com

Here is another link I wrote:
<a target=”_blank”
href=”http://realtytimes.com/rtnews/nlpages/buyersadvice.htm?open&Vol=c&ID=davidling”>Link Text</a>

and, the browser shows this as the address which of course does not exist
http://lingweb.com/index_files/”http://realtytimes.com/rtnews/nlpages/buyersadvi
ce.htm?open&Vol=c&ID=davidling


David

> You need to write your link correctly.
> Evidently you are writing the link to point to the file locally rather than
[quoted text clipped - 14 lines]
> > What do I need to do to solve this?
> > David
David Bartosik [MSFT MVP] - 04 Nov 2004 17:56 GMT
Both links are written properly.
Therefore it's a question of why Pub codes it wrong.
To date I've only seen one thing that causes that issue.
The use of a Master Page in the publication.
If that is the case here then stop using the Master Page in the publication.

David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com

> Here is how I wrote one link:
> <a target="_display" href="http://lingrealty.com">Link Text</a>
[quoted text clipped - 31 lines]
>> > What do I need to do to solve this?
>> > David
david - 04 Nov 2004 21:43 GMT
I went through every page and make sure no Master page is applied.
It does not work.  So master page is not the problem.
David

> Both links are written properly.
> Therefore it's a question of why Pub codes it wrong.
[quoted text clipped - 41 lines]
> >> > What do I need to do to solve this?
> >> > David
David Bartosik [MSFT MVP] - 04 Nov 2004 22:29 GMT
You are welcome to submit the file to me at dbartosik@mvps.org for my review
and testing.

David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com

>I went through every page and make sure no Master page is applied.
> It does not work.  So master page is not the problem.
[quoted text clipped - 47 lines]
>> >> > What do I need to do to solve this?
>> >> > David
David Bartosik - 05 Nov 2004 00:39 GMT
This problem is due to your layering html code fragment objects.

You can't do that. I've never seen a customer do that.

No idea why you did that. Nor why you made the fragment objects several
times larger then the link code takes up. A fragment should be sized to
roughly the size of the resulting html output.

But anyway..

Ideally though multiple links would not even be in separate fragments, no
reason for it. Look on your page that I revised and you'll see I removed the
3 fragments and replaced it with one that contains all 3 links.

That resolves your inquiry.

However upon closer review I found your bottom nav bar was corrupted.
Additionally I found that your vertical nav bar has a link to a external (not
part of the publication) hyperlink. That is incorrect, all nav bar links must
be internal to the publication, they link to a page of your file. Fact is I
have no idea how you even did that.

It's apparent to me that the nav bar corruption stems from that. I was
unable to correct the nav bars nor rebuild them correctly.

As a result I recommend you create a new publication file and paste in your
page elements into the new file and start off with a clean nav bar.

This file is in my opinion unusable due to the nav bar corruption.

David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com
david - 06 Nov 2004 08:35 GMT
Hi David,
For a while I still had a hard time duplicating what you did.
I copied the code using "cut and paste" from
http://www.publishermvps.com/Default.aspx?tabid=30
I made the code looks just like yours, but yours worked, mine would fail.
Then I found out why, after much trial and error.
The culprit is the double quote character copied from the link mentioned
above.
When I type the double quote character using my keyboard, the code fragment
works.  When I use "cut" and "paste" to copy the double quote chracter, the
code fragment would fail everytime.
In other words,
this works:
<a target="_display" href="http://www.domain.com">Link Text</a>
But this would fail:
<a target="_display" href="http://www.domain.com">Link Text</a>
Anyone reading the above may not discern the difference.
As I am composing this email, the two lines above appear identical.
Don't let that misled you.  
Bottomline is: Type the double quote using your keyboard.

David

> This problem is due to your layering html code fragment objects.
>
[quoted text clipped - 29 lines]
> www.publishermvps.com
> www.davidbartosik.com
david - 06 Nov 2004 08:49 GMT
I forgot to mention that the code you've seen from me were not "written" by me.
They were generated by Publisher's wizard.
The code fragment were added by clicking "Insert", followed by "HTML code
fragment".

I have some follow up questions to my original question for how to open a
new window when clicking on a hyperlink.
(i) how to make the new window appear "in front" of the original window so
it is visible when opened;
(ii) how to make the new window opened at the location of say, 1 inch to the
right and 0.5 inch below where the original window is located.
I am new to html and have just acquired a book on HTML with XHTML and CSS.
If anyone could tell me what html keywords to read up that would be very
helpful.
Thank you.

David

> I did exactly what is described at
>    http://www.publishermvps.com/Default.aspx?tabid=30
[quoted text clipped - 5 lines]
> What do I need to do to solve this?
> David
David Bartosik [MSFT MVP] - 08 Nov 2004 16:16 GMT
You can't control those items. That is at the OS level. As for the first -
window focus - a Windows customer can install Microsoft Windows PowerToys
(download from microsoft.com) and one of the PowerToy features is the option
to have some control over when your windows get focus.
That said, you can however implement JavaScripting to deploy the much hated
"pop-up's", which can be controled and made to be 'pop-under' or 'pop-over'.
Pop-up's should not be confused with browser window instances. If you pursue
JavaScripting you'd need to reference sites that deal with that versus this
forum.

David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com

>I forgot to mention that the code you've seen from me were not "written" by
>me.
[quoted text clipped - 26 lines]
>> What do I need to do to solve this?
>> David
david - 08 Nov 2004 18:09 GMT
Thanks for the info.
One final question for this case.
Is there another way to modify the html code generated by Publisher other
than inserting the html code frament (i.e.  Menu: INSERT -> HTML CODE
FRAMENT) ?

In other words, while in Publisher, is there a way to open the source code
for edting?   I couldn't find anyway after searching around within Publisher.

I would like to know how to modify the raw publisher html code directly, and
still get the code to behave normally on subsequent editing using the
Publisher program.

David

> You can't control those items. That is at the OS level. As for the first -
> window focus - a Windows customer can install Microsoft Windows PowerToys
[quoted text clipped - 40 lines]
> >> What do I need to do to solve this?
> >> David
David Bartosik [MSFT MVP] - 08 Nov 2004 23:17 GMT
No.

The html code doesn't exist yet!

Hence how could you edit it.

Pub is not an html editor like FrontPage.

FrontPage and other web design tools write the html code in real time with
the design.

Publisher doesn't generate the html code until it's creating the html files
which it does when you "save as/export as/publish as" a web.

If you choose to edit the output'ed html files in an editor the changes will
be lost the next time you save the publication and Publisher replaces the
html files.

Come to think of it I'm pretty sure I have this in the faq -
http://www.publishermvps.com/Default.aspx?tabid=30

David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com

> Thanks for the info.
> One final question for this case.
[quoted text clipped - 70 lines]
>> >> What do I need to do to solve this?
>> >> David
david - 11 Nov 2004 12:00 GMT
That explains it!
Thank you for illuminating.
David

> No.
>
[quoted text clipped - 95 lines]
> >> >> What do I need to do to solve this?
> >> >> David

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.