View RSS Feed

Uncategorized

Entries with no category

  1. Seamless iframes

    There are many scripts on the Internet that aim to set the height of the iframe element to accommodate the contained document's height, so that the window scrollbars can be used instead of iframe scrollbars for a more seamless appearance. Some rather well-known scripts are those created by David Bradshaw (http://davidjbradshaw.com/iframe-resizer/example, jQuery based) and Dynamic Web Coding (http://www.dyn-web.com/tutorials/ifr...eight/demo.php). The DynamicDrive script (http://www.dynamicdrive.com/dynamici...iframessi2.htm) ...

    Updated 04-22-2017 at 08:19 AM by molendijk

    Categories
    Uncategorized
  2. Transferring videos from Google Drive to YouTube

    You can transfer videos from Google Drive to YouTube by sending them as email attachments, see, for example: https://www.oxhow.com/upload-youtube...m-google-drive. But when you use this method for transferring videos to YouTube, you cannot upload files larger than 25MB, since the maximum file size of an email attachment is this size. Also, I don't think you can upload videos from someone else's GoogleDrive to Youtube using the email-attachment method, even if you know the GoogleDrive-url ...
    Categories
    Uncategorized
  3. A slideshow for a unique image

    Sometimes the image that is supposed to be a main attraction of a page of your site may seem a bit dull, or it does not come out right because it is too large for its 'frame' and background-size: cover doesn't give the results you want. In that case, you may consider to resort to a slideshow for that single image using different background positions. Each slide of the show, then, is one and the same image having a specific background position for it.

    I tried to implement this idea ...

    Updated 02-12-2017 at 12:40 AM by molendijk

    Categories
    Uncategorized
  4. Adding a click event by class name or by id

    If you want a click event (computer, laptop) or a touchstart event (mobile device) to occur when an arbitrary part of your page is clicked on ('touched') but if you don't want this event to occur (or if you want other events to occur) for regions of your page having a certain id or class name, then jQuery is your friend.
    Code:
    <script>
    $(document).on("click touchstart", function (e){
    if(e.target.id=='bla'){do this} else {do that}
    if(e.target.className=='blo'){do
    ...
    Categories
    Uncategorized
  5. A Single-Page Application without Framework

    A Single-Page Application is a website that fits on a single page. All necessary code is retrieved with a single page load or dynamically loaded and added to the page as necessary. The page does not reload at any point in the process unless it is manually refreshed. This provides a more fluid user experience.
    SPA has been adopted by several javascript frameworks such as AngularJS, Ember.js, Meteor.js and ExtJS. But these frameworks are overkill in regards to what is needed for a SPA to function ...
    Categories
    Uncategorized
Page 1 of 6 123 ... LastLast