charles
Posts: 59
|
| Posted: 08/22/2006, 5:55 AM |
|
From the forms tab in codecharge studio toolbox i added a standard link to a grid form.
I have successfully configured the link to open a separate page called tickets1.asp and send two parameters over the url.
My first issue is that the pop-up page opens as a full page. i would like to control the size and position of the pop-up page.
Secondly i want at the very least the print function to be automatically called as the page loads.
But i would really love to do is for the contents of thepage to be automatically printed and the pop-up page to close after 5 seconds.
I already have a functioning code to close the page after a timed period.
Also i know about the javascript window.print () function, but i dont know how to properly apply it in a codecharge studio on page load event environment.
Any form of help will be greatly appreciated.
regards,
charles
|
 |
 |
peterr
Posts: 5971
|
| Posted: 10/05/2006, 11:00 AM |
|
You would need to apply your JavaScript function(s) in regular way, regardless if you are editing the page in CCS. I also don't program in JavaScript but usually find the right syntax on the net.
Here are couple searches I recommend for your case: http://www.google.com/search?q=javascript+pop-up+window+size http://www.google.com/search?q=javascript+onload+window.print
The last one probably should be applied directly to the <body> tag on your page.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
|