POST
|
I like your thought process. I will test out some of your ideas and if they work you will be the correct answer until a better tool comes around. FYI .innerHTML from what I have read is not best practice anymore if you use jQuery http://www.joezimjs.com/javascript/jquery-html-youre-doing-it-wrong/ Just some food for thought
... View more
08-04-2015
10:45 AM
|
0
|
0
|
1900
|
POST
|
I really do appreciate the idea, believe me I do. The main reason I want the screenshot is due to the selection of items on the screen and the search result box being populated. The map solution you have provided will work, but the coding required to push the information of the search results to the template is what I am uncertain of.
... View more
08-04-2015
09:35 AM
|
0
|
2
|
1900
|
POST
|
Steve, That may be the result I go with in the end. I like the thought process behind it as well. I have a few other items to knock off my list before I undertake an endeavor to add in more code for printing but thanks for sharing it for sure. If you or anyone else can think of a way to do a screenshot I am definitely all ears. Here is a screen capture of my page Here is the jsfiddle (Please bare with me as a I am a bit new to some of this): Edit fiddle - JSFiddle
... View more
08-04-2015
09:02 AM
|
2
|
4
|
1900
|
POST
|
Rickey, I do appreciate the starting point but after reviewing it it appears the same thing is happening with the sample that happened when I attempted to invoke html2canvas as well where the map content does not get pushed out to the exported image. Great starting point, but I think there has to be something else that may work.
... View more
08-04-2015
08:50 AM
|
0
|
0
|
1900
|
POST
|
Here is my situation, I have developed a web tool utilizing HTML, Javascript, and CSS. The tool looks wonderful on the screen, but when one goes to print the mapDiv does not show and the header/footer and other elements are squished together and makes it unusable to the end user. I have looked around the web a lot today and have been unable to find a solution that works to create a screenshot tool for the end-user to press and get their screenshot. Items I have looked into include: html2canvas - Does not print the mapDiv ESRI print digit - Only prints the mapDiv and nothing from the HTML phantomjs - Is an executable program which I do not want to run in case of failure Fireshot API - Works, but only in certain broswers CSS for printing - many colors not supported and would require a major overhaul to allow usage on many screens So if anyone has an idea on how to make a button on my page which will in essence print screen the page and then prompt the user to the save the image for their usage later I would be eternally grateful. Also if any of the options I have already explored may be a solution please feel free to share on how to make a tool work in this fashion as well. Thanks in advance
... View more
08-03-2015
05:33 PM
|
0
|
8
|
7505
|
Title | Kudos | Posted |
---|---|---|
2 | 08-04-2015 09:02 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|