AnyFrontPage Search


 

AnyBackPage Bytes Current Issue
The FrontPage E-Zine Of Choice
 Issue 4 Vol a: 25th March 2006 Members: 2,395

  Current Issue | Archives | Contributing Authors I Members
Please note: AnyFrontPage Bytes only publishes the FrontPage News and FrontPage links AFP Site - The complete issue is available to subscribers only in the Yahoo! Archives.


EDITORS:
Tina Clarke                AccessFP.net
Tiffany K. Edmonds    At-FrontPage.com
Frances Stewart        Dynamite-iT.com

Generally Speaking

"Purple and mauve come into play
Fairies and Magic will color your day "

It's February, FrontPagers: The happiest of Valentine's Days to you from AnyBackPage!  Love is in the air - and that exciting smell of Almost-Spring - makes one heady with possibilities.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Our February birthday people are:

Deborah Miller
Martha Bagwell
Ian Hall
Cheryl McCallon
(Cheryl was last year's birthday winner. The prize was Media Manager Version 1.2 by Alex Tushinky's LTMOD.com.  February seems to be Alex's debut month for software  LOL)
Paulette Thatcher
Nancy Kaminski
Tammy Jordan
Elizabeth Taylor

This editor (Fran) shares this Birthday month and has a special Tip for you:  Take the whole month for your birthday, I do! (smile) If anyone questions you, just tell them it is a short month! 

Speaking of all-things-new: Our prize this month is a brand new software - Devices, by LTMOD.com (see the 1st ad for details – we’re~ going to put these great clocks on our homepage for all you International members)  So who's the lucky winner? 

Elizabeth Taylor!  Congratulations, Elizabeth! 

Happy Birthday everyone.  Congratulations, Elizabeth.  Thank you to all who participated in our drawing and to the prize sponsor, Alex Tushinsky! (And, congratulations, Alex - this one is a winner!) 

Monthly drawings for the birthday prize are suspended as of 2/04.  If you would like to sign up, however, this will be the database that ABP random drawings will be held from:   [ out of date link - removed ]

And be sure to register with your subscribed email address! 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~

READ READ READ READ READ READ 

What?  Suspend the Birthday Drawings?  Yes, our editor Fran is retiring.  With all the other irons Tiffany and Tina have in the fire, ABP will be discontinuing the regular issues of Bytes.  In keeping with our aims and your wishes, we will still alert you as to breaking news on the FrontPage front and new, great product announcements and services and the occasional Surprise Prize Drawing! 

In the meantime, Tina would like to remind members they may also sign up for her AccessFP Journal and new Addon Ezine http://groups.yahoo.com/group/accessfpjournal/ and http://groups.yahoo.com/group/addonfp/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Slightly OT, friends, but everyone does understand that the new (Rhymes with HAM) Rules require an addition to your website privacy page?  You can take a look at ours at http://anybackpage.com/privacy.htm 

Get a copy of the Act itself -- PDF link: http://anyfrontpage.com/rd/401.htm

~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Speaking of ‘heady with possibilities’:  A very special Congratulations to our own Editor, Tina Our webmaster is a Microsoft Most Valuable ProfessionalClarke, Microsoft MVP - FrontPage!  (Tina – we are SO proud of you!) Ahem –Party Balloons! begin again: AnyBackPage Bytes has the pleasure of announcing that our editor, Tina Clarke, has been recognized by Microsoft as an outstanding contributor in the technical community, and has been asked to join their team of MVPs to help support and assist customers in her online product area. 

Save the 28th of this month, friends and neighbors…  ABP feels a PARTY coming on!

~~~~++++SPONSOR AD++++~~~~~

Devices / Devices / Devices

 NEW!!!  FrontPage Devices Add-OnMost FrontPage Add-Ons are great for saving developers’ time and effort, but "You ain't seen NOTHIN' yet!"

*Dynamic Menus (XP Style Navigation Bars, Elevator Menus)

*Real-time Clocks (digital and analog) (Yeah!  We got the Big Ben!)
*Scrolling News Ticker
*Slide Show / Presentations - Allows you to play a list of photographs (or slides from Microsoft)
*PowerPoint), while playing MP3 narration for each.
*Text Ads - Random text ads for advertising your affiliate links or other web sites.
*MP3 Players - Build a play list; then play it on your web site.  Can be used for streaming narration as well!
* Download additional styles as they become available.

Don't Delay!  Punch that site up today with DEVICES by LTMOD Computer Solutions at FrontPage Devices  http://devices.anyfrontpage.com/

Devices is on sale through February 20th, 2004 - $10 off Devices (Take Advantage!)
BONUS: Additional product (your choice) FREE WITH PURCHASE!  Your savings: up to $40!

See reviews of this new FP add-on at http://anyfrontpage.com/rd/rev.htm

~~~~++++SPONSOR AD++++~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Main Article

Using Code Snippets in FrontPage 2003
By Cheryl D. Wise
http://mvp.wiserways.com/

One of the new features of FrontPage 2003 is  the ability to use code snippets. That's a place for you to be able to store commonly used bits of code that you can easily add to your page.You can only insert code snippets while in Code view or the code section of the Split view. To insert a code snippet use "ctrl+enter" to bring up the code snippet dialog box.


Screenshot showing code snippets installed by default

You can then either use your mouse to select the snippet you wish to use or you can use select it by typing the keyword for the for the code snippet you wish to use. (You do not need to use the entire keyword it will move down the list as you type the letters. When it gets to the one you want press enter. You can also use the up and down arrow keys to move through the list.)

You will notice that there are default settings for HTML Doctypes 2.0, 3.2 and 4.01. Using a doctype on your page is good coding practice and helps to ensure that your your pages will render properly on all browsers. That includes not just Netscape and Internet Explorer but also Mozilla, Opera, Safari (Mac OS X current default browser) as well as on Pocket Internet Explorer, Palm based browsers and Internet capable cell phones.

The FrontPage 2003 code snippets all use what is referred to as the short form doctype that looks like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">

This is fine for the early doctypes but with starting with HTML 4.01 there are multiple doctypes available and FrontPage 2003 only offers the short form 4.01 Transitional doctype. Since this triggers "quirks" mode instead of standards compliant mode which results in display differences in standards compliant browsers we will edit the code snippet to include the full valid doctype replacing

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

with:

 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

To do that you will first open need to open the Page Options dialog box using Tools | Page Options


Note: This shot is with full menus set instead of the default "personalized" menus.

Which will bring up the Page Options dialog box where you select the Code Snippets tab:

code snippets add modify remove dialog box
From here we will select the dt4 keyword that we will be editing

Click the Modify button or use the keyboard shortcut underscore M to open the current HTML 4.01 Transitional doctype for modification

modify code snippets dialog box

We do not want to change the keyword but we will edit the description to reflect that we will be using this keyword for the HTML 4.01 Transitional doctype since there are 3 separate HTML 4.01 doctypes. The strict doctype that will ignore any tags or attributes not in the 4.01 specification. The frameset doctype which was introduced with HTML 4.01 (and only appears in HTML 4.01 and XHTML 1.0 before being depreciated.) The transitional doctype that we will be specifying allows for depreciated code to still be used. It also allows browser specific code to run in those browsers that support the the code without causing validation errors. Since some of the code generated by FrontPage for themes, shared borders and webbots is non-standard the "Transitional" doctype is the best choice.

To reflect the changed doctype change the description by adding the word "Transitional" on the end. Next highlight the current code snippet and replace it with:

|<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">|

So that it looks like this:

modify code snippet dialog box

Notice the pipes at each end which marks the beginning and end of the code snippet. These will not be placed in the code on your page.

To add a new code snippet you would follow the same procedure selecting the "add" button instead. The dialog box that comes up then is basically the same as the one above but without any text in the section.

Now that you have the full proper doctype don't forget to validate your pages using the W3C validator at http://validator.w3.org. For a full list of valid doctypes in case you want to add the HTML 4.01 Strict , HTML 4.01  Frameset or one of the XHTML doctypes see http://www.w3.org/QA/2002/04/valid-dtd-list.html for the full list.

 

>> Contributing Authors page

 

Top


  Current Issue | Archives | Contributing Authors I Members
Please note: AnyFrontPage Bytes only publishes the FrontPage News and FrontPage links AFP Site - The complete issue is available to subscribers only in the Yahoo! Archives.


Site Navigation

Home
Current Issue
Archives
Contributing Authors
Members
FrontPage E-Books
Window Shop


Sitemap
Advanced Search
Contact
About
FAQ

 


 

Join Our Ezine!

 

AnyFrontPage Quick Search

Advanced Search


 

What's News

FrontPage E-Books

AFP FrontPage E-books

Any FrontPage Bytes & Any FrontPage Bytes Tips and Tricks - Volumes 1 & 2

 

Free FrontPage E-books
Click Here

J-Bots - FrontPage add-ons

FrontPage tools, FrontPage templates, Front Page commerce solutions

FrontFX FrontFlash, FrontFX MasterPics & CacheMate, FrontFX Screen Grab, FrontFX Picture Splitter, FrontFX Image Reporter, FrontFX PrintWeb, FrontFX XZAmp, FrontFX Case Changer, FrontFX DoDraw, FrontFX Galleria, FrontFX Tools+ 1 and FrontFX Tools+ 2