need to add two jquery scripts (draggable + scrollto)

  • Resolved
    Posted in: Minicorp WP  

  • Member
    March 12, 2014 at 4:41 pm #1966


    First of all, awesome theme! Will definitely recommend you :D
    Now my question: On one page, I have a div inside another div. The main div has the page content width, but the inside div has a very long horizontal length, so it shows a scrollbar.

    It looks like this
    —– wrapper div ———-
    | [inside div that goes…| ………x (position the user should see)….]

    Now I want to use jquery to load the inside div scroll at a fixed position, so the user does not have to scroll to right first to main part.

    I know I can do that with jquery, and furthermore I want to make the inside div draggable (by jquery again), instead of using the scrollbar.

    How do I add the two jquery scripts to a page?
    Can I just add the jquery script with wp_enqeue in the page or do I have to add some code to the functions.php?
    I also use the

    Sorry for the long text, but I would be super grateful if you could tell me what code to add where to make this work. :)


    Sorry, this forum is for verified users only. Please Login / Register to continue
    or get 6 months support forum access to all forum topics for a reduced price.

Comments are closed.