Old 04-20-2006   #1 (permalink)
A$s On Fiyah
 
ecntrc's Avatar
 
Join Date: May 2005
Location: Ewa Beach, Hawaii
Posts: 601

Send a message via Yahoo to ecntrc
Scrollbar, making it a gradient?

Is there anyway to make the scroll bar's background a gradient to match my background?
__________________
google is my lover, whos yours?

Last edited by ecntrc; 04-20-2006 at 09:35 AM.
ecntrc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-20-2006   #2 (permalink)
Recursively call who?
 
GoldNetX's Avatar
 
Join Date: Nov 2003
Location: Pittsburgh, PA
Posts: 294

Send a message via AIM to GoldNetX
As far as I know, I don't think there is. I think you can only make scrollbar parts static colors. But remember that the scrollbar colors are not part of CSS standards, they will not appear on all browsers.
__________________

www.gusmayo.com
- Maybe a story or two -


www.jaloobie.com
... your new home ...

www.webinkproductions.com
- professional web application design -
GoldNetX is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-20-2006   #3 (permalink)
Registered User
 
Join Date: Apr 2005
Location: antwerp, belgium
Posts: 51

not sure but maybe this might help

it should make the scrollbar transparent, only works with IE, like all scrollbar modifications

http://www.la-soldier.net/Graphics/Tutor/transscr.htm
http://www.somethingleet.com/forum/a...ticle&artid=61
http://www.xentrik.net/css/scrollbars.php
__________________
sneeuwbal is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-20-2006   #4 (permalink)
A$s On Fiyah
 
ecntrc's Avatar
 
Join Date: May 2005
Location: Ewa Beach, Hawaii
Posts: 601

Send a message via Yahoo to ecntrc
what about those scroll bars that if you hover over the arrow or something like that.. how would i do a search on that? you know those type of scroll bars. my scrollbars dont look good.
__________________
google is my lover, whos yours?
ecntrc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-21-2006   #5 (permalink)
code anyone?
 
scrowler's Avatar
 
Join Date: Feb 2004
Location: New Zealand
Posts: 590

Send a message via MSN to scrowler Send a message via Skype™ to scrowler
you could if your website is made in flash (i don't recommend it) otherwise i don't think this is possible.
__________________
BioRUST Tutorials - the birthplace
scrowler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-21-2006   #6 (permalink)
A$s On Fiyah
 
ecntrc's Avatar
 
Join Date: May 2005
Location: Ewa Beach, Hawaii
Posts: 601

Send a message via Yahoo to ecntrc
thanks.. you can close this one..
__________________
google is my lover, whos yours?
ecntrc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-21-2006   #7 (permalink)
Registered User
 
Join Date: Apr 2005
Location: antwerp, belgium
Posts: 51

Code:
<script type="text/javascript">
/*************************************************************************
  This code is from Dynamic Web Coding at http://www.dyn-web.com/
  See Terms of Use at http://www.dyn-web.com/bus/terms.html
  regarding conditions under which you may use this code.
  This notice must be retained in the code as is!
*************************************************************************/

var timer_id;
function scroll_iframe(frm,inc,dir) {
  if (timer_id) clearTimeout(timer_id);
  if (window.frames[frm]) {
    if (dir == "v") window.frames[frm].scrollBy(0, inc);
    else window.frames[frm].scrollBy(inc, 0);
    timer_id = setTimeout("scroll_iframe('" + frm + "'," + inc + ",'" + dir + "')", 20);
  }
}

function stopScroll() { if (timer_id) clearTimeout(timer_id); }
</script>




<a href="javascript:;" onMouseDown="scroll_iframe('content', -8, 'v'); window.status='click here to go down.'; return true" onMouseUp="stopScroll(); window.status=''; return true">
<a href="javascript:;" onMouseDown="scroll_iframe('content', 8, 'v'); window.status='click here to go down.'; return true" onMouseUp="stopScroll(); window.status=''; return true">
it uses 2 images to scroll a page, almost everything you do in flash can also be done using javascript
__________________
sneeuwbal is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-21-2006   #8 (permalink)
A$s On Fiyah
 
ecntrc's Avatar
 
Join Date: May 2005
Location: Ewa Beach, Hawaii
Posts: 601

Send a message via Yahoo to ecntrc
Quote:
Originally Posted by sneeuwbal
Code:
<script type="text/javascript">
/*************************************************************************
  This code is from Dynamic Web Coding at http://www.dyn-web.com/
  See Terms of Use at http://www.dyn-web.com/bus/terms.html
  regarding conditions under which you may use this code.
  This notice must be retained in the code as is!
*************************************************************************/

var timer_id;
function scroll_iframe(frm,inc,dir) {
  if (timer_id) clearTimeout(timer_id);
  if (window.frames[frm]) {
    if (dir == "v") window.frames[frm].scrollBy(0, inc);
    else window.frames[frm].scrollBy(inc, 0);
    timer_id = setTimeout("scroll_iframe('" + frm + "'," + inc + ",'" + dir + "')", 20);
  }
}

function stopScroll() { if (timer_id) clearTimeout(timer_id); }
</script>




<a href="javascript:;" onMouseDown="scroll_iframe('content', -8, 'v'); window.status='click here to go down.'; return true" onMouseUp="stopScroll(); window.status=''; return true">
<a href="javascript:;" onMouseDown="scroll_iframe('content', 8, 'v'); window.status='click here to go down.'; return true" onMouseUp="stopScroll(); window.status=''; return true">
it uses 2 images to scroll a page, almost everything you do in flash can also be done using javascript
does this go in the head? do you have the link of the exact script you looked at?
__________________
google is my lover, whos yours?
ecntrc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-21-2006   #9 (permalink)
Registered User
 
Join Date: Apr 2005
Location: antwerp, belgium
Posts: 51

http://www.arawndesigns.com

the code is used there for the iframe
just view the source-code
__________________
sneeuwbal is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 04-23-2006   #10 (permalink)
XM 42: XMLM ROCKS!
 
xPlozion's Avatar
 
Join Date: Apr 2006
Location: Delaware
Posts: 8

the script would go in the head. the links and such would go in the body.

just one thing to think about. not everybody likes having javascript enabled for certain reasons. don't forget about them. if possible, set the content (iframe, div, w/e) with javascript, so those without javascript enabled can still see the whole site.

also, i would rather go with a div than an iframe for the simple fact that divs are much cooler than iframes, and if you can learn ajax (if not already), than it would make your site just that much cooler
xPlozion is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 05-02-2006   #11 (permalink)
robin
 
robin746's Avatar
 
Join Date: May 2006
Location: Eire
Posts: 48

I would recommend that you don't for several reasons
* hard to get right
* not portable across browsers
* can add greatly to memory consumption
* can introduce flicker artifacts and the like
* increases page weight

Design is about compromise. Web interfaces are not pixel-perfect and you might go mad trying.
__________________
"out of environment space"
robin746 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a room? killmr Blender 3D 4 01-09-2006 08:00 PM
making moving spotlights LimitLess Flash & Dynamic Media 0 08-06-2005 11:27 PM
Help: Making images links (it isn't what you think...read) kp606-Epsilon Adobe Photoshop 2 07-15-2004 02:14 PM
Flash site making YeYeR00 Flash & Dynamic Media 2 06-14-2004 11:41 PM
CSS Gradient??? malboroman HTML / PHP / ASP / JS 4 05-20-2004 10:48 AM


All times are GMT +1. The time now is 09:34 AM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT