View RSS Feed

Uncategorized

Entries with no category

  1. Using the Google Document Viewer for embedding PDF / opening it in a new window/ tab

    Often PDF-files will not open in Internet Explorer if we just use the regular PDF-URL in the address bar or for the iframe in which we want to embed the file. And often PDF-files are not readable on iOS, or only display the first page of the document.
    These problems don't seem to occur if we use the Google Document Viewer for displaying PDF. Here's some useful code for using the viewer. Its only disadvantage is that it does not allow momentum scroll on iOS.

    Updated 05-23-2016 at 09:19 AM by molendijk (English)

    Categories
    Uncategorized
  2. Another Youtube Gallery

    I know there's an excellent YouTube Video Gallery on DD. But I wanted a gallery that
    - shows the videos inside the box containing the thumbnails for the videos, giving them the dimensions of the box;
    - allows the videos to also be shown at full window size (maximize and minimize buttons for the videos);
    - removes the Youtube ads;
    - makes it possible to put text at the top of the thumbnails and at the top of the videos themselves.

    So I made a gallery myself. ...
    Categories
    Uncategorized
  3. A Client Side Way of Getting PHP into HTML

    This is pretty obvious, I suppose. I decided to post it anyway.
    The standard way of getting PHP output into a HTML file (that you don't want to give the PHP extension) is to configure the server to interpret HTML files as PHP. But your web host may not support the htaccess file(s) needed for this. No worries, there's a client side way of getting PHP output into HTML. Just put the following lines where you want the output to display in your HTML file (and don't forget to reference the jQuery ...
    Categories
    Uncategorized
  4. Iframes on iOS

    On iOS, a line like:
    Code:
    <iframe src="http://www.dynamicdrive.com" style="position: relative; width: 300px; height: 300px" frameborder="0"></iframe>
    won't produce a scrollable iframe having the height specified above, but an iframe whose height is automatically adapted to its contents. What scrolls, then, is not the iframe on the page, but the page itself.

    There's a way to force iOS to behave like you would expect. All you have to ...
    Categories
    Uncategorized
  5. Display: table-cell in css-tables

    I learnt a few things from this thread, as far as display: table-cell in css-tables is concerned. Beverleyh's info was highly useful. I experimented a little bit further with table-cells and put my findings in a small document made for personal use. Then I thought it might be useful to others too, so here it is.
    Categories
    Uncategorized
Page 1 of 5 123 ... LastLast