Posts by CodingJack

5277 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
+5 more
CodingJack says

Congratulations Kontramaz :) I think you’re the first to ever do this!

5277 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
+5 more
CodingJack says

Haven’t tried it but I imagine nothing. A negative delay would be “negative time” (could be possible if you’ve found a way to break the speed of light barrier, not sure how good of a coder you are :D ).

For no delay, use 0 or remove the property completely. If you want the transition to start earlier than its currently starting, if you’re using pure CSS that wouldn’t be possible, but if you’re using JavaScript and jQuery “addClass/removeClass”, you can try and swap the classes at an earlier point if possible.

5277 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
+5 more
CodingJack says

Always great to see a buyer win this award. Congrats Charlie! :)

5277 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
+5 more
CodingJack says

I agree with OP.

+1, seems like a reasonable request. This could be a personal safety issue in some parts of the world.

5277 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
+5 more
CodingJack says

I probably wouldn’t promote them on the description page, as that could confuse buyers, but if you have a bunch of people asking for a certain feature in the comments, there’s nothing wrong with saying “xyz feature will be added in the next update”.

5277 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
+5 more
CodingJack says

Thanks I figured it out, unlike most plugins this one I had to open the zip file to find the plugin so I got that problem solved. Thanks for answering my question.

This is how most plugins work here on CodeCanyon. Inside the zip you download, you’ll find the plugin’s documentation, license information, and then a separate, installable zip.

5277 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
+5 more
CodingJack says

I wasn’t familiar with the plugin you’re using, but after looking at the plugin’s API, it looks like this:

jQuery(this).edSingleSlider('getValue').value;

should be this instead:

jQuery(this).edSingleSlider('getValue');

Then this is how the value can be written:

$("#valueSlider5").edSingleSlider('value', value);

Here’s the updated code:

<script type="text/javascript">

    jQuery(document).ready(function() {

        // initialize all input elements with the "value-slider" class name
        var valueSliders = jQuery('.value-slider').edSingleSlider({minimum: 0, maximum: 10, step: .1, "noLabels": true, width: 600});

        jQuery('body').on('click', '#btnData', function () {

            // total value starts at 0
            var totalValue = 0;

            // loop through all valueSliders
            valueSliders.each(function() {

                var $this = jQuery(this);

                // skip over fifth slider
                if($this.attr('id') !== 'valueSlider5') {

                    // increment the totalValue for each valueSlider value
                    totalValue += $this.edSingleSlider('getValue');

                }

            });

            var average = (totalValue / (valueSliders.length - 1)).toFixed(1);

            // write the average value to the 5th slider
            jQuery('#valueSlider5').edSingleSlider('value', average);

        });

    });

</script>
5277 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
+5 more
CodingJack says

As the code is currently written, every time an element with the ID “btnData” is clicked, 5 different functions are going to fire at the same time, so it would be best to use a single ”$(document).ready” function for everything. You can also probably assign a class name to each input element, which will allow you to instantiate all “valueSliders” at the same time. Example HTML:

<input type="text" class="value-slider" id="valueSlider1" value="0" />
<input type="text" class="value-slider" id="valueSlider2" value="0" />
<input type="text" class="value-slider" id="valueSlider3" value="0" />
<input type="text" class="value-slider" id="valueSlider4" value="0" />
<input type="text" class="value-slider" id="valueSlider5" value="0" />

Example JS:

<script type="text/javascript">

    jQuery(document).ready(function() {

        // initialize all input elements with the "value-slider" class name
        var valueSliders = jQuery('.value-slider').edSingleSlider({minimum: 0, maximum: 10, step: .1, "noLabels": true, width: 600});

        jQuery('body').on('click', '#btnData', function () {

            // total value starts at 0
            var totalValue = 0;

            // loop through all valueSliders
            valueSliders.each(function() {

                // increment the totalValue for each valueSlider value
                totalValue += jQuery(this).edSingleSlider('getValue').value;

            });

            // print final value
            alert(totalValue);

            // print average
            alert((totalValue / valueSliders.length).toFixed(1));

        });

    });

</script>
5277 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
+5 more
CodingJack says

thanks for your reply , I want to by a codecanyon product and use it just for my site , but as I use wordpress and that component is not a wordpress plugin I dont know how to use it :)

You have two options:

1) Convert the item into a WP plugin.
2) Manually add the jQuery item to your site.

Both options will require some advanced WP skills. If you need some help, you could probably hire someone over at Microlancer.com.

5277 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
+5 more
CodingJack says

It’s probably just a coincidence. Some items make the “populars” and sell consistently for a long period of time, but most tend to drop off gradually after a few months which is probably the case for your item. But uploading new items will drive traffic to your older items, and that’s always the best medicine for giving your portfolio a boost :)

by
by
by
by
by
by