• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Printable Page

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a results html document (using JSPs) at my front. If I click on a link, say 'Printable Page', how can I dynamically format the pop-up page which has part of the content of the parent document with out any links/images, also which should include the parent styles.
I appreciate if anyone can guide me for the good solution. I would like to achive this without making any database query? Can we just do this using HTML and JavaScript?
Thanks in advance.
Nagesh.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can do it with the main page by using the CSS properties
http://www.meyerweb.com/eric/articles/webrev/200001.html
Change the format of it with the CSS
Or you can do a reading of the innerHTML and populate the information from
the innerHTML into the window. (This would be a pain)
Eric
reply
    Bookmark Topic Watch Topic
  • New Topic