. */
var dom = (document.getElementById) ? true : false;
var ns5 = (!document.all && dom || window.opera) ? true: false;
var ie5 = ((navigator.userAgent.indexOf("MSIE")>-1) && dom) ? true : false;
var ie4 = (document.all && !dom) ? true : false;
var nodyn = (!ns5 && !ie4 && !ie5 && !dom) ? true : false;
var origWidth, origHeight;
// avoid error of passing event object in older browsers
if (nodyn) { event = "nope" }
/////////////////////// CUSTOMIZE HERE ////////////////////
// settings for tooltip
// Do you want tip to move when mouse moves over link?
var tipFollowMouse= true;
// Be sure to set tipWidth wide enough for widest image
var tipWidth= 450;
var offX= 20; // how far from mouse to show tip
var offY= 5;
var tipFontFamily= "Verdana, arial, helvetica, sans-serif";
var tipFontSize= "8pt";
// set default text color and background color for tooltip here
// individual tooltips can have their own (set in messages arrays)
// but don't have to
var tipFontColor= "#000000";
var tipBgColor= "#665932";
var tipBorderColor= "#665932";
var tipBorderWidth= 3;
var tipBorderStyle= "ridge";
var tipPadding= 2;
// tooltip content goes here (image, description, optional bgColor, optional textcolor)
var messages = new Array();
// multi-dimensional arrays containing:
// image and text for tooltip
// optional: bgColor and color to be sent to tooltip
messages[0] = new Array('http://67.222.3.158/~cindywit/images/greeninfo.jpg','',"");
messages[1] = new Array('http://67.222.3.158/~cindywit/images/paperimage.jpg','',"");
messages[2] = new Array('http://67.222.3.158/~cindywit/images/inkimage.jpg','','','');
//////////////////// END OF CUSTOMIZATION AREA ///////////////////
// preload images that are to appear in tooltip
// from arrays above
if (document.images) {
var theImgs = new Array();
for (var i=0; i
';
var endStr = '
';
////////////////////////////////////////////////////////////
// initTip - initialization for tooltip.
// Global variables for tooltip.
// Set styles
// Set up mousemove capture if tipFollowMouse set true.
////////////////////////////////////////////////////////////
var tooltip, tipcss;
function initTip() {
if (nodyn) return;
tooltip = (ie4)? document.all['tipDiv']: (ie5||ns5)? document.getElementById('tipDiv'): null;
tipcss = tooltip.style;
if (ie4||ie5||ns5) { // ns4 would lose all this on rewrites
tipcss.width = tipWidth+"px";
tipcss.fontFamily = tipFontFamily;
tipcss.fontSize = tipFontSize;
tipcss.color = tipFontColor;
tipcss.backgroundColor = tipBgColor;
tipcss.borderColor = tipBorderColor;
tipcss.borderWidth = tipBorderWidth+"px";
tipcss.padding = tipPadding+"px";
tipcss.borderStyle = tipBorderStyle;
}
if (tooltip&&tipFollowMouse) {
document.onmousemove = trackMouse;
}
}
window.onload = initTip;
/////////////////////////////////////////////////
// doTooltip function
// Assembles content for tooltip and writes
// it to tipDiv
/////////////////////////////////////////////////
var t1,t2; // for setTimeouts
var tipOn = false; // check if over tooltip link
function doTooltip(evt,num) {
if (!tooltip) return;
if (t1) clearTimeout(t1); if (t2) clearTimeout(t2);
tipOn = true;
// set colors if included in messages array
if (messages[num][2]) var curBgColor = messages[num][2];
else curBgColor = tipBgColor;
if (messages[num][3]) var curFontColor = messages[num][3];
else curFontColor = tipFontColor;
if (ie4||ie5||ns5) {
var tip = startStr + messages[num][0] + midStr + '' + messages[num][1] + '' + endStr;
tipcss.backgroundColor = curBgColor;
tooltip.innerHTML = tip;
}
if (!tipFollowMouse) positionTip(evt);
else t1=setTimeout("tipcss.visibility='visible'",100);
}
var mouseX, mouseY;
function trackMouse(evt) {
standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body //create reference to common "body" across doctypes
mouseX = (ns5)? evt.pageX: window.event.clientX + standardbody.scrollLeft;
mouseY = (ns5)? evt.pageY: window.event.clientY + standardbody.scrollTop;
if (tipOn) positionTip(evt);
}
/////////////////////////////////////////////////////////////
// positionTip function
// If tipFollowMouse set false, so trackMouse function
// not being used, get position of mouseover event.
// Calculations use mouseover event position,
// offset amounts and tooltip width to position
// tooltip within window.
/////////////////////////////////////////////////////////////
function positionTip(evt) {
if (!tipFollowMouse) {
standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body
mouseX = (ns5)? evt.pageX: window.event.clientX + standardbody.scrollLeft;
mouseY = (ns5)? evt.pageY: window.event.clientY + standardbody.scrollTop;
}
// tooltip width and height
var tpWd = (ie4||ie5)? tooltip.clientWidth: tooltip.offsetWidth;
var tpHt = (ie4||ie5)? tooltip.clientHeight: tooltip.offsetHeight;
// document area in view (subtract scrollbar width for ns)
var winWd = (ns5)? window.innerWidth-20+window.pageXOffset: standardbody.clientWidth+standardbody.scrollLeft;
var winHt = (ns5)? window.innerHeight-20+window.pageYOffset: standardbody.clientHeight+standardbody.scrollTop;
// check mouse position against tip and window dimensions
// and position the tooltip
if ((mouseX+offX+tpWd)>winWd)
tipcss.left = mouseX-(tpWd+offX)+"px";
else tipcss.left = mouseX+offX+"px";
if ((mouseY+offY+tpHt)>winHt)
tipcss.top = winHt-(tpHt+offY)+"px";
else tipcss.top = mouseY+offY+"px";
if (!tipFollowMouse) t1=setTimeout("tipcss.visibility='visible'",100);
}
function hideTip() {
if (!tooltip) return;
t2=setTimeout("tipcss.visibility='hidden'",100);
tipOn = false;
}
document.write('')
While there, find wedding inspiration in their wedding blog, peruse honeymoon destinations or search 200,000 photographers, caterers, wedding venues, florists & of course Cindy Witkow Designs for all your Stationery needs!
Monday, June 8, 2009
How Custom Invitations Can be a Major Benefit to Your Event or Party!
Most of us give a lot of thought to our party decorations and food. We hope everyone will have a good time and we give some consideration to music and maybe even games, depending on the party. It's also important to remember the first step to a good party is a great invitation. To really get your party started early, have custom invitations made. These can easily and naturally capture the theme of your party.
Custom invitations can quickly convey the theme of your party, but that's not all. They can also give your guests another reason to attend. While a standard store-bought invitation will hardly excite your invited guests, a custom invitation will do just the opposite - people will get a better sense of what kind of party you are having when your invitations are so dynamic.
Taking advantage of the invitations like those available at Cindy Witkow Designs is worth the effort. These custom invitations offer advantages that store-bought invitations cannot. Consider:
Thematic advantage - A store-bought invitation likely will not clearly convey that the 40th birthday party for Paul is luau themed because he was born in Hawaii, but a custom invitation can. A stock invitation might not be able to capture how important the 5th birthday party for Julia is, but a custom invitation can.
Originality - A custom invitation can add to the theme by being unique. That is, anyone can write the basic information on a stock card, but a custom invitation lets you say as much or as little as you want on a unique and customized card.
Setting the stage - Sometimes less is more. Most of the invitations at Cindy Witkow Designs are designed so you will have a good sense of the theme and formal or casual nature of the event. You might not need to say that Josie's party is a baking party. When the background is a chocolate chip cookie it is clear.
Green it up - Custom can sometimes mean fully custom, in every sense of the word. When you buy custom invitations from Cindy Witkow Designs, for example, you are buying a product that's eco-friendly and that you can feel good about distributing. The ink is solid ink which uses 90% less waste. All the custom invitations and other items are printed on recycled paper.
Why settle for common when you can instead get people excited about your party with customized invitations? It makes no sense to pay solid attention to the finer details of your party and not consider how to make the invitation stand out. A custom invitation is the best way to incite that interest among your party guests.