PDA

View Full Version : Stuck trying to get these java scroll bars working...



The Divide
07-06-2007, 11:17 PM
Im working on a website for our audio production work and have been stuck with these bloody scroll bars for a couple of days. I do have a working example...

http://www.stereofarm.co.uk/tester/

if you click web.html

The page im trying to implement it into is....

http://www.stereofarm.co.uk/news.html

Im guessing its the something to do with the script and linking to the flexcroll.js file. Im tried dropping the flexcroll.js file all over the place, with the CSS. In the root, in with html files. Also I have cut and pasted the scrollstyle.css info into our main.css. It seems to work, well the css part but those scrollers are still nowhere to be seen

Im guessing its the other java which is ****ing it up, dont know. The nav bar is kinda java and the movie player uses some. This is all put into the .dwt template but not sure if its put in the right order, etc.

<script language="JavaScript" type="text/JavaScript">
<script type='text/javascript' src="flexcroll.js"></script>
<script type='text/javascript'>

Theres 2 of us working on this site with really limited web design skills. Happy with everything else so far tho. This has been a nightmare. To find these kind of scollers check...

http://www.hesido.com/web.php?page=customscrollbar

Ide email them but they say they are not for commercial use

The Divide
08-06-2007, 12:05 AM
<style type=text/css>
div#content {
width: 200px;
height: 200px;
overflow: scroll;
scrollbar-3dlight-color:CCCCCC;
scrollbar-shadow-color:999999;
scrollbar-face-color:FFFFFF;
scrollbar-darkshadow-color:333333;
scrollbar-track-color:FFFFFF;
scrollbar-arrow-color:000000;
scrollbar-highlight-color:333333;
}

</style>
...

Barely Human
09-06-2007, 09:34 AM
Seams to work for me dude.

The Divide
11-06-2007, 12:50 AM
It should be a really abstract scroll bar like this tho...

http://www.stereofarm.co.uk/tester/web.html

theledge
11-06-2007, 09:20 AM
erm might be completely wrong about this but in your page try changing <div id="mycustomscroll"> to <div id="content">. that would make it respond to the stylesheet youve posted above.

failing that im not sure, javascript is a nightmare! :laughing: you should be able to get pretty much the same effect just with css though, might be worth looking into...

The Divide
11-06-2007, 09:19 PM
Its up now, well the java one is..

http://www.stereofarm.co.uk/HTML_files/news.html

Just need to implement the code to change the secondary html bars and its snorted

The Divide
11-06-2007, 09:56 PM
cheers

flexdude
02-07-2007, 07:22 PM
Hi, the divide..

fleXcroll is a commercial script, but it is free only for non-commercial websites. Your site should do fine without the use of fleXcroll, you do not need it, but if you really need to use it, please be kind and buy a commercial license.

If you do not have the money:
a) you can ask for a temporary license that will be valid for e.g. 6 months and pay the 30 usd single website license fee when you can earn that kind of money.
b) remove fleXcroll from your site and try looking for free alternatives to the script.
c) Just stop playing with your scrollbars all together, your website is fine without them.

The license text in the script *explicitly* states that the license text should not be removed, but I am afraid you have done so.
This is the script on your site:
http://www.stereofarm.co.uk/style_sheet/flexcroll.js

And this is how it should look like:
http://www.hesido.com/web/flexcroll.js

You have a studio that tries to earn its finances using intellectual properties, I wish you paid a bit more attention to other people's intellectual properties.

278d7e64a374de26f==