Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Center Image Background on slide
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Center Image Background on slide
#12729
Center Image Background on slide 13 Years, 9 Months ago Karma: 0
Hi,
and thanks for a cool module.

I kinda like the shadow border effect round the edges of class.nivoSlider, but would like it centered.

Problem is the Javascript is overriding the original nivoSlider CSS for centering of the image background.

element.style {
background: url("/clients/aipp.png") no-repeat scroll 0 0 transparent;
position: relative;
}

I cannot find where this is getting set.

Cheers
Sol
The administrator has disabled public write access.
 
#12731
Re:Center Image Background on slide 13 Years, 9 Months ago Karma: 760
Hello,

Could you provide link to page where we can see the problem?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#12733
Re:Center Image Background on slide 13 Years, 9 Months ago Karma: 0
Hi thanks for quick reply link sent.

Cheers
Sol
Last Edit: 2011/03/22 15:12 By solian.Reason: link
The administrator has disabled public write access.
 
#12734
Re:Center Image Background on slide 13 Years, 9 Months ago Karma: 760
Change "Width" and "Height" parameters in module settings. Set "Width" to "523" and "Height" to "382".

Regards,
ARI soft
The administrator has disabled public write access.
 
#12735
Re:Center Image Background on slide 13 Years, 9 Months ago Karma: 0
Hey,
Thanks very much for quick response,
that's legendary service.

what I was kind of after is in image attached,
plus always interested to see how things work.

I unpacked JS, can't see where that bit is getting set?

perhaps background-position is interpreted by default to 0 0 if it is left off?

Thanks Greatly
Sol
Last Edit: 2011/03/22 14:39 By solian.Reason: image failed
The administrator has disabled public write access.
 
#12737
Re:Center Image Background on slide 13 Years, 9 Months ago Karma: 760
If you want to investigate how the extension works, we can recommend to use FireBug addon for FireFox browser. In brief, NivoSlider creates several <DIV> elements (depends on "Number of slices" parameter) and use current image as background for this image with specific background position that creates transition effects.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1