Building a web site with multiple Publisher web publication files

applies to all versions, however, URL’s must be modified to suit your versions file naming convention. Traditionally with Publisher you create a site with multiple web pages all within a single Publisher (.pub) file, known as the web publication file. If you want to keep your site all neat and tidy in one place this can be a benefit. But it has some disadvantages. For example, every time you modify the file and resave to html, all the pages and images of your pub file are recreated. Once they are recreated you need to re-upload * all these files to your web … Continue reading Building a web site with multiple Publisher web publication files

Using JavaScript Pop Up windows in a Publisher web

 Sometimes it can be useful to display information in a small pre-configured pop-up window. For example if you had a hyperlink that said “more details” and that link opened a small pop-up with details related to the primary windows content. This should not be confused with the intrusive advertising technique of “pop-up’s”, that pop-over or pop-under without the visitor’s consent or prior knowledge. To launch our window we need to use a small snippet of JavaScript. Publisher has no built-in support for scripting so you use the HTML Code Fragment dialog to insert the script. The HTML Code Fragment dialog … Continue reading Using JavaScript Pop Up windows in a Publisher web

Create a "send to friend" email link

Do you want your page visitor to be able to send the URL of your page to a friend recommending it? A “Send to a friend” email link. This is known as a “mailto” link. Such a link will cause the browser to open the registered default email client. With a little bit of code added to the link you can auto-fill the message subject and body.You can only use this in Publisher with a HTML code fragment. Open the fragment dialog and paste the following code snippet:<A HREF=”mailto:?subject=Recommended&body=I recommend visiting this page. http://www.publishermvps.com/default.aspx” TITLE=”Send to a friend”>Send to a … Continue reading Create a "send to friend" email link

Code your own textual navigation menu in Publisher

If you opt to not use the Publisher Navigation Bar Wizard for your web publications site menu then you are most likely planning to create a text box and type the name of the page in the text box and hyperlink the text and then repeat this process as needed.Nothing wrong with that, but, it will result in Publisher generating a lot of html code in the html file it generates. A lot more code than if you just did the code yourself. Trust me.With an HTML code fragment and some copy/paste skill it’s not at all hard to do and will … Continue reading Code your own textual navigation menu in Publisher

Using Tool Tips in Publisher Web Publications

Tool Tips – a Yellow box with descriptive text that displays when the cursor hovers over a hyperlink – are supported in the Internet Explorer browser. It is not natively supported in a Publisher web publication.The actual Tool Tip is from the Title attribute of the link (href) tag. To use this in Publisher you have to code your own link with the HTML fragment dialog. Refer to my article “code your own textual menu” for help on coding your own link.To use the ‘title’, the code looks like this:<a title=”Find Daily Events” href=”http://www.barvin.com/holidays.aspx”>Holidays Page</a>The text between the quotes in … Continue reading Using Tool Tips in Publisher Web Publications

Using a SWF file (Flash) in Publisher

The method to implement use of a Shockwave/Flash file in a Publisher web publication is the same as implementing any custom HTML and/or scripting to the page. That being the use of a Publisher HTML Code Fragment object. The HTML Code Fragment object is located on the Publisher “Insert” menu. Once you select it on the menu you draw the object on the publication page just like you do a text box object. You should draw the object to the approximate size that the html will render in the browser for best results. Once you add the fragment object to … Continue reading Using a SWF file (Flash) in Publisher

Redirect a page to another URL

When a web page is visited by the client browser it can redirect the visitor to another URL. A common use of this is when a site’s address has changed, a page can be left on the old address that redirects site visitors to the new address. When using a redirect it is recommended practice to include a brief notice on the page that informs the visitor they are going to be redirected. Redirects are done using the meta tag, the syntax is – <META HTTP-EQUIV=”refresh” CONTENT=”5; URL=http://www.yoururlhere.com”> Publisher does not provide support for using a redirect nor does it … Continue reading Redirect a page to another URL

Hyperlinks that open a new browser window

Launching a link in a new browser window is done by using the target attribute of the the link code. Publisher does not have any support for this. Meaning there is no way to code a target when making a hyperlink within Publisher. The only way to use the target attribute is to code the hyperlink yourself and include it. Use the Insert menu, HTML Code Fragment dialog to write and insert your own html code snippet. The syntax is shown in the following examples. Insert and place html code fragments on the page in the location desired. Simply copy/paste … Continue reading Hyperlinks that open a new browser window

Bookmarks aka Hyperlinking to a place on a page

Bookmarking is hyperlinking to a specific location on a web page, either from within or without that page. In current releases of Publisher there is no support for bookmarking. You can only use bookmarking by writing the code yourself with the HTML Code Fragment to create the links. Every link needs two parts, the anchor or target destination, and the linkage tag that points to the target. Publisher 2000 already writes two anchors for you on every page, a TOP of page and a BOTTOM of page. A hyperlink to a web page is essentially a link to the TOP … Continue reading Bookmarks aka Hyperlinking to a place on a page