Welcome to MainelyDesign.com

Photos of Rockland, Maine. Summer 2009.

A blog mostly about web design

This is the personal blog of Kevin Wentworth.  Topics covered here are web programming, design and internet marketing.

Combatting iFrame issues with Opera and Mobile Devices

Posted 3 days, 1 hour agoViewed 31 times

After discovering that Opera automatically downloads a PDF file while using an iFrame to load it into a page, I spent some time looking around on how to avoid this issue. It ended up coming down to a pure JavaScript work-around. What Had To Be Done To fix this issue, I ended up having to remove the content from a static HTML section, and...

Making CURL SSL Work on Localhost PHP Development in Windows

Posted 2 weeks, 1 day agoViewed 159 times

I've been here before.  Working on a Facebook application on my local development box and none of the access tokens will work.  They work on the live server, but not on my sandbox/development server.  What gives? CURL is failing to communicate over SSL/HTTPS If you dig into the code and look at the curl error being reported, you'll see this...

Controlling jQuery's Tooltip

Posted 4 weeks, 1 day agoViewed 300 times

After watching jQuery's tooltip() slow down a page's loading time by a solid two seconds, it became clear that there had to be a better way to create and control tooltips. The Slow Way The initial use of tooltip() was used to create all of the tooltips on page generation, as such... $(".tooltip").tooltip({ position: { my: "center bottom-20",...

Taking A Step Ahead With jQuery

Posted on 07/18/2014 at 09:24 amViewed 441 times

After spending a majority of my time developing with JavaScript and jQuery, I've come across many different things that proved very useful, but may not be thought of by most developers. Two things in particular stand out: The notorious download attribute, and Vertically aligning two DOM elements to their baseline Both of these things have...

LinkedIn PHP Api - Fixing 401 Unknown Authentication Scheme Error

Posted on 07/17/2014 at 09:55 amViewed 2,425 times

If you are a disciplined developer you probably take a lot of time to read the manual and probably also use the examples provided by the vendor, right?  This is what I was doing in my attempt to get the LinkedIn PHP API working.  LinkedIn recommends using file_get_contents() with a stream context.  Looks good to me.  After you get your GETs...

Read More Posts.

Meet Site Avenger - Hosted Content Management System

Powered By: Site Avenger | Site Production: Saco Design