iEntry 10th Anniversary Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > JavaScript

Reply
 
LinkBack Thread Tools
Old November 18th, 2008, 09:13 AM   #1
New Member
 

Join Date: Nov 2008
Location: England
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 shdale is on a distinguished road
Simple image resize on print and print same image 4 times on one print action

I am sure that this must be really simple but I'm not a java programmer and have absolutely no idea where to start. Please help.

I am using this code:

<script type="text/javascript">
var pwin;
function printImg() {
pwin = window.open(document.getElementById("imgMain").src ,"_blank");
setTimeout("pwin.print()",20);
}
</script>


I want to adapt it so that I can resize an image on print in one option and print multiple images in another option. I have no idea how to do this. Can anyone help? Many thanks.
shdale is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Print Without Prompt chrisgeast JavaScript 2 September 7th, 2007 06:34 AM
IE Print issue moojoo HTML, XHTML and CSS 11 September 29th, 2006 05:16 AM
print from my website dber HTML, XHTML and CSS 7 June 24th, 2006 06:54 PM
Print ClaireB JavaScript 2 September 9th, 2005 02:52 PM
print "$counter times 2 is ".($counter*2)."<br>" gwx03 PHP 6 December 10th, 2003 06:50 AM


Search Engine Optimization by vBSEO 3.2.0 RC8