j1mlad Posted August 12, 2006 Posted August 12, 2006 Hi Newbie alert.I'm just starting writing some webpages for a work based application. I'm more used to writing the c code end of a webserver than the html/javascript so bear with me....If I have a page that has 2 frames - one that includes a lot of data - is it possible to have 'print' and 'save as' buttons in another frame so they are always on display while the frame with the data in can be scrolled thru?I have some noddy code for displaying the print and save buttons but I have to include them in the code for the frame with the data - I'd like to have another small frame thats always available with the buttons on while data can be scrolled thru/viewed in another larger frame.ThanksJim
ripken204 Posted August 12, 2006 Posted August 12, 2006 <input type="button" name="Print1" VALUE="Print Frame 1" onClick="parent.framename.print()">
j1mlad Posted August 13, 2006 Author Posted August 13, 2006 That looks like the thing I'm after - thanks very much for the swift reply.Jim
j1mlad Posted August 16, 2006 Author Posted August 16, 2006 Hi - back again Looks like printing is fine thanks very much - how about if I wanted to save the contents of that frame to say a text or csv file?I tried simply replacing print with save as below but looks like the fram object doesnt support save?<input type="button" name="Print1" VALUE="Print Frame 1"onClick="parent.framename.save()">Any clues? Also - sorry for asking daft questions but where can I find a list of functions/methods that the frame object does support?ThanksJim
ripken204 Posted August 17, 2006 Posted August 17, 2006 just google "html frames" and you should find plenty of stuff. as for saving a frame i have no clue.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now