Jump to content

regicidedelferoz

Members
  • Content Count

    87
  • Joined

  • Last visited

Community Reputation

0 Neutral

About regicidedelferoz

  • Rank
    Newbie

Previous Fields

  • Languages
    HTML, CSS, JavaScript, MySQL, PHP, Ajax, jQuery

Contact Methods

  • Website URL
    http://
  • ICQ
    0

Profile Information

  • Location
    Pearl of the East
  1. Here's the page of my plugin: http://michaeljanea.com/jquery/mj-carousel/
  2. What about the plugin code, sir? Here the link: http://pastebin.com/qqRmUMGK
  3. But i already posted the line of code i am using to add the plugin in my page just like what Ingolme asked.Here's the code again, sir. $('.mj_carousel').mjCarousel();
  4. Is this the code you're looking for? $('.mj_carousel').mjCarousel();
  5. I already attached the jQuery plugin here: http://w3schools.invisionzone.com/index.php?showtopic=53970&p=297123
  6. There's no error messages is displaying,. I am using jQuery's tutorial in creating a plugin. There's no error regarding the codes, the only problem is, autoplay feature is only applied with the first carousel whenever there's a multiple instances.
  7. Good day everyone! Can you guys help me regarding the autoplay for my plugin (carousel)? It is working when I only have 1 carousel, but whenever I have more than 1, autoplay is only working with the first carousel. Attached is the copy of the said plugin. Thanks in advance! Regards, Regicide Del Feroz carousel.zip
  8. Good day everyone, Do you have a Google Translate script, as much as possible a URL, that returns a JSON format? For example I pass this URL using an AJAX request: https://google-trans...sh&to=afrikaans maybe it will return: {"translation":"groot"} Thanks in advance! - Regicide Del Feroz
  9. Good day everyone, Do you have a Google Translate script, as much as possible a URL, that returns a JSON format? For example I pass this URL using an AJAX request: https://google-translate-api-domain.com/q=largeāŒ©=english&to=afrikaans maybe it will return: {"translation":"groot"} Thanks in advance! - Regicide Del Feroz
  10. thank you guys. now I understand that JavaScript reads first the console.log() feature before the .load() function of the image. i thought .load() function will be called first before console.log() because of their order (line numbers). now I realized that .load() function will only be executed after the image was loaded and the console.log() will be executed even though the image is not yer loaded. it's like the idea of $(document).ready() and $(window).load() function. thank you guys. i'm enlightened God bless and more power!! - regicide
  11. good day everyone, i have a problem regarding changing a global variable inside a callback function. for you to visualize my problem, here's my code: <script>var imgWidth;$(function(){ $('img').attr('src', 'http://domain.com/link-to-new-image-src.jpg').load(function(){ window.imgWidth = $(this).width(); console.log(window.imgWidth); //outputs the size of the new image }); console.log(imgWidth); //outputs "undefined" which is my problem});</script> hope you get it thank you in advance and more power- regicide
×
×
  • Create New...