Jump to content

Recommended Posts

Posted

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.

Thanks

Jim


Posted

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?

Thanks

Jim

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...