Lines on Images

  • nimrodel
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 10 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 to join the conversation.

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


you will find this:
Code:
//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:

Code:
//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: 12 years 10 months ago by ivan.milic.

Please Log in to join the conversation.

  • nimrodel
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 10 months ago #15532 by nimrodel
Replied by nimrodel on topic Re: Lines on Images
Worked a treat, thankyou :)

Please Log in to join the conversation.

Time to create page: 0.156 seconds
Powered by Kunena Forum