Jump to content

regicidedelferoz

Members
  • Posts

    87
  • Joined

  • Last visited

Everything posted by regicidedelferoz

  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
  12. PHP Session VariablesWhen you are working with an application, you open it, do some changes and then you close it. This is much like a Session. The computer knows who you are. It knows when you start the application and when you end. But on the internet there is one problem: the web server does not know who you are and what you do because the HTTP address doesn't maintain state.A PHP session solves this problem by allowing you to store user information on the server for later use (i.e. username, shopping items, etc). However, session information is temporary and will be deleted after the user has left the website. If you need a permanent storage you may want to store the data in a database.Sessions work by creating a unique id (UID) for each visitor and store variables based on this UID. The UID is either stored in a cookie or is propagated in the URL.
  13. i see. but i already tried to do it with php and it's working well. but my problem now is the pagination.
  14. anyways this is the query i used SELECT t1.title AS lev1, t2.title as lev2, t3.title as lev3, t4.title as lev4FROM tbl_news2_cat AS t1LEFT JOIN tbl_news2_cat AS t2 ON t2.parent_category = t1.idLEFT JOIN tbl_news2_cat AS t3 ON t3.parent_category = t2.idLEFT JOIN tbl_news2_cat AS t4 ON t4.parent_category = t3.idWHERE t1.parent_category=0
  15. good day everyone! i have a question about Managing Hierarchical Data in MySQL of mike hillyer (http://mikehillyer.c...-data-in-mysql/) i already did what he taught in that website and this is the result of the query but i want to do is to show all categories in one column order by categories.. for example:category 1- category 1.1-- category 1.1.1-- category 1.1.2- category 1.2-- category 1.2.1...category 3category 4and so on thanks in advancemore power
  16. thank you sir,. do know some websites that are safe?
  17. http://dean.edwards.name/packer/ above link is a javascript generator called packer.. it can compress/pack/encrypt javascript codes.. my question is.. is it safe? i mean some encryptor over the internet injects some scripts that may hack your website.. thanks in advance
  18. good day everybody,. is there an alternative for google swiffy?
  19. good day everyone,. i want to replace a string and put the replaced string on a variable,. ex. $str = 'this is the oRiGiNaL text';$find = 'original';$replace = 'replaced'; output:$str = 'this is the replaced text'; //the normal output of replacing text $original = 'oRiGiNaL'; //the replaced text will be moved to a new variable and it's format/case is remain thanks in advance,. -regicide del feroz
  20. are you trying to make your own lightbox?
×
×
  • Create New...