Advertisement:

Author Topic: Grab scroll  (Read 13337 times)

Offline arjit

  • Newbie
  • *
  • Posts: 7
Grab scroll
« on: July 27, 2012, 08:21:41 AM »
Hi guys .I don't know if this  feature  has been requested before or not ,so sorry if it has .
 For some post's that may include jpg's as part of the post, that can be much wider than the current display setting so you can only view a part of the picture ,so you have to go down to the bottom of the message (which can be along way down if theres more than 1  picture in the post) to get to the sideways scroll bar ,and then after you have scrolled right you have to go back up to see the other side of the jpg .
It would be much much better if you could simply scroll a pic post left and right by left click grabbing and dragging .

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,499
  • Gender: Male
  • VC321xb47@aperture:~#
    • Yoshi2889 on GitHub
Re: Grab scroll
« Reply #1 on: July 27, 2012, 08:27:25 AM »
This is not something SMF has in control, sorry. Most browsers control this behavior.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Offline arjit

  • Newbie
  • *
  • Posts: 7
Re: Grab scroll
« Reply #2 on: July 27, 2012, 08:43:48 AM »
Ok thanks ,though I don't really understand why something like map's can grab scroll in  my browser but pic posts in forum cant be made to. ? But then i'm not a programmer :'(
    Is there  nothing at all that  I can do ?, change some browswer setting or something  ? .It  sucks big time .
The forums I am part of post alot of scans of circuit diagrams etc ,it makes it a real  pain having to open every picture in some other program so I can grab and scroll around.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Grab scroll
« Reply #3 on: July 27, 2012, 09:10:32 AM »
Something like this perhaps: http://manos.malihu.gr/jquery-image-panning


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,499
  • Gender: Male
  • VC321xb47@aperture:~#
    • Yoshi2889 on GitHub
Re: Grab scroll
« Reply #4 on: July 27, 2012, 09:59:51 AM »
Something like this perhaps: http://manos.malihu.gr/jquery-image-panning
That could do it, dunno if the OP wants it lik ethat :P

Ok thanks ,though I don't really understand why something like map's can grab scroll in  my browser but pic posts in forum cant be made to. ? But then i'm not a programmer :'(
    Is there  nothing at all that  I can do ?, change some browswer setting or something  ? .It  sucks big time .
The forums I am part of post alot of scans of circuit diagrams etc ,it makes it a real  pain having to open every picture in some other program so I can grab and scroll around.
Google Maps is developed by Google, all themselves. We haven't developed the images available ;)
We can't control the browser's behavior, except for workarounds.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

MrPhil

  • Guest
Re: Grab scroll
« Reply #5 on: July 27, 2012, 10:03:02 AM »
Can something like this go in the next major release (whatever is using jQuery)? It would be nice to have code blocks also be able to use this scrolling method. I don't recall running into this problem so much on SMF as on other forum software, but there's nothing more irritating than to have to scroll down to the bottom of a long code listing, scroll right, scroll back up and hope I didn't lose my place...

Some alternatives:
  • Tiny scroll buttons <- and -> repeated on the left and right margins, so you don't have to go down all the way to the bottom. This would not need jQuery, and could probably be done in Javascript.
  • An on-screen button to display an image (or code block) in a <div> that fits on the screen (say, 90% height and width) and has scroll bars. You wouldn't see much less than the full screen, and scroll bars would always be available. Use of a "lightbox" with scroll bars might show even more of the image.

Offline arjit

  • Newbie
  • *
  • Posts: 7
Re: Grab scroll
« Reply #6 on: July 27, 2012, 01:01:46 PM »
OK thanks guys after lots of research online I think I am sorted at least it is better now . I did not know  O:) you could use the num pad or arrow keys as a shortcut   to scroll horizontally .Apparently I had this feature disabled on my computer . O:)

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,423
  • Gender: Male
    • Kindred-999 on GitHub
Re: Grab scroll
« Reply #7 on: July 27, 2012, 01:15:02 PM »
Mr Phil...    I don't know about the themes that you are using, but the themes that I use already do that (place a div with its own scroll bar) around code and images...
I thought the default did so as well...
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Online Antechinus

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,444
  • Master of BBC Abuse
Re: Grab scroll
« Reply #8 on: July 27, 2012, 06:19:48 PM »
Phil: CSS3 resize FTW. It's already in the 2.1 code instead of the old max-height. At the moment it just says resize: vertical; but there's no real reason why it couldn't say resize: both;

Wont work in Opera or IE of course..................

It would be possible to use jQuery to resize code blocks for retarded browsers, if someone is into coding that. It would be best to not echo it for every browser, since Webkit and Gecko already handle this very well and javascript would just get in the way.

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: Grab scroll
« Reply #9 on: July 27, 2012, 06:22:56 PM »
Wont work in Opera
Then it's not valid mark-up or css! :P


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Online Antechinus

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,444
  • Master of BBC Abuse
Re: Grab scroll
« Reply #10 on: July 27, 2012, 06:33:11 PM »
Is so. :P

Anyway, why would you name a browser after fat people in daft costumes attempting to sound like a herd of cats? Says it all, really. :D

Offline JXDavise

  • Semi-Newbie
  • *
  • Posts: 13
  • Gender: Male
    • WordPress form plugin
Re: Grab scroll
« Reply #11 on: October 30, 2012, 06:17:49 AM »
Wont work in Opera
Then it's not valid mark-up or css! :P


Yes, I think so too .