canadianjameson
10-18-2006, 03:05 PM
Hey,
I have a page which contains driving directions to my lab at school. The directions are segmented by direction you are comming from (so 'From East, From West, Public Transportation, etc')
What I want to do is provide a link so that users can print whichever directions they need without printing the whole page. Currently the different sections are seperated in divs with different ID's.
Is there a way / is it simple to have a print button which would only print the content of 'div X'...
alternatively, i suppose i could create little .htm files with the seperate directions in each and somehow call that print using something akin to window.print('fromEast.htm');
any suggestions?
I have a page which contains driving directions to my lab at school. The directions are segmented by direction you are comming from (so 'From East, From West, Public Transportation, etc')
What I want to do is provide a link so that users can print whichever directions they need without printing the whole page. Currently the different sections are seperated in divs with different ID's.
Is there a way / is it simple to have a print button which would only print the content of 'div X'...
alternatively, i suppose i could create little .htm files with the seperate directions in each and somehow call that print using something akin to window.print('fromEast.htm');
any suggestions?