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.
|
|
|
|
|
![]() |
||
Javacript Scroller (NOT DHTML)
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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. |
|
|
|
|||
|
|
|
|||
|
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. |
|
|||
|
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 |
|
|||
|
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. |
|
|||
|
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? |
|
|||
|
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? |
|
||||
|
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? |
|
|||
|
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 |
|
|||
|
That method uses <DIV> tags, which create layers, which therussian is trying to avoid.
|
|
|||
|
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 |
|
||||
|
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..
|
|
|||
|
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 |
|
|||
|
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...
|
|
|||
|
Stephen, I seem to recall you deleting "pointless" posts in the past? Does the same not apply here?
|
![]() |
| Tags |
| javacript, scroller, dhtml |
| Thread Tools | |
|
|
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 |