Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Sliding Panel on page load.

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #38942

    Hey there, I’m trying to find a way to have a panel or banner slide into view from the right to the left. I also would like this to occur on page load, or have a small delay after pageload. I have very basic js/jquery knowledge, and have tried using a few different solutions that I can’t get working (mostly likely because I didn’t use them correctly). Ive tried slideToggle but I can only find vertical versions, not horizontal. I did find a bit of code that used animate but couldn’t figure it out.

    Hoping someone has some easy jquery to through my way to solve this.

    Thanks for reading!

    -Aaron-

    #106211
    theacefes
    Member

    It would be a lot easier to help if you had some code for us to look at so we can see exactly what you are trying to do.

    #106255
    amoss
    Participant

    This help get you started?
    http://jsfiddle.net/jamygolden/Ctv6N/

    #106479

    Ya I understand that it’s easier when you can see code. I was just looking for any general suggestions that would help me create a slide animation for an element. And to have that animation occur on page load. The reason I didn’t post any code to the project is because its for my internship (still in school) at the place I work at. Its a small design/print shop and the owner is paranoid about people “stealing” from his “company” on the internet. I also kinda hate the website :p so I was slightly embarrassed to show this particular project. LOL

    I did come up with a solution though. I used CSS Transition in combination with a short document.ready function. It worked out well enough.

    I’ll take a look at the code you posted amoss. Looks like a another good solution and an alternative to CSS transitions.

    Thanks for the input!

    Aaron

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.