bannerBaka-UpdatesManga
Manga Poll
Do you prefer reading a completed or ongoing series?
I only read completed series
I prefer reading completed series but dabble in ongoing series
I don't care
I prefer reading ongoing series but dabble in completed series
I only read ongoing series
 
mascot
Manga is the Japanese equivalent of comics
with a unique style and following. Join the revolution! Read some manga today!

RSS Feed

This is Awesome

Pages (5[ 1 2 3 4 5 ] Next
You must be registered to post!
From User
Message Body
Post #491832 - Reply To (#491820) by Casey D. Geek
Post #491832 - Reply To (#491820) by Casey D. Geek
Nicotine addict
Member


14 years ago
Posts: 183

Quote from Casey D. Geek

Is making the browser autoscroll using JavaScript really that hard :?

No, it isn't. Depends on how "complicated" you want it to be, but it shouldn't take more than a few lines of code (maybe a function or two).

Nice find OP, looks interesting.


________________

"But why?"
"Because I can."

"OMFG, DON'T STAND IN THE FIRE!!!"

Post #491837 - Reply To (#491832) by Nidjo
Post #491837 - Reply To (#491832) by Nidjo
user avatar
Meh...
Member


14 years ago
Posts: 937

Quote from Nidjo

Quote from Casey D. Geek

Is making the browser autoscroll using JavaScript really that hard :?

No, it isn't. Depends on how "complicated" you want it to be, but it shouldn't take more than a few lines of code (maybe a function or two).

Nice find OP, looks interesting.

Isn't that what happens on this page? The browser autoscrolls from one point in the image to a second point in the image at a set speed, something similar to how gifs work.


________________

There are times when you will miss what you never had. I wonder how you will find what you so desperately need.

Nicotine addict
Member


14 years ago
Posts: 183

Yep, something like that. If the images have the same height (at least the "moving" ones) you can just call a function like window.ScrollBy(x,y) which will scroll x pixels horizontally and y pixels vertically. I'm no JS expert, just played around with the function a few times for fun but the effect is similar.


________________

"But why?"
"Because I can."

"OMFG, DON'T STAND IN THE FIRE!!!"

user avatar
Member


14 years ago
Posts: 113

Damn near wet myself shit lol.


________________
user avatar
Member


14 years ago
Posts: 138

Lol, I thought that my computer was being slow or something. Then I thought there was an advertisement in the middle of the page? (I'm stupid, I apologise.)

But yeah, it would be cool to see a translated webcomic that has animation xD


Post #491849 - Reply To (#491843) by Nidjo
Post #491849 - Reply To (#491843) by Nidjo
user avatar
Meh...
Member


14 years ago
Posts: 937

Quote from Nidjo

Yep, something like that. If the images have the same height (at least the "moving" ones) you can just call a function like window.ScrollBy(x,y) which will scroll x pixels horizontally and y pixels vertically. I'm no JS expert, just played around with the function a few times for fun but the effect is similar.

Thanks for explaining that one 🙂


________________

There are times when you will miss what you never had. I wonder how you will find what you so desperately need.

user avatar
Member


14 years ago
Posts: 67

I didn't think JS would have a function to scroll (but then again it can make the window jump around the screen and all that malicious crap, so why am I surprised?) I'm not a web developer, so I don't know these things. But what does strike me as odd is after I actually make a little dig at how nerdy I am, there's actual discussion on how to do it. This place is awesome.


________________
user avatar
Yaaawn
Member


14 years ago
Posts: 746

Haha, usually I'm pretty immune to getting scared, but this made me jump a bit


________________
Post #491857 - Reply To (#491851) by 166291
Post #491857 - Reply To (#491851) by 166291
user avatar
Meh...
Member


14 years ago
Posts: 937

Quote from 166291

I didn't think JS would have a function to scroll (but then again it can make the window jump around the screen and all that malicious crap, so why am I surprised?) I'm not a web developer, so I don't know these things. But what does strike me as odd is after I actually make a little dig at how nerdy I am, there's actual discussion on how to do it. This place is awesome.

Hey, nerds are everywhere. I'm one too, though I am pretty much a noob.


________________

There are times when you will miss what you never had. I wonder how you will find what you so desperately need.

Post #491861 - Reply To (#491857) by Casey D. Geek
Post #491861 - Reply To (#491857) by Casey D. Geek
user avatar
Member


14 years ago
Posts: 67

Quote from Casey D. Geek

Hey, nerds are everywhere. I'm one too, though I am pretty much a noob.

Ah. I just hang around the Unix and C++ crowds.


________________
user avatar
his and her sonnet
Member


14 years ago
Posts: 1127

Quote from Nidjo

Yep, something like that. If the images have the same height (at least the "moving" ones) you can just call a function like window.ScrollBy(x,y) which will scroll x pixels horizontally and y pixels vertically. I'm no JS expert, just played around with the function a few times for fun but the effect is similar.

as far as i know...there is a javascript autoscroll code but it would only allow you to scroll to the end or beginning of the page
and if you try to go back up it would keep scrolling down..i think...
i used to play around with html and js to make webpages and i tried getting the autoscroll thing but it was a drag


Post #491863 - Reply To (#491857) by Casey D. Geek
Post #491863 - Reply To (#491857) by Casey D. Geek
Nicotine addict
Member


14 years ago
Posts: 183

Quote from Casey D. Geek

Quote from 166291

I didn't think JS would have a function to scroll (but then again it can make the window jump around the screen and all that malicious crap, so why am I surprised?) I'm not a web developer, so I don't know these things. But what does strike me as odd is after I actually make a little dig at how nerdy I am, there's actual discussion on how to do it. This place is awesome.

Hey, nerds are everywhere. I'm one too, though I am pretty much a noob.

I'll stick with professional deformation (although nerd is also OK) 😛 You're welcome for the explanation, if you have some other questions you can ask, but through PMs cause I went way OT with it. 😉

EDIT: @sarah You'd be amazed what you can actually do with JS, my example was the most basic just so I could explain how it works. I'm sure they use a much more complicated script for that because it's never as easy as it seems when we're talking about programming. 😉


... Last edited by Nidjo 14 years ago
________________

"But why?"
"Because I can."

"OMFG, DON'T STAND IN THE FIRE!!!"

Post #491871 - Reply To (#491863) by Nidjo
Post #491871 - Reply To (#491863) by Nidjo
user avatar
Member


14 years ago
Posts: 67

Quote from Nidjo

I'll stick with professional deformation (although nerd is also OK) 😛

010001111?

Quote from Nidjo

@sarah You'd be amazed what you can actually do with JS, my example was the most basic just so I could explain how it works. I'm sure they use a much more complicated script for that because it's never as easy as it seems when we're talking about programming. 😉

Yeah, JavaScript does a lot of things it shouldn't be able to (in my humblest of opinions).


________________
user avatar
Viva la anarchy
Member


14 years ago
Posts: 111

oooosexi sexi
oooo
sexi....
..................oooo........................................................................................................I cummed

🙄


________________
user avatar
Member


14 years ago
Posts: 43

The creaking noise make it worse! Damn almost got a heart attack lol.


________________
Pages (5[ 1 2 3 4 5 ] Next
You must be registered to post!