Graphic Design Forum and Web Design Forum  

Go Back   Graphic Design Forum and Web Design Forum »Web Design Forum »Programming Forum

Notices

Programming Forum Web and Software Programming Forum - Java, PHP, SQL etc.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-05-2008, 10:49 AM
weremoose's Avatar
Junior Member
 
Join Date: Apr 2008
Location: Greece
Posts: 15
Default js horizontal scroller

Hello,

I'm working on a project and I need to find a script that will allow me to scroll a div in my page horizontally when I hover two "left and right" buttons.
I know about "the horizontal way" site, it has a really good template I can use (and I will eventually if I don't find the exact thing I am looking for).
The problem is that by using "THW" template I will have a scrolling bar at the bottom of my browser window, and I don't want to. I want it to be nice and clean, so I searched a little and I found this script, which is exactly what I am looking for, but it's vertical...
Any suggestions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!RSS Share on Facebook Share This Article & VoteForum Netvibes Page
Reply With Quote
  #2 (permalink)  
Old 11-05-2008, 10:54 AM
Toon's Avatar
Netvibes is an Addiction™
 
Join Date: Jan 2007
Location: Sheffield, UK
Posts: 15,728
Default

Could you use something like this (the 2nd option down)

Horizontal Scrolling
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!RSS Share on Facebook Share This Article & VoteForum Netvibes Page
Reply With Quote
  #3 (permalink)  
Old 11-05-2008, 10:58 AM
Toon's Avatar
Netvibes is an Addiction™
 
Join Date: Jan 2007
Location: Sheffield, UK
Posts: 15,728
Default

Could this be another option?

Untitled Document
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!RSS Share on Facebook Share This Article & VoteForum Netvibes Page
Reply With Quote
  #4 (permalink)  
Old 11-05-2008, 10:59 AM
Toon's Avatar
Netvibes is an Addiction™
 
Join Date: Jan 2007
Location: Sheffield, UK
Posts: 15,728
Default

Also another mootools version

Lakakkula, Narasimha Rao's Personal Website
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!RSS Share on Facebook Share This Article & VoteForum Netvibes Page
Reply With Quote
  #5 (permalink)  
Old 11-05-2008, 12:09 PM
weremoose's Avatar
Junior Member
 
Join Date: Apr 2008
Location: Greece
Posts: 15
Default

The first is the one I was searching for... now the second one is another very interesting option. I would like to experiment with both of them and see the result before choosing.
I can't find where I can download the scripts for the second one, I'll have a closer look...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!RSS Share on Facebook Share This Article & VoteForum Netvibes Page
Reply With Quote
  #6 (permalink)  
Old 11-05-2008, 12:10 PM
weremoose's Avatar
Junior Member
 
Join Date: Apr 2008
Location: Greece
Posts: 15
Default

ThankS!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!RSS Share on Facebook Share This Article & VoteForum Netvibes Page
Reply With Quote
  #8 (permalink)  
Old 11-05-2008, 12:18 PM
weremoose's Avatar
Junior Member
 
Join Date: Apr 2008
Location: Greece
Posts: 15
Default

Well, I have another question to ask...

Let's say that I have found a script I would like to use, like for example those above, if a script uses a javascript library like jquery or mootools or whatever do I need to download and use the library too? What exactly do I need to do? Pardon me if I am asking stupid questions, I'm new to java programming but I would like to start using java and maybe some day write some code myself...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!RSS Share on Facebook Share This Article & VoteForum Netvibes Page
Reply With Quote
  #9 (permalink)  
Old 11-05-2008, 12:25 PM
Toon's Avatar
Netvibes is an Addiction™
 
Join Date: Jan 2007
Location: Sheffield, UK
Posts: 15,728
Default

Mootools construct the script that you need for each application, you can download it directly from the site using it I guess

http://woork.bravehost.com/mootoolsS...ootools.svn.js

PHP Code:
<script type="text/javascript">
        
window.addEvent('domready', function(){
            var 
scroll2 = new Scroller('container', {area100velocity1});
            
            
// container
            
$('container').addEvent('mouseover'scroll2.start.bind(scroll2));
            $(
'container').addEvent('mouseout'scroll2.stop.bind(scroll2));
        }); 
    
</script> 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!RSS Share on Facebook Share This Article & VoteForum Netvibes Page
Reply With Quote
  #10 (permalink)  
Old 11-05-2008, 12:33 PM
tommylogic's Avatar
Markup Validation Nazi
 
Join Date: Apr 2007
Location: USA
Posts: 3,538
Default

mootools demos - Getting started using the demos
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!RSS Share on Facebook Share This Article & VoteForum Netvibes Page
Reply With Quote
Reply


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 On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apple TV style Flash Image Scroller lolly Flash Forum 1 25-04-2008 06:33 PM
Google Adsense Scroller Toon Search Engines 4 06-03-2008 07:14 PM
Google Adsense Scroller Graphic Design Links Graphic Design Links 0 14-12-2007 12:10 PM


All times are GMT. The time now is 09:58 AM.