Javacript Scroller (NOT DHTML)

This is a discussion on "Javacript Scroller (NOT DHTML)" within the JavaScript Forum section. This forum, and the thread "Javacript Scroller (NOT DHTML) are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 22nd, 2003, 12:08
Junior Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Javacript Scroller (NOT DHTML)

Hi Guys

Trying to find a non DHTML way of having text on a screen as news, and have two buttons when u cover over down wil lscroll down, up for up etc and can put it into the table i want it to go in. I dont want to use layers....

Many thanks.

  #2 (permalink)  
Old Aug 22nd, 2003, 13:13
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
http://www.google.co.uk/search?num=1...a+ticker&meta=
  #3 (permalink)  
Old Aug 22nd, 2003, 13:15
vor vor is offline
Junior Member
Join Date: Aug 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Well, I kinda dont get what you want.. But U want a scroller without Layers.

The only Idea I can come up with is using an iFrame and have javascript changing the scrollbar position at an interval. Look into that. And I believe the function to change a scrollbar position is window.scrollby(x,y). I did play around with trying to make a iframe scroll before but never finished it. Later tonight I'll try to post whatever I have. Might be a good start.

Or u can go smokies way and just use a JavaApplet.
For some reason I dont like applets.
  #4 (permalink)  
Old Aug 22nd, 2003, 13:34
Junior Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Noo not what i'm looking for....

Liek this example but just two arrows, upo and down but in javascript not flash

http://www.flashkit.com/movies/Scrip...dex.php?chk=no
  #5 (permalink)  
Old Aug 22nd, 2003, 13:49
vor vor is offline
Junior Member
Join Date: Aug 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Well. You Can have an Iframe without a scrollbars, Then code 2 buttons to scrollup and down the iframe. Thats what I was talking about in my last post.

BTW... When Javascript Interacts with HTML, its called DHTML. So no matter what, youd using DHTML. People tend to think that DHTML is layers, but it isn't. Image RollOvers are DHTML, cause Javascript is Dynamicly Changing the HTML image tags. Hehe.
  #6 (permalink)  
Old Aug 22nd, 2003, 15:49
Anonymous User
Guest
Posts: n/a
Okay. Perfect solution for you. FLASH! If you want a non-dhtml, non-layered version, then use flash. Otherwise, Vor's suggestion will work, but I think it is not the right direction. What is the reason behind no layers?
  #7 (permalink)  
Old Aug 22nd, 2003, 16:03
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Except he wanted, in his own words, Javascript, not flash!!

An Iframe still sounds like the best bet to me, so I agree with Vor here. I'd also be interested to know why you don't want to use layers?
  #8 (permalink)  
Old Aug 22nd, 2003, 20:16
Anonymous User
Guest
Posts: n/a
Opps, missed his second post when I wrote mine.
  #9 (permalink)  
Old Aug 24th, 2003, 13:03
Junior Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Cause layers suck... need i say more...

Just want a piece of script that have two buttons and up and down and when u press them the text move up and down in a table i have designated, with a grey background and white text. www.theplymouths.com/plymouths.asp

It will be the same as the news bit but will be able to scroll down fluidly for past news....

Any ideas or a site to grab the code from?
  #10 (permalink)  
Old Aug 24th, 2003, 20:58
Anonymous User
Guest
Posts: n/a
Why not just use a text area form field. Make it read only, and use CSS to make it look the way you want. Then you get scroll bars, without the need for java wich makes it easier for users to use. I have done this in the past, and with CSS you can make it look borderless, etc.

Would this work?
  #11 (permalink)  
Old Aug 26th, 2003, 22:24
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
I know that I am a Newbie when it comes to webdesign, but I do know what you are looking for. This little script will be all you need to do what you are talking about doing, at least I think. If not, then check out www.dynamicdrive.com for more listings. But this one is the only Java I think will be even close to what you are trying to accomplish.


<div style="background-color:#FFFFDD;width:155px"><center>Down Up
Stop Top</center>
</div>

<SCRIPT language="JavaScript1.2">

Of course, you will need to replace the text with actual pictures.

I hope this helps
  #12 (permalink)  
Old Aug 26th, 2003, 22:30
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
That method uses <DIV> tags, which create layers, which therussian is trying to avoid.
  #13 (permalink)  
Old Aug 27th, 2003, 03:27
Highly Reputable Member
Join Date: Aug 2003
Location: Australia
Posts: 662
Thanks: 0
Thanked 0 Times in 0 Posts
Yes, but if he doesnt have to do the actual coding, I dont think he would mind. That is what I was thinking about when I found it, anyways, the site is a good one. He should be able to find something there. I know that it uses division tags, but how else are you going to insert images where you want them? the only way I know possible is by usning flash. Flash is the way to go, but since you dont want that either, than I am sorry. If the problem is that you can't make flash, then get someone to make it for you. Somoene should be nice enought to help you out, but if you dont want Flash at all, then I dont know what to tell you, sorry.

Wade
  #14 (permalink)  
Old Aug 27th, 2003, 05:37
Anonymous User
Guest
Posts: n/a
I still say just use a textarea tag. :-) Scroll bars, and no java or layers needed.. Can be as big as you want. Even feed from a database if you want..
  #15 (permalink)  
Old Sep 27th, 2003, 14:49
Reputable Member
Join Date: Aug 2003
Location: Singapore
Posts: 321
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to gwx03
stephen... as in text area ... do you mean something like the scrollable thing at this page

http://chuckini3.mysitespacepro.com/

i was thinking of that all along; since the user was going 2 scroll; unless of course, it auto scrolls itself
  #16 (permalink)  
Old Sep 27th, 2003, 15:04
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Why are you responding to these old threads?? I value your appreciation of the forums and the posts you are making, but many of these are old topics...
  #17 (permalink)  
Old Sep 27th, 2003, 17:51
Anonymous User
Guest
Posts: n/a
How else will he get a star!
  #18 (permalink)  
Old Sep 27th, 2003, 20:58
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Stephen, I seem to recall you deleting "pointless" posts in the past? Does the same not apply here?
  #19 (permalink)  
Old Sep 28th, 2003, 07:16
Anonymous User
Guest
Posts: n/a
:mad:Jeesh...fine!

:wink:
Closed Thread

Tags
javacript, scroller, dhtml

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
RSS News Feed Auto Scroller ?? slimboyfatz32 JavaScript Forum 1 May 28th, 2008 22:57
scroller issue.. please help.. Perfection Studios Flash & Multimedia Forum 10 Oct 1st, 2006 04:18
News Scroller sobiaa JavaScript Forum 1 Dec 1st, 2005 11:59
dhtml scroller script help please!! matscott JavaScript Forum 4 Apr 13th, 2004 11:31
DHTML news scroller Rob JavaScript Forum 7 Aug 21st, 2003 16:02


All times are GMT. The time now is 22:19.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43