PDA

View Full Version : Print This Page



aussiebaz
12-17-2007, 11:28 PM
Hi everyone
Firstly I hope everyone has a very happy and
safe christmas and a fantastic 2008

Here is a code for a "Print This Page" Button
Simply insert into page where you want the button
to appear:

<script type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
</head>
<body>
<form>
<p>
<input type="button" value=" Print this page "
onclick="window.print();return false;" />

<input type="button" value="Close Window" onClick="window.close()">
</form>

sedona
12-19-2007, 08:55 PM
Thanks, Aussiebaz, for a helpful script. Merry Christmas to you and all you hope for in 2008!

desinel
12-19-2007, 09:27 PM
Dear Barry,

Thank you very much!

Would you happen to know by any chance how to create a Print label as a simple word, without a frame just like on this page
http://www.seva.org/site/PageServer?pagename=about_seva

And... how could I create an html code for Tell-a-Friend button?

Thank you very much and Merry Christmas!

Alyona.

www.turnkeyssdevelopment.com

desinel
12-19-2007, 09:49 PM
sorry... I have only now read the rules... I didn't realise this is only for tips here... I will ask it somewhere else...

aussiebaz
12-20-2007, 01:37 AM
Hi Alyona

If you want over 20 choices in "Tell A Friend"
scripts go to
http://tellafriendgenerator.com/

all free and with images

hope this is what you are after

Barry

Vasili
12-25-2007, 07:43 AM
http://tellafriendgenerator.com/ I personally do NOT recommend this site or the services of this site, as it is nothing more than a viral marketing lead generator for the person promoting it!

He even comes as close as he dares to define it as such in his "pitch": he tells you that you will ONLY get the scripts and "tools" after you give him your email address and information, upon which he will send you all you need to know about viral and video marketing (apparently the focus of his scripts)!!

Why would you ever give your email address to get a free script? That is plainly an "Online Blunder 101"!!!


If you want the definitve resources to create a Tell-a-Friend script guaranteed to be compatible with Blue Voda, and have an abundance of tools and resources (not to mention support), then you should use General Navaldesigns creation, available here in this thread:
http://www.vodahost.com/vodatalk/bluevoda-tips-tricks-shortcuts/4782-tell-friend-script.html

Be sure to read the whole thread to pick up many of the same answers or solutions you may formulate as you learn from the General, a trusted source!
http://www.vodahost.com/vodatalk/images/icons/icon12.gif