Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ars

Members
  • Joined

  • Last visited

Everything posted by ars

  1. ars replied to ars's topic in Frontend
    Yes, of course I did @johnnyhocks, but it didn't help.I need something easier to understand, this is to complicated for me.
  2. ars posted a topic in Frontend
    Hi! I was wondering if any of you is using Foundation 5 because I'm struggling with the installation of Sass. I've found alot of tutorials, but none of them is for beginners. Can you suggest a good tutorial or help for absolutely beginners? I appreciate any help!
  3. @dap, I updated it, but maybe it's because I have windows xp 2002?
  4. I didn't fix it yet, still working on it....maybe it works only on your mac
  5. Nice website! Thanx for the info, I don't have an iPad or iphone to test it. However, you didn't give me an answer.
  6. Do you think is this the cause @Weedy101? I'll give it a try!
  7. Oh, sorry! here you go http://www.itm.com.hr
  8. Hi! I've made a website and tested it on all browsers and just in Chrome the parallax effect doesn't work. When I click on the nav button, nothing happens. I don't know why? Please help me!
  9. I DID IT!!!!!! Finally guys i succeed! It was so easy but I couldn't find out the reason why it didn't work. I forgot to put my scripts in my header.php and also my "mycustom script". I'd like to THANK YOU ALL @KaiserK108 and @welshhuw for the effort you put into it! Without you I couldn't find the answer! Thank you again!
  10. Sorry, this is not my WP version, because it's not published yet, I use xampp to see it. When I look at the 'view source' I don't see my scripts? Do I have to put then into my 'index.php file?
  11. @welshhuw they are working fine but not in WP!
  12. Yes, this is the WP version. You don't see my myscript.js, or gallery.js listed because they are not there. I put these snippets in two files (myscript.js and gallery.js) that are in my index.html head. <script type="text/javascript"> $(document).ready(function(){ $('#navi').localScroll(800); $('#usluge').parallax("50%", 0.1); $('.bg').parallax("50%", 0.4); $('#radovi').parallax("50%", 0.3); }) </script> <script type="text/javascript"> $(document).ready(function(){ $('#map').localScroll(800); $('#usluge').parallax("50%", 0.3); $('#radovi').parallax("50%", 0.3); $('#home').parallax("50%",0.3); }); </script> <script type="text/javascript"> $(document).ready(function() { $("a.gallery").fancybox({ 'openEffect' : 'elastic', 'closeEffect' : 'elastic', 'nextEffect' : 'elastic', 'prevEffect' : 'elastic', speedIn : 600, speedOut : 200, overlayShow : false }); }); </script>
  13. I know it's a lot of scripts @welshhuw, but to achieve want I want is necessary! I deleted the "mousewheel.js" script 'cause actually I don't need it, still nothing!
  14. Here is the link http://www.itm.com.hr
  15. Thank you again @KaiserK108! The "myscript.js" is a snippet from my index.html file and also gallery.js. "myscript.js" calls the parallax.js script and the "gallery.js" my fancybox.js. About the dependency, frankly I don't undestand exactly where to put what? I fixed the errors and nothing again! Damn!
  16. Thank you very much @Kaiserk108! You're really kind to spend time to explain it to me, although it didn't help me. I did what you said but still nothing. Here's my code: <?php function custom_scripts() { if (!is_admin()) { wp_deregister_script( 'jQuery' ); wp_register_script( 'jQuery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js' false, '1.10.2', false ); wp_register_script('customJS', get_template_directory_uri() . '/scripts/jquery-1.8.3.min.js', array('jQuery'), '1.8.3', false); // Custom scripts wp_register_script('myscript', get_template_directory_uri() . '/scripts/myscript', array('paral')); // Custom scripts wp_register_script('custom', get_template_directory_uri() . 'source/jquery.fancybox.pack.js', array('customJS')); // Custom scripts wp_register_script('fancy', get_template_directory_uri() . 'source/helpers/jquery.fancybox-thumbs.js', array('custom')); // Custom scripts wp_register_script('eas', get_template_directory_uri() . 'scripts/jquery.easing.1.3.js', array('customJS'), '1.3', false); // Custom scripts wp_register_script('button', get_template_directory_uri() . 'source/helpers/jquery.fancybox-buttons.js', array('fancy')); // Custom scripts wp_register_script('scroll', get_template_directory_uri() . 'scripts/jquery.scrollTo-1.4.2-min.js', array('customJS'), '1.4.2', false); // Custom scripts wp_register_script('mygallery', get_template_directory_uri() . 'scripts/gallery.js', array('fancy'), false); // Custom scripts wp_register_script('local', get_template_directory_uri() . 'scripts/jquery.localscroll-1.2.7-min.js', array('scroll'), '1.2.7', false); // Custom scripts wp_register_script('paral', get_template_directory_uri() . 'scripts/jquery.parallax-1.1.3.js', array('local'), '1.1.3',false); // Custom scripts wp_register_script('mouse', get_template_directory_uri() . 'scripts/jquery.mousewheel.js', array('customJS'), false); // Custom scripts wp_enqueue_script('customJS'); // Enqueue it! wp_enqueue_script('fancy'); // Enqueue it! wp_enqueue_script('scroll'); // Enqueue it! wp_enqueue_script('paral'); // Enqueue it! wp_enqueue_script('local'); // Enqueue it! } } // Hook into the 'wp_enqueue_scripts' action add_action( 'wp_enqueue_scripts', 'custom_scripts' ); ?> I don't know what I'm doing wrong?
  17. Thank you @danieljoseph! You want to say that the contact form is old style comparing to the other elements? Maybe you're right. I did work a lot on that web page, but you always learn and have to improve yourself! That's what I'm gonna do! What do you suggest?
  18. Thank you @KaiserK108! I did what you say and still doesn't work. Here is my function.php <?php function custom_scripts() { if (!is_admin()) { wp_deregister_script( 'jQuery' ); wp_register_script( 'jQuery', 'scripts/jquery-1.8.3.min.js', false, '1.8.3', false ); wp_enqueue_script( 'jQuery' ); wp_register_script('myscript', get_template_directory_uri() . '/scripts/myscript', array(), '1.0.0', true); // Custom scripts wp_enqueue_script('myscript'); // Enqueue it! } } // Hook into the 'wp_enqueue_scripts' action add_action( 'wp_enqueue_scripts', 'myscript' ); wp_register_script('custom', get_template_directory_uri() . 'source/jquery.fancybox.pack.js', array(), '1.0.0', true); // Custom scripts wp_enqueue_script('custom'); // Enqueue it! // Hook into the 'wp_enqueue_scripts' action add_action( 'wp_enqueue_scripts', 'custom' ); wp_register_script('fancy', get_template_directory_uri() . 'source/helpers/jquery.fancybox-thumbs.js', array(), '1.0.0', true); // Custom scripts wp_enqueue_script('fancy'); // Enqueue it! // Hook into the 'wp_enqueue_scripts' action add_action( 'wp_enqueue_scripts', 'fancy' ); wp_register_script('eas', get_template_directory_uri() . 'scripts/jquery.easing.1.3.js', array(), '1.3', true); // Custom scripts wp_enqueue_script('eas'); // Enqueue it! // Hook into the 'wp_enqueue_scripts' action add_action( 'wp_enqueue_scripts', 'button' ); wp_register_script('button', get_template_directory_uri() . 'source/helpers/jquery.fancybox-buttons.js', array(), '1.0.0', true); // Custom scripts wp_enqueue_script('button'); // Enqueue it! // Hook into the 'wp_enqueue_scripts' action add_action( 'wp_enqueue_scripts', 'button' ); wp_register_script('scroll', get_template_directory_uri() . 'scripts/jquery.scrollTo-1.4.2-min.js', array(), '1.4.2', true); // Custom scripts wp_enqueue_script('scroll'); // Enqueue it! // Hook into the 'wp_enqueue_scripts' action add_action( 'wp_enqueue_scripts', 'scroll' ); wp_register_script('local', get_template_directory_uri() . 'scripts/jquery.localscroll-1.2.7-min.js', array(), '1.2.7', true); // Custom scripts wp_enqueue_script('local'); // Enqueue it! // Hook into the 'wp_enqueue_scripts' action add_action( 'wp_enqueue_scripts', 'local' ); wp_register_script('paral', get_template_directory_uri() . 'scripts/jquery.parallax-1.1.3.js', array(), '1.1.3', true); // Custom scripts wp_enqueue_script('paral'); // Enqueue it! // Hook into the 'wp_enqueue_scripts' action add_action( 'wp_enqueue_scripts', 'paral' ); wp_register_script('mouse', get_template_directory_uri() . 'scripts/jquery.mousewheel.js.js', array(), '1.0.0', true); // Custom scripts wp_enqueue_script('mouse'); // Enqueue it! // Hook into the 'wp_enqueue_scripts' action add_action( 'wp_enqueue_scripts', 'mouse' ); ?> I don't know what I'm doing wrong?
  19. Thanks @Privileged! And what do I do with this <script type="text/javascript"> $(document).ready(function(){ $('#navi').localScroll(800); $('#usluge').parallax("50%", 0.1); $('.bg').parallax("50%", 0.4); $('#radovi').parallax("50%", 0.3); }) </script> <script type="text/javascript"> $(document).ready(function(){ $('#arrow').localScroll(800); $('#usluge').parallax("50%",0.3); }); </script> <script type="text/javascript"> $(document).ready(function() { $("a.gallery").fancybox({ 'openEffect' : 'elastic', 'closeEffect' : 'elastic', 'nextEffect' : 'elastic', 'prevEffect' : 'elastic', speedIn : 600, speedOut : 200, overlayShow : false }); }); </script> This is placed in my index.html head.
  20. Thank you guys! But do I need to put this snippet just in the functions.php or in the head.php also?
  21. I was googling for weeks, found alot of stuff but nothing that explains in an easy way how to implement custom javascript and jQuery in Wp.Anyway, I made my theme and installed it in Wp, everything works fine except the scripts, it seems as they are not loading. I don't know what to do? I tried so many things, and nothing... wp.enque, wp_register and all that. I put it all in my function.php. Please, help me!!! I'm going crazy!
  22. Hello world! I made a portfolio website and I like to get some feedback from you guys! I have to point out that I have no much experience, so please don't be rude Thank you! Here's the link: http://www.itm.com.hr/
  23. ars replied to ars's topic in Server Side
    Thank you all guys! I've just made it! I tried it from another pc and it worked. I think the problem was with my outlook express account, it wasn't set up on the othe pc so it couldn't work.
  24. ars replied to ars's topic in Server Side
    I've tried everything and nothing! I cannot understand what is wrong....can anybody help me...please!!!
  25. ars replied to ars's topic in Server Side
    Thank you fro your answer. I'm on windows 7 and I'll try it, maybe it works!

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.