-
Dynamic Ajax Content - Print option
Hi,
With Dynamic Ajax Content what kind of print fonction can I use to print only the content without the whole page (buttons and top).
Thanks
-
-
So... you want to get part of the page you are calling with AJAX?
What you need is javascript that will split the data at certain points.
The best/easiest way would be to redesign the page you are calling.
The other option is to find specific UNCHANGING markers you can take the data "from here" and "to here".
Someone else will have to help with that specific code, though.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
-
print css
Hi,
The thing is, if I put a print button it's will print the whole page with the menu and the top (kept the css).
If I put a button that open the page (only the content) in a new windows,
the css is not taken.
thanks
-
-
Oh. Ok. You mean print, like a print, not print like "print" (display) a line of code.
Actually, it's fairly similar. You still need to identify what part will be used.
Firstly, the AJAX has nothing to do with it, really.
What you need is to setup an alternate document for printing either via the (said-to-be-incompatible/unworking) script here or with just a "click this link to print".
By default the entire document is printed. You need a NEW document for printing.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks