Jump to content

Alexander Supertramp

Members
  • Posts

    4
  • Joined

  • Last visited

Alexander Supertramp's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Hi! Finally, I’ve found the solution after almost 2 weeks. There is actually a toggle() method in jQuery but there is also an enhanced version in jQuery UI that provides more easing functions than just swing and linear. I only found one website that talk about that difference: here.
  2. Hi everyone,I’m trying to create a touch screen device version of my website.I managed to code something interesting here. It is not perfect because the content that appears partially overlaps the buttons and I use fixed height and width but at least it works.Each button makes a div slide from the top of the screen down to the bottom. If I click on the same button, the div slides back to the top. If I click on the other button, the div that slides down pushes the other div down.When I include this code in my website using media queries, nothing works, even if I only use this code not in my website but in blank files. I only tested on iPhone 4 and 4S and enven on my computer without using media queries. The only effect I get is the menu to appear suddenly as if the display css property has been changed from none to block without any transition when I click on the first button. Nothing happens if I click again on the button: the menu is stuck on the screen. The second button doesn’t work at all, it doesn’t show or hide anything.I don’t understand, it works quite well on Jsfiddle. I tried to use slideToggle() instead, or to simplify the script without using the if statement and its content. I failed!Any idea to fix this?Thanks
  3. I didn't know that. It's very interesting. Actually, for now it is really too difficult for me. I spent several hours reading from the beginning and searched here and there but didn't find what I need and the way to use that framework (never used one before). It also speaks about AJAX in the introduction, but I do not know anything about it. Any other simpler way to solve the problem?
  4. Hi everyone, The website I am creating needs to work on touch screen devices. Therefore, I have to find other ways to make things work properly when I use :hover. I found a trick on the internet to do that. I have already dealt with my horizontal navigation bar in order to display the vertical menu : here I have 2 things left that must have the same behavior : 1 & 2 If it is possible, I want to use and adapt the same JQuery code to do it (like I did for the nav bar) but I am not able to change the code to make it work this time (JS/Jquery is quite complicated for me) Any idea to do that? Thanks
×
×
  • Create New...