Hello, first of all sorry if my english is no to good. I have everything working perfect, but i want to change the scroll bar and put an image instead of the blue rectangle.
Iīve put "background-image: url(xxx.png); background-repeat:no-repeat" inside the Style tag in the contentThumb Div and deleted the background-color: #99CCFF. That work grate and image apears instead of the blue rectangle.
The problem is that when i scroll down, the image doesnīt get to the end of the bar. Any ideas on how can i fix this problem??? Thanx
2) Angus TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 203.173.--.--
Posted:
Why no-repeat? I'd make a vertically repeating background image inside the bar, as it resizes with the default settings.
- Angus.
3) GonzaloGroup: Guests IP: 190.134.--.--
Posted:
Thanks for the reply The problem is that i donīt want a background image inside the bar that resizes. I want a little circle that stay the same size always. But i fixed that problem by changing the "this.minThmHeight = 20" and "this.maxThmHeight = 9999" to the size of my circle. That way the circle stays always the same size and get to the end of the bar.
Now i have another problem. Everything work prerfect but in some places i use the "accordion" from the ajax control toolkit. The problem is that when i put the accordion inside the scroller it doesnīt work well. In explorer work perfect, in safari work ok (it doesnīt scroll with the mouse wheel) but in firefox work bad. I donīt know exactly how to explain it. It scroll well but the info in the accordion sometimes appears outside the scrolleable area.
Did you hear something about this problem??
4) Angus TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 203.173.--.--
Posted:
Putting scripts inside the scroller is very, very hard, as content is loaded via hidden frames and script will be run twice. I would seriously advise not doing it. You can always overlay the accordion on the scroller content in its own DIV or similar, otherwise.
- Angus.
5) GonzaloGroup: Guests IP: 190.134.--.--
Posted:
Thanks for the reply, I will try that.
One last thing, Iīm using aspx masterpages on my site so the code for positioning the scrolleable content is in the masterpage. But not all the pages have a scroll. Only a couple. The problem i have is that with I. Explorer, in the pages that doesnīt have the scroll, appears "error on page". "bar.ref is null or not an object" . The solution for that could be putting the code in each page that nead it instead of putting it in the master. The problem is that the code should be inside the <head> but my pages (contenPages), beacuse they are childs of the master, doesnīt have a head area. Is there a way of putting the code on each page that require the code instead of putting the code in the master???
6) GonzaloGroup: Guests IP: 190.134.--.--
Posted:
Never mind It was really easy. All i have to do is to put the script in each content page instead of in the master. Thanks for everything