Link to home
Start Free TrialLog in
Avatar of deanlee17
deanlee17

asked on

JQery color picker issues

Hi guys,

So I have the colour picker working on my personal website...

http://www.deans-place.co.uk/colourpicker/

When I try to upload it onto my work system it will not work? The letter 'c' in this link is where it should sit. Its like a management system so I uploaded various files into various locations and obv there is the template code around it, but I cant figure out what is stopping it from working....

http://test.urban-outdoors.co.uk/shop/test.html

Cheers,
Dean
Avatar of Gary
Gary
Flag of Ireland image

Your colpick.js and the tabs js file are being redirected to /
So you probably have an error in your htaccess
Avatar of deanlee17
deanlee17

ASKER

tabs js file?

Sorry, how did you check for the above?

Thanks.
HttpFox for FF

<script src="js/jquery.tabSlideOut.v1.3.js"></script>
Ah this page isnt using that file.
Maybe so but it just points to a common problem - both js files reside in the same folder (/js) and both are being redirected to the root folder - ergo no such file exist there.
Ye good point. I have updated those. No change.
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Just off home form work, will be looking at it this evening so I shall give that a try and report back.

Cheers.
Im assuming you are referring to the below:

$(function(){
  $('.color-box').colpick({
	colorScheme:'dark',
	layout:'rgbhex',
	color:'ff8800',
	onSubmit:function(hsb,hex,rgb,el) {
		$(el).css('background-color', '#'+hex);
		$(el).colpickHide();
	}
})
.css('background-color', '#ff8800');
});

Open in new window


<script src="http://www.ishop.co.uk/roots/1200/js/colpick.js" type="text/javascript"></script>

Open in new window


That are currently sitting in the header?
Yep, move them to before the closing body (with the script tag first)
That was a great idea, as you can now see, its almost perfect.
Looks good to me, what is it that is not perfect.
Oh nothing, I just to reduce the length of the div, which I did.

Cheers for the help!