User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 391,864 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,613 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 7737 | Replies: 2
Reply
Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Rep Power: 4
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

scrolling div ?

  #1  
May 15th, 2005
OK..... I have a site/page template I've made.... looks good!

Set the height and set overflow in CSS so I get scroll bars if JS is disabled....
yet the boss wants a method of using icons to scroll up/down without scrollbars...... seen it on several sites..... found sample code.... hacked about with several different ideas.....

Keep hitting the same problems.........either it's not compatable with Netscape, or the code works out to be around 5 kb+.... which is far to high!
((esp. when you have the JS to make IE have minwidth and a rather cool JS menu which site over the normal nav system..... the js is getting to be around X2 the size of the page and the graphics and the content!))

So, does any one of a simple, easy and "small" JS that will let me scroll up and down in a div - using mouseover two images?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Posts: 1,589
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 34
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: scrolling div ?

  #2  
May 16th, 2005
I don't... that's what scrollbars are for!

I know you want an actual answer, not a lecture. Look at the "scrollTo" method, that should get you started.

However, consider that you are replicating a function that already exists and that users expect. When you take away something that a user expects, and replace it with something that isn't immediately obvious or more useful, you create a negative user experience.
Reply With Quote  
Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Rep Power: 4
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

Re: scrolling div ?

  #3  
May 17th, 2005
OK.... you'll do fine to take my edge off today!
Thank you for volounteering....


1) CLEARLY stated ..."Boss wants".
2) It's an additional element... if JS is disabled, then they get the accepted/expected norm.
3) The sites you build have white Bg, black Txt, no images and use pure html 1.1 with tags that are completely depreciated?
4) So... you live in a tree, get wet when it rains, get cold when it's cold, hot when it's hot, walk to work, carry your shoipping home without the use of bags or other transportation etc..... What do you mean NO!?
People do different things all the time.... thats one of the wonders of the web.
I'm inclined to agree with you to some extent... but this is what I've been asked to do, so this is what I shall do!

So, care to contribute?

Please dson't take offence... yet I don't ram convention down peoples throatsm so please have the same courtesy.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 6:42 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC