-
Hello!
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 https://wordpress.org/extend/plugins/use-google-libraries/.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. :)
Thanks!
DavidSorry, 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.
-
Support time:
Usually 4-8 hrs / might get up to 48 hrsSupport Us
If you are satisfied with our themes & support you can motivate us even more by supporting us (via Paypal).
Themes Support
- General 42
- Qusq Lite 9
- Qusq Pro 110
- Qusq HTML 12
- Ofis WP 0
- Hedy WP 27
- Wildster WP 41
- Tayp WP 44
- TinyShop WP 27
- Freelo WP 80
- Inverto WP 86
- Kreo WP 101
- Kopy WP 205
- Multicorp WP 194
- NO8 WP 266
- Leepho WP 46
- Boldial WP 1,119
- Minicorp WP 470
- Nalleto WP 152
- Zimney WP 10
- Creolio WP 76
Our Themes