|
||||||||
|
|||||||
| Register | FAQ | Calendar | Radio and TV | NP Shop | Search | Today's Posts | Mark Forums Read |
| Adult Webmasters Main Forum Friendly adult web master chat, help and information |
![]() |
![]() |
![]() |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#3 (permalink) |
|
Its not always sunny on sundays
|
I'm not sure. I need it to print on the surfer's side. Like if they are making a purchase, they can fill out the form online, then hit print/submit and the info gets sent to my database, and also prints out on the customers end...
Making this site for someone else, not something I would want for myself... ~Slim~ |
|
|
|
|
|
#4 (permalink) |
|
c@rnage
Join Date: Feb 2004
Location: England
Posts: 43,473
Points: 8,140
|
I've not seen one with a print and submit button. I've seen a few that return a report after the submit, and that includes a print button. I suspect that you'll need a bit of php (or other code) to do it though.
|
|
|
|
|
|
#6 (permalink) | |
|
The Bumpmeister
Join Date: Sep 2004
Posts: 72,973
Points: 13,920
|
Quote:
![]() |
|
|
|
|
|
|
#9 (permalink) |
|
Porn is my game!
|
I'm sure its possible but didn't need it so far so don't have a code for that...
__________________
REAL WEBCAM MONEY MAKER | CHEAP FREESITE TEMPLATES - $40 for 28 templates - PM me | |
|
|
|
|
|
#10 (permalink) | |
|
The Bumpmeister
Join Date: Sep 2004
Posts: 72,973
Points: 13,920
|
Quote:
p.s. you'll have to write "java$cript" for it to show to us. |
|
|
|
|
|
|
#11 (permalink) | |
|
______________________
|
Quote:
__________________
|
|
|
|
|
|
|
#12 (permalink) | |
|
and the award for the most annoying avatar...
Join Date: Feb 2006
Posts: 3,723
Points: 1,555
|
yeah, it sounds like that putting it into your db is more important then them printing it (really it is!), so you should process the form data using js or php, put it in the db if all is ok, then dynamically generate a page from the variables with the print button on it.
submitting the form and printing at the same time is a bad idea in case of mistakes etc! __________________
Quote:
|
|
|
|
|
|
|
#13 (permalink) |
|
Webcoder
Join Date: Jan 2003
Location: Netherlands
Posts: 1,288
Points: 0
|
use css
[style type="text/css" media="print"] .noprint { visibility:hidden; } [/style] Give all non printable the class noprint __________________
Hosting in EUROPE - 5010 Gig/mo : Eur 6.35 /mo - host unlimited domains |
|
|
|
|
|
#14 (permalink) | |
|
The Bumpmeister
Join Date: Sep 2004
Posts: 72,973
Points: 13,920
|
Quote:
![]() How's it going? How are you doing outside this business? |
|
|
|
|
|
|
#15 (permalink) |
|
Webcoder
Join Date: Jan 2003
Location: Netherlands
Posts: 1,288
Points: 0
|
Still alive, coding php asp and dotnet for non adult customers and playing entropia universe. Still have my old sites, but dont promote them and dont make new stuff, but still got rebillers and once in a while a signup.
Was playing entropian universe, but the loot of the creatures was bad so I thought lets check out netpond. And with these type of coding questions I just have to respond, lol. __________________
Hosting in EUROPE - 5010 Gig/mo : Eur 6.35 /mo - host unlimited domains |
|
|
|
|
|
#16 (permalink) | |
|
The Bumpmeister
Join Date: Sep 2004
Posts: 72,973
Points: 13,920
|
Quote:
![]() |
|
|
|
|
|
|
#17 (permalink) |
|
Webcoder
Join Date: Jan 2003
Location: Netherlands
Posts: 1,288
Points: 0
|
Hehe I do, you just saw.
__________________
Hosting in EUROPE - 5010 Gig/mo : Eur 6.35 /mo - host unlimited domains |
|
|
|
|
|
#18 (permalink) | |
|
Its not always sunny on sundays
|
Quote:
~Slim~ |
|
|
|
|
|
|
#19 (permalink) | |
|
The Host with the Most!
|
Quote:
would be pretty simple actually ... |
|
|
|
|
|
|
#20 (permalink) | |
|
Webcoder
Join Date: Jan 2003
Location: Netherlands
Posts: 1,288
Points: 0
|
Quote:
input type="text" class="noprint" or if you want it with all input things [style type="text/css" media="print"] input, select, textarea { visibility:hidden; } [/style] You could also put the part you dont want to print in a table with the class noprint table border="0" cellpadding="0" cellspacing="0" class="noprint" or put these around it : [span class="noprint"] non printable content goes here [/span] (and like always, change the [ and ] into the html brackets) __________________
Hosting in EUROPE - 5010 Gig/mo : Eur 6.35 /mo - host unlimited domains |
|
|
|
|