Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Javascript printing multiple pages?

  • 20-12-2005 3:07pm
    #1
    Registered Users, Registered Users 2 Posts: 2,032 ✭✭✭


    Does anyone know if it's possible to use javascript to print like 20 different html files without having to all of the documents open? I was thinking about a hidden frame, but that's out of the question.

    Any suggestions appreciated


Comments

  • Registered Users, Registered Users 2 Posts: 4,003 ✭✭✭rsynnott


    What, precisely are you trying to do?


  • Registered Users, Registered Users 2 Posts: 2,032 ✭✭✭colm_c


    It's like a mini website that ships with an application, kinda like a set of help files.

    The client wants to be able to print it either section by section or print the whole thing - all 50 pages in one go...


  • Registered Users, Registered Users 2 Posts: 4,003 ✭✭✭rsynnott


    This sounds like a job for.... CSS!!!

    Unfortunately, being but a poor, mad, programmer, I know little of such things. Others may be able to help you further tho.


  • Registered Users, Registered Users 2 Posts: 2,032 ✭✭✭colm_c


    I don't really think CSS could do this unless I dumped all the contents of the help files into one master and did a show hide thing - but I don't really want to go down this route just for a print version of the files...


  • Registered Users, Registered Users 2 Posts: 4,003 ✭✭✭rsynnott


    Well, you could have javascript pull in the data on demand, and put it in a handy div. This is, these days, called "AJAX", and is a popular buzzword, but it's also, rather unexpectedly, quite useful.


  • Advertisement
Advertisement