Posts by RikdeVos

344 posts
  • Won a Most Wanted contest
  • Won a competition
  • Located in Netherlands
  • Has sold $40,000+ on Envato Market
+6 more
RikdeVos says

I will explain how it works on that site: There a colored image, and a canvas element. When the page is loaded, the image is drawn in canvas but desaturated. The original image is hidden. When you then hover over the canvas element, the colored image fades in.

This is a smart technique, but it can be done much simpler with just 2 images: one black&white and one in color.

Something like this: HTML

<div id="images">
   <img src="image_color" id="image_color" />
   <img src="image_bw" id="image_bw" />
</div>

CSS

#image_color {
   display: none;
   position: absolute;
   left: 0px;
   top: 0px;
}
#images {
   position: relative;
}

JS

$("#images").hover(function(){
   $("#image_color").fadeIn();
}, function(){
   $("#image_color").fadeOut();
});

Best regards, Rik

344 posts
  • Won a Most Wanted contest
  • Won a competition
  • Located in Netherlands
  • Has sold $40,000+ on Envato Market
+6 more
RikdeVos says

I have a Nikon D5000 , but I recommend the Nikon D5100 because it is the newer version. The picture quality on the D5000 is excellent for its price class. I have the kit lenses (18-55 + 55-200), which are quite good, but I’m planning on buying an extra lens.

344 posts
  • Won a Most Wanted contest
  • Won a competition
  • Located in Netherlands
  • Has sold $40,000+ on Envato Market
+6 more
RikdeVos says

I’d love an invite! and Congrats with your 1000 sales! ;-)

344 posts
  • Won a Most Wanted contest
  • Won a competition
  • Located in Netherlands
  • Has sold $40,000+ on Envato Market
+6 more
RikdeVos says

This is where I always look for product reviews: http://reviews.cnet.com/digital-cameras/?tag=revCatWrap

344 posts
  • Won a Most Wanted contest
  • Won a competition
  • Located in Netherlands
  • Has sold $40,000+ on Envato Market
+6 more
RikdeVos says

Hi, I started something like this a while ago so I might be able to help you out. Please contact me through my profile.

Rik

344 posts
  • Won a Most Wanted contest
  • Won a competition
  • Located in Netherlands
  • Has sold $40,000+ on Envato Market
+6 more
RikdeVos says

1920×1080, 1920×1080

2 Samsung 23” screens :-D I can’t remember what it’s like working with a small screen.

344 posts
  • Won a Most Wanted contest
  • Won a competition
  • Located in Netherlands
  • Has sold $40,000+ on Envato Market
+6 more
RikdeVos says

encodeURIComponent() did the job. Thanks!!

344 posts
  • Won a Most Wanted contest
  • Won a competition
  • Located in Netherlands
  • Has sold $40,000+ on Envato Market
+6 more
RikdeVos says

Hey guys, I’m submitting a form using AJAX . To send the post data, I use the following code:


// create datastring to send
dataString = "password="+$("#password").val();

// send the data
$.ajax({
    type: "POST",
    url: "file.php",
    data: dataString,
    success: function(response) {
        // stuff here
    });

Here’s the problem: if the user uses special characters (like &^%$#@!+/=... and more!) the dataString variable will not be correct, and parts will be lost. I have tried encodeURI, and then decoding it in PHP using urldecode, but I didn’t have luck. Those 2 functions don’t encode/decode the same. Does anyone know how to solve this? :)

Thanks in advance, Rik de Vos

344 posts
  • Won a Most Wanted contest
  • Won a competition
  • Located in Netherlands
  • Has sold $40,000+ on Envato Market
+6 more
RikdeVos says
344 posts
  • Won a Most Wanted contest
  • Won a competition
  • Located in Netherlands
  • Has sold $40,000+ on Envato Market
+6 more
RikdeVos says

Hi, I can code if for you for $100. The different pages will just be pages with a title, a picture and some optional text. If you want a voting system or a comment system, it’ll be more expansive.

You’ll have a previous, next and random button at the top. A link to a page where you can upload a new picture. And maybe some other text and links to facebook/twitter.

You’ll need a server supporting PHP 5 and MySql 5. Contact me through my profile if you’re interested. Cheers, Rik

by
by
by
by
by
by