-
Notifications
You must be signed in to change notification settings - Fork 77
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
On pressing link nothing happens #78
Comments
Do not print the body. Put a child div in and put the id on that div. |
Thank you for coming back to me this is so much appreciated. I've tried that and nothing. But Thank you anyway |
It depends on where you are formatting, take this sample: http://jsfiddle.net/w1rpjxoe/33/ You will note that I changed the render mode to download. You are possibly getting a popup blocking error you do not even see. The above works fine. |
You must set that on JSFiddle or it blocks the result, download is the only method |
Hi thank you so much for coming back to me. I will try this and let you know.
Thank you
John
|
Hello, |
I just wondered if anyone had any thoughts on this please? |
Hello,
This is my first time using github. I'm a good HTML and CSS code writer. A above average writer of PHP and MySQL. I'm using this code to be able to create a downloadable PDF.
I've read all the text and when i click on the link for download.... nothing happens.
This is my code:
<body id="Usage">
<div style='width:500px;height:500px;background-color:yellow'>
<h1>Say Hello</h1>
<a href="#" onclick="return xepOnline.Formatter.Format('Usage', {pageWidth:'216mm', pageHeight:'279mm'});">
Click Here
</a>
</div>
</body>
<script src="http://www.cloudformatter.com/Resources/Pages/CSS2Pdf/Script/xepOnline.jqPlugin.js">
</script>
</html>
(Note: I've got the header info in place. I just didn't copy it across to show you)
I've set this up locally. I've put it in on my localhost too and saved the file as .php. I've put it online on some hosting i have (Which is shared). But it doesn't matter what i do it just won't do anything when i press 'Click Here'.
Please help.
The text was updated successfully, but these errors were encountered: