I have used java script to enter today's date on to a course certificate in Storyline. This prints fine in Internet Explorer but just prints a blank page in Firefox. Does anyone have a solution to this at all?
Thanks for your reply Ashley. I tested on the usual learning management system online (we have a test site set up for this) so I don't think that's the issue.
Any other ideas as to why this is now making the page print as a blank page in Firefox (before I added in the javascript trigger to create the date the page printed fine in Firefox)?
When I tested this in Firefox, I got the below image ( I don't actually have a printer, but saw that when I did a print preview it was blank) so the Javascript elements are working. I'm not equipped to offer advice on the Javascript coding, to know if there is a reason within that which is causing the print failure, but did you previously have the print window script described here?
No, we haven't used javascript to print the window, just use the standard print button from the internet browser being used. I'm going to have to remove the date feature as I need people to be able to print their certificate, which is a shame as it was very useful.
Sorry I missed that in your other post. Since it only seems to happen in Firefox, have you checked that your Javascript in enabled and up to date within the browser itself? I haven't seen anything specific that would cause Javascript to not work properly in Firefox, although there is some similar discussion here but the majority of those users are using the Javascript print function.
From a course that I did this in that, besides showing the date the course was completed, also captured the learner's name as stored in the LMS. I had a lightbox slide come up with printing info whenever the completion certificate slide was accessed. note the info I added for FireFox.
11 Replies
Hi K,
When you test your published content you'll want to ensure you place it within a web site and test from there - you may want to use Tempshare if you don't want it to be public yet. Testing the content locally may not work as expected due to local security restrictions.
Additionally you may want to review this thread, as there is a lot of discussion there about using the Javascript command to print including examples.
Thanks for your reply Ashley. I tested on the usual learning management system online (we have a test site set up for this) so I don't think that's the issue.
For info, the javascript is not used to print the page but I used the javascript recommended on the Articulate website to add in a date to the certificate: http://www.articulate.com/support/storyline/javascript-best-practices-and-examples.
Any other ideas as to why this is now making the page print as a blank page in Firefox (before I added in the javascript trigger to create the date the page printed fine in Firefox)?
I've attached a copy of the page here.
Many thanks
Katie
Hi K,
When I tested this in Firefox, I got the below image ( I don't actually have a printer, but saw that when I did a print preview it was blank) so the Javascript elements are working. I'm not equipped to offer advice on the Javascript coding, to know if there is a reason within that which is causing the print failure, but did you previously have the print window script described here?
Thanks for your reply Ashley.
No, we haven't used javascript to print the window, just use the standard print button from the internet browser being used. I'm going to have to remove the date feature as I need people to be able to print their certificate, which is a shame as it was very useful.
Best wishes
Katie
Hi K,
Sorry I missed that in your other post. Since it only seems to happen in Firefox, have you checked that your Javascript in enabled and up to date within the browser itself? I haven't seen anything specific that would cause Javascript to not work properly in Firefox, although there is some similar discussion here but the majority of those users are using the Javascript print function.
Firefox can be a bugger here.
From a course that I did this in that, besides showing the date the course was completed, also captured the learner's name as stored in the LMS. I had a lightbox slide come up with printing info whenever the completion certificate slide was accessed. note the info I added for FireFox.
Just tested my solution out and it was working fine with FireFox 24 (I'm a couple of versions behind).
After right-clicking on the certificate slide and selecting print from the context menu, here's a scan of how it printed out:
Thanks Gerry.
I don't use Firefox too often, so I'm not familiar with all it's idiosyncrasies.
Good "term" to use.
I'd use Chrome more often but I like how I can customize FireFox more.
Thanks very much for all your replies. I'll use the add a note re right clicking to print for now, good idea.
Hi K Bright,
if you upload your course in web server than it's work in all the browser and print the certificate in all the browser.
This discussion is closed. You can start a new discussion or contact Articulate Support.