× Discussion about Hot Effects Slider Joomla module.

Topic-icon Lines on Images

More
6 years 3 months ago #15475 by nimrodel
Lines on Images was created by nimrodel
Hi,

Im getting lines through the images when the browser zooms out or in from 100%. The site is at www.salmoncourt.com . Ive tried changing the settings but no luck on a resolution.

Any ideas would be great.



Attachments:

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago - 6 years 3 months ago #15486 by ivan.milic
Replied by ivan.milic on topic Lines on Images
Open:
http://www.salmoncourt.com/modules/mod_hot_effects_rotator/js/jquery.nivo.slider.js


you will find this:
//Add initial slices
			for(var i = 0; i < settings.slices; i++){
				var sliceWidth = Math.round(slider.width()/settings.slices);
				if(i == settings.slices-1){
					slider.append(
						jQuery('<div class="nivo-slice"></div>').css({ left:(sliceWidth*i)+'px', width:(slider.width()-(sliceWidth*i))+'px' })
					);
				} else {
					slider.append(
						jQuery('<div class="nivo-slice"></div>').css({ left:(sliceWidth*i)+'px', width:sliceWidth+'px' })
					);
				}
			}

change it to this:

//Add initial slices
			for(var i = 0; i < settings.slices; i++){
				var sliceWidth = Math.round(slider.width()/settings.slices);
				if(i == settings.slices-1){
					slider.append(
						jQuery('<div class="nivo-slice"></div>').css({ left:(sliceWidth*i)+'px', width:(slider.width()-(sliceWidth*i) + 1 )+'px' })
					);
				} else {
					slider.append(
						jQuery('<div class="nivo-slice"></div>').css({ left:(sliceWidth*i)+'px', width: (sliceWidth + 1)+'px' })
					);
				}
			}
Last edit: 6 years 3 months ago by ivan.milic.

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #15532 by nimrodel
Replied by nimrodel on topic Lines on Images
Worked a treat, thankyou :)

Please Log in or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.182 seconds