Title: Javascript scrollbar problem
Last modified: August 19, 2016

---

# Javascript scrollbar problem

 *  [lawrencehomewood](https://wordpress.org/support/users/lawrencehomewood/)
 * (@lawrencehomewood)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/javascript-scrollbar-problem/)
 * Hello.
 * I’m struggling with a problem I’ve found trying to use a javascript scrollbar
   in a wordpress theme that I recently designed. It works fine in a HTML document,
   but as soon and I split the file into the WordPress theme php documents, it doesn’t
   work.
 * I just want to say that I am in no way a developer! I am comfortably with HTML&
   CSS but php and javascript is very much new to me.
 *     ```
       <html xmlns="http://www.w3.org/1999/xhtml">
       <head>
       <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
       <title>Portfolio &laquo;  Natasha Heasman</title>
       <link href="http://localhost:8888/wordpress/wp-content/themes/tasha_pratice/style.css" rel="stylesheet" type="text/css" />
       <script type="text/javascript" src="scripts/jquery-1.2.6.min.js"></script>
       		<script type="text/javascript" src="scripts/jquery.mousewheel.js"></script>
       		<script type="text/javascript" src="scripts/jScrollPane.js"></script>
       		<style type="text/css">
   
       			#pane3 {
       				height: 400px;
       			}
   
       			/* IE SPECIFIC HACKED STYLES */
       			* html .osX .jScrollPaneDragBottom {
       				bottom: -1px;
       			}
       			/* /IE SPECIFIC HACKED STYLES */
       		</style>
   
       		<script type="text/javascript">
   
       			$(function()
       			{
       				// this initialises the demo scollpanes on the page.
       				$('#pane3').jScrollPane();
       			});
       			</script>
       </head>
       <body>
       <div id="wrapper">
   
       <!--/header -->
       ```
   
 * Above is my code, I inserted the script tags into my header.php file, because
   I assumed that it would match my html layout.
 * Any help would be much appreciated.
 * Thanks,
 * Lawrence.

Viewing 1 replies (of 1 total)

 *  [jantine](https://wordpress.org/support/users/jantine/)
 * (@jantine)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/javascript-scrollbar-problem/#post-1285792)
 * Same problem here! Did you already solve this?

Viewing 1 replies (of 1 total)

The topic ‘Javascript scrollbar problem’ is closed to new replies.

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [jantine](https://wordpress.org/support/users/jantine/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/javascript-scrollbar-problem/#post-1285792)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
