Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About sugafree

  • Rank
  1. I want to create a main header where texts will bounce in, in 0.5s intervals and then at the same time it will all fade out, 1s interval again then new text will bounce in same intervals again and fade out. When it finished I want it to start from the beginning. I use animate.css, twitter-bootstrap and jquery. I have tried a few different ways, but so far I couldnt even get it to fade out after a short delay or if it fades out, it wont bounce in. http://erotikus-munka.co.uk/test/index2.html $( document ).ready(function() { $( '.main2' ).addClass( 'bt_visible animated fadeInDownBig'), $(
  2. ....just in case others run into the same problem. Use UI-router(unfortunetaly its not my handywork, but I think I got the picture now)... http://plnkr.co/edit/jnKQOvkE4nJinEQ5zhr6?p=preview
  3. Im trying to create a form, first element should be a <select> tag with a few options and each of them will dynamically bring up a different set of forms depending on what the user chooses. The idea is within the select tag there will be different categories like cars, properties etc.. first user only sees that and when chose, it will bring up a set of input fields that required for that category. Anyone got an idea what would be the best way to do it in angular?
  4. Thank you Foxy, best solution so far. However I still have 2 more major problems. Element and target is in the same wrapper div so when target is resized, it will force the element to a different position which really not looks good and how could I change the delay so the animation looks a bit slower?
  5. I want to create a div and set the opacity to 0 with css(background, color, border) so completely invisible and the whole thing will only work if js enabled. There is another div next to it, and want to use jquery to change the opacity to 1 and change it size. If possible with fadeIN fadeOut. So far i didnt get far, still couldnt even change the opacity, although a researched it. Also I tried mouseenter and mouseover, but no luck yet or to use .hover to create a new div and everyting, but than I need the rest of the page to stay where it is and a new div would change it.. $(document)
  6. Im trying to use jssor slider from github, but when i copy the code it wont work. For some reason the arrows on the left and right side in the main picture dont show up, even tho when you hover over it with your mouse it does work. Also the unselected thumbnail borders are not the right size. Can anyone help me? Also little loading gif wont show up on main big picture just as on thumbnails. I uploaded it to http://sugafreetest.hostoi.com The example what i want to do is http://www.jssor.com/demos/image-gallery.html Thanks
  7. Basically what I am trying to do is, first you enter a number, which will be the number of time the loop should run. When all details entered, it should print out like a payslip for all entries, name, wage, marital status etc..Now the problem is, when I enter example 2 for the loop(numWorkers) at the last round, it will come up with some error in the line of nameWorker[i] = input.next(); Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 20. Also got some problem with the wage obviously im trying to send a double to the wageCalc method, but just cant get it running. Tried p
  8. But what is angular JS than? I think it pulls out the actual content, example ad listings is made up of a pic, description and price, all this is stored in an external file if im right. So will prerendering sort out this issue, meaning google searchbots will see the full html with content? Also is there a way to automatically generate a simply html/css version of the website? Eg creating the same website using html and css only and some program-script or anything will pull the data from the angular site to insert it into the html version each time someone posts a new ad
  9. Hi, I hope this subject should be under javascript.. If you design a great website using angularJs, might sound great but what about search engines and visitors without js or whatever other stuff it needs. Could you guys give me some ideas on this subject? Example design a website like gumtree.com, the content is the main thing which is the main thing to be handled by angular, but how you deal with the search engines? Heard about prerender but is google going to look at each possible variation as a new page(which would be good) also if not all your content needs to be dynamic, example you
  10. still the same... could you tell me what is (el)? also why do i need (actLinks); at the very end
  11. which supposed to be whichpic right? Now just tried showPic() and showPic(whicpic). No luckyet
  12. Hi, Im trying to run the showPic function without putting any JS into HTML(when i used onclick = showPic() return false, it worked fine). I added prepareGallery function for this reason and I cant get it working. I think I can see it changes the pics but link will be executed also. Anyone got an idea where I made the mistake? <body><h1>Snapshots</h1><ol id="links"><li><a href="benfica.jpg" title="benfica">Benfica</a></li><li><a href="yamaha.jpg" title="yamaha">Yamaha</a></li><li><a href="island.jpg" title="i
  13. is there any other stuff or website where you could recommend free sliders?
  14. second on is Use of getPreventDefault() is deprecated. Use defaultPrevented instead. in jquery-1.10.2.js Ive changed this and the error disappeared but nothing changed. The whole div doesnt show up and some CSS wont work and some other jquery // Events bubbling up the document may have been marked as prevented// by a handler lower down the tree; reflect the correct value.this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false ||src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse;
  • Create New...