Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank page on Chrome #26

Open
carcagi opened this issue Jun 11, 2015 · 1 comment
Open

Blank page on Chrome #26

carcagi opened this issue Jun 11, 2015 · 1 comment

Comments

@carcagi
Copy link

carcagi commented Jun 11, 2015

HI,
I'm having a hard time to make the plugin work with Chrome
This is the page:
http://dev.radioimagendigital.com/orden-de-servicio/
And this is the htapssword:

The print works flawlesly in most browsers, what I'm trying to do is to print a form with it's content, for this I create a new form with the contents loaded.

Here is the JS Code I'm using

jQuery("div.b1").click(function(){

               var print = "";
               jQuery("input.selPA:checked").each(function(){
                   print += (print.length > 0 ? "," : "") + ".content_orden_servicio" + jQuery(this).val();
               });

               var template_uri = '<?php echo get_template_directory_uri(); ?>'; 
               jQuery(".content_orden_servicio").printArea({
                   mode       : "iframe",
                   standard   : "html5",
                   retainAttr : ["id","class"],
                   rintDelay : 500,
                   printAlert : true,
                   extraCss   : 'http://dev.radioimagendigital.com/wp-content/themes/stability/print1.css'
                   });
               //jQuery(".content_orden_servicio").printArea();
           });

It's a wordpress website. Thanks for any help.

Forgive my bad English.

@heldersepu
Copy link

The link at radioimagendigital is no longer working...
But I had a similar issue and the solution was to show the "form" before calling the printArea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants