I finished the help of my system in html with 'html workshop'
I'm having a problem with the background of the pages.
I am using a background image in my html pages and in editor works correctly but when I compile the chm with html workshop, all styles in html pages see but the background disappear and set into blank.
can I change the background in pages on chm or not?
thanks
You need to explicitly include your background image in compiled CHM. If an image is referenced with <img> tag, HHW will include it automatically. But if you use an image with CSS, you need to do it yourself:
In HHW, go to Project tab and press Add/Remove topic files button.
Press Add... button.
Type * in the File name field so that you can see all files, including images.
Select your background image file.
Save the project and compile. The background should be visible now.
Tip. If you have many images to include, you can use wildcards. Close HHW and open .hhp file in a text editor. Find the [FILES] section and add something like:
MyImagesFolder\*.jpg
Upload your image somewhere and set the URL as the source, seems easier.
Create a Google Drive, SkyDrive, Dropbox account and leave it there!
Related
In downloading any PDF Files, we need to click on save as popup window in IE and saving it into a folder.
Now, as an automation project, I want that save as popup window should be automatically clicked and it should save the files in the provided folder.
Kindly help us in C# code.
Many thanks.
I don't know if you can set it through code because its all about browser settings also I don't find any option in IE. However in Google Chrome you can customize your downloads using its setting. Please ask the users of your application to start using Chrome (if possible) and change its downloads setting as per the screen shot given below:
Hi I'm fairly new to Kentico. I need to access the CMS and get images to my html page. how do i do that, have seen methods like getURL, but dont know which context i use them
If the places where you enter content on the page are rich text, meaning you type in them and a toolbar appears which allows you to format text & do other stuff, then there is an icon that looks like a film strip, click that and you should be able to select an image from the media library.
or
If there is nowhere to do that, then click on the Design view and add an editable image web part to the page template.
Can you elaborate on what you mean by HTML page?
Are you using the portal engine to design your page? if so, you can add the image using a static html web part, and just add the url to the file, getting the url depends on where it is stored. is it an Attachment? In a Media Library? In your App Themes?
-UPDATE-
Since you are storing your files in the Media Library, there are a couple ways to display the image on the page.
Static HTML - You can go to the page, design tab, add a static html web part, in that webpart add the HTML for the image. Something like To get the URL, you can go to the media library, and select the image you want, and in the panel at the bottom it should have the URL for the image.
Add the Editable Image Web Part to the page, you can then set the default image in the web part properties, and using those dialogs you should be able to select the file from the media library. Additionally, once the web part is on the page, you should be able to switch to the page tab, and select the image you want there.
I'm currently working on a project where i need to include a application page for users. I need the users to access few .SWF flash games through this page. I created a folder named applications in the Application and imported the .SWF files into that. After that I tried directly linking them using a hyperlink on my page, but they don't seem to open :/
am i missing something? or is there something else i need to do before that?
Would really appreciate it if you can help
Thank you
I don't think you can just hyperlink to your .swf file. According to this site, and your using Dreamweaver or FrontPage, you can just insert it from the Insert menu (or something of the kind). If you aren't using either of those two, you can edit you .swf file in Flash and choose "Export as HTML" from the file menu (or where ever it is) and then just copy the source code of the resulting file to your webpage.
Normally, you should be able to open .swf files directly in your browser, although embedding the swf into your html is often a good idea, you don't have to.
If the url in your address bar shows an adress ending with '.swf' you can test if a swf has loaded by right clicking in your browser window, if you see the flash context menu (zoom in, zoom out, etc) Your swf has loaded.
If your swf has loaded, but nothing else happens, there can be many other reasons for this.
Where did you get the swf game files? If you copied them from another site it's very likely that the swf is supposed to load other files (game assets (images), settings (xml) etc) before the game can be played.
Sometimes the execution of (actionscript) code in a swf is triggered by script in the html page it is embedded in.
It's not entirely clear what you are trying to do....
I have a handler that I call when a link gets clicked. This handler gets the file contents from the DB and writes the contents to context.Response. I'd like to open this file as well along with it getting downloaded. Is this possible?
You have no control over browser's behavior. It will either open in browser OR display open/save dialog.
You may try to render custom page with HTML view of the file and automatically trigger second download from that HTML page to force open/save dialog.
no. it is not.
if its a bitmap file - then maybe becuase it doesnt have to be fully downloaded...
but forget about it.
it is not the right way.
you cant open a file while it is being downloaded - its a filesystem - restriction
Using WKHtmlToPDF to generate PDFs for my company's web-based mapping service.
Essentially, I take a template HTML file, inject an image into a div, save the HTML to disk and use WKHtmlToPDF to render to PDF.
Now, on most templates it works a treat. On one particular one though, where the image should be (int the pdf) is a grey area. HOWEVER, if I right click on the grey area, and select "Save Image As...", the saved image is correct.
Linked are the created PDF and the HTML on which it is based. Help required most urgently, and hints appreciated.
Zip File Containing HTML and PDF
I was having an issue where a particular image was not being printed to the PDF. Other images on the same page were. The src of the missing image is from a CDN, but had no extension, i.e. src="\\path/to/image?param". Using the aforementioned -n switch (disable Javascript), the image shows up in the resulting PDF. Thanks Jordaan.
Don't know WHY this worked, but adding the "--disable-smart-shrinking" option, and/or removing the "-n"(Disable Javascript) option, fixed it.