Vegan Mayonnaise - The Buddhist Chef (2024)

" ); writeDoc.close(); printWindow.focus(); printWindow.print(); if ( settings.mode == modes.popup && settings.popClose ) printWindow.close(); } function docType() { if ( settings.mode == modes.iframe || !settings.strict ) return ""; var standard = settings.strict == false ? " Trasitional" : ""; var dtd = settings.strict == false ? "loose" : "strict"; return ''; } function getBody( printElement ) { return '

' + $("a.action-bookmark").attr('title') + '

' + $(".entry-description").html() + $(".entry-nutri").html() + $(".entry-ingredient").html() + $(".entry-instruction").html() + '

'; } function getFormData( ele ) { $("input,select,textarea", ele).each(function(){ // In cases where radio, checkboxes and select elements are selected and deselected, and the print // button is pressed between select/deselect, the print screen shows incorrectly selected elements. // To ensure that the correct inputs are selected, when eventually printed, we must inspect each dom element var type = $(this).attr("type"); if ( type == "radio" || type == "checkbox" ) { if ( $(this).is(":not(:checked)") ) this.removeAttribute("checked"); else this.setAttribute( "checked", true ); } else if ( type == "text" ) this.setAttribute( "value", $(this).val() ); else if ( type == "select-multiple" || type == "select-one" ) $(this).find( "option" ).each( function() { if ( $(this).is(":not(:selected)") ) this.removeAttribute("selected"); else this.setAttribute( "selected", true ); }); else if ( type == "textarea" ) { var v = $(this).attr( "value" ); if ($.browser.mozilla) { if (this.firstChild) this.firstChild.textContent = v; else this.textContent = v; } else this.innerHTML = v; } }); return ele; } function Iframe() { var frameId = settings.id; var iframeStyle = 'border:0;position:absolute;width:0px;height:0px;left:0px;top:0px;'; var iframe; try { iframe = document.createElement('iframe'); document.body.appendChild(iframe); $(iframe).attr({ style: iframeStyle, id: frameId, src: "" }); iframe.doc = null; iframe.doc = iframe.contentDocument ? iframe.contentDocument : ( iframe.contentWindow ? iframe.contentWindow.document : iframe.document); } catch( e ) { throw e + ". iframes may not be supported in this browser."; } if ( iframe.doc == null ) throw "Cannot find document."; return iframe; } function Popup() { var windowAttr = "location=yes,statusbar=no,directories=no,menubar=no,titlebar=no,toolbar=no,dependent=no"; windowAttr += ",width=" + settings.popWd + ",height=" + settings.popHt; windowAttr += ",resizable=yes,screenX=" + settings.popX + ",screenY=" + settings.popY + ",personalbar=no,scrollbars=no"; var newWin = window.open( "", "_blank", windowAttr ); newWin.doc = newWin.document; return newWin; } $('a.action-print').click(function() {var container = $(this).attr('rel');$('.' + container).printArea();return false;});})(jQuery);

Vegan Mayonnaise - The Buddhist Chef (2024)

References

Top Articles
Latest Posts
Article information

Author: Duane Harber

Last Updated:

Views: 5760

Rating: 4 / 5 (51 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Duane Harber

Birthday: 1999-10-17

Address: Apt. 404 9899 Magnolia Roads, Port Royceville, ID 78186

Phone: +186911129794335

Job: Human Hospitality Planner

Hobby: Listening to music, Orienteering, Knapping, Dance, Mountain biking, Fishing, Pottery

Introduction: My name is Duane Harber, I am a modern, clever, handsome, fair, agreeable, inexpensive, beautiful person who loves writing and wants to share my knowledge and understanding with you.