Convert Javascript to not depend on jQuery

Completed Posted Jan 16, 2015 Paid on delivery
Completed Paid on delivery

I need the attached script converted so that it does not rely in jQuery but can be used to no dependencies on any library.

It still must work in all browsers including; IE 6+, FF, Chrome, Safari, Opera, iOS, Android, Windows Phone browsers

The code provides a few simple functions which include;

1. Allowing for swapping of mouse over and mouse down images for an img tag
2. Replacing non-retina images with high resolution images

The img tag would be added like this (replace * with < and > at the beginning and end of course);

*img src="/images/home-1/shape_mh_2.png" height="209" width="100%" alt="Doctor" data-src2x="images/home-1/banner@2x.png" onmouseover="swapImage(this,'images/home-1/shape_mh_2.png')" onmouseout="setOriginal(this)" onmousedown="swapImageMD(this,'images/home-1/shape_md_2.png')" onmouseup="setOriginal(this)" data-src-orig="images/home-1/banner.png" data-srcnm="/images/home-1/banner@2x.png"*


HTML JavaScript jQuery / Prototype

Project ID: #6985244

About the project

10 proposals Remote project Active Jan 16, 2015

Awarded to:

prakashkumar07

i am a javascript developer and level 2 jquery developer, i will provide the soln asap. Thank you.

$19 USD in 1 day
(7 Reviews)
2.9

10 freelancers are bidding on average $25 for this job

sapotacorp

A proposal has not yet been provided

$49 USD in 1 day
(53 Reviews)
5.1
tsradiant

Hi, I am Web Designer with more than 7 year experience. I have worked as Web Design & concept Consultant. I do care for concept, typo, Fonts, color culture, neatness and User friendliness presentation of the Designs. More

$20 USD in 1 day
(4 Reviews)
2.4
preedreams007

Hi, I have significant knowledge about the core javascript and its lib like jquery , node.js, angular js etc. I have confidant i will do that but once i want clear some points Thanks a lot Pree

$10 USD in 1 day
(1 Review)
0.0
webgurufm

I am young, energetic and motivated to my work. I have experience of web application and web sites development using PHP, Codeigniter, Laravel, KendoUI, wordpress, woo commerce, open cart, html, jquery, ajax, json, mys More

$30 USD in 1 day
(0 Reviews)
0.0
tanzilkhawar

i'm a web expert .i am specialized in management.i can make your work within time and in the way you want and expect.

$25 USD in 1 day
(0 Reviews)
0.0
sdifranca

A proposal has not yet been provided

$25 USD in 1 day
(0 Reviews)
0.0