Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Image Slider free Joomla module.

Topic-icon Spacing between Images

More
7 years 4 months ago #604 by iladelph
iladelph created the topic: Spacing between Images
First off, I have to tell you that this slider is the best free image slider that I have seen to date. In fact, it is better than some of the proclaimed 'pro' editions that I've come across.

With that said, I do have one question. By default, there is a space about 150px wide between image advancement. What I'm looking for is to have the next image immediately enter the frame with out the black space or 'padding' if you will. Would this be possible?

I have already searched the .js and .css files, but cannot pinpoint the line of code to alter.

Any help is appreciated. And once again, great product!

Please Log in to join the conversation.

More
7 years 4 months ago - 7 years 4 months ago #605 by milos
milos replied the topic: Re: Spacing between Images
I tried to alter jQuery code of script that module uses, but I am afraid this is not possible to be changed.
Last Edit: 7 years 4 months ago by milos.

Please Log in to join the conversation.

More
7 years 4 months ago #607 by iladelph
iladelph replied the topic: Re: Spacing between Images
Ok. Thanks for trying.

Please Log in to join the conversation.

More
7 years 4 months ago #611 by iladelph
iladelph replied the topic: Re:Spacing between Images
So I was able to fix the spacing issue between the sliders image progression. The problem lies in the scripts.js file not the jquery file. There are two lines in particular which I had to change.

jQuery('#' + d.id).css({
left: ((i - pos) * 1000)
});

and...

jQuery('#' + d.id).stop().animate({
left: ((i - pos) * 1000)
},

By changing the 1000 to a different number, the spacing between each image changes as well. A lower number will result in less space and a higher number will result in more space.

I haven't noticed any glitches thus far. I hope this helps anyone else experiencing a similar issue.
The following user(s) said Thank You: thejamkit

Please Log in to join the conversation.

More
7 years 4 months ago #612 by milos
milos replied the topic: Re:Spacing between Images
Yes, you are correct, nice tip! The minimum value must be image width minus border width (set in module parameters), otherwise it won't play properly. In example, if module width is 150 and border 20, you should enter minimum 130.

I will try to incorporate this setting (spacing between images) in module parameters in one of the next module revisions.

Please Log in to join the conversation.

More
5 years 11 months ago #9076 by Jens_K
Jens_K replied the topic: Re: Spacing between Images
I just happen to see this sticky post here.

A great way to alter the space between the slider images is described here:
www.hotjoomlatemplates.com/support-forum...etween-single-images

Please Log in to join the conversation.

Time to create page: 0.144 seconds

Links, Partners and Social Media