collapse

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Who's Online

  • Dot Guests: 73
  • Dot Hidden: 0
  • Dot Users: 2
  • Dot Users Online:

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • ArsenArsen: When i make them
    August 19, 2014, 12:20:20 AM
  • ArsenArsen: I had some mod ideas, i will put them.
    August 19, 2014, 12:19:45 AM
  • [SiNaN]: We could, but it's there as a reminder of some kind, that we should fill it in, somehow.
    August 18, 2014, 09:57:14 PM
  • Mstcool: Y don't u guys remove the customization section since it has no files?
    August 17, 2014, 10:27:28 PM
  • ArsenArsen: Ok, Great!
    August 15, 2014, 03:13:18 PM
  • [SiNaN]: We have the translators' names listed in the downloads area.
    August 15, 2014, 03:05:39 PM
  • ArsenArsen: Never Mind, i wont, noone did.
    August 15, 2014, 02:22:32 PM
  • ArsenArsen: Can i put mz name on translation
    August 15, 2014, 02:21:06 PM
  • [SiNaN]: You can only change your forum profile options once you have 5 posts. I have made an exception for Translator group though, so you should be able to do it now.
    August 13, 2014, 03:32:17 PM
  • ArsenArsen: Cant find where to change avatar
    August 13, 2014, 03:12:38 PM
  • ArsenArsen: Ok
    August 11, 2014, 05:17:55 AM
  • Underdog: there is a documentation link on your top-right
    August 10, 2014, 08:48:45 PM
  • ArsenArsen: What to use for docs? This is NoT SP support question.
    August 10, 2014, 02:55:55 PM
  • Ron-KK4HGY: Hello all!
    August 06, 2014, 03:22:50 PM
  • USFA: tada
    August 04, 2014, 09:49:45 PM
  • BCNPalomino: lol, that search doe :O
    July 18, 2014, 09:26:27 AM
  • RohailPro23: hi all
    July 18, 2014, 08:09:00 AM
  • samborabora: sorry, thought this was search, lol
    June 29, 2014, 04:45:12 AM
  • samborabora: sp_embed_image
    June 29, 2014, 04:45:01 AM
  • stanyy: Was it merely correcting the mistake made in 2.0.7 or is 2.0.8 actually faster than 2.0.6?
    June 20, 2014, 07:51:21 AM

* Team Blog

* Recent Posts

If you're interested in helping other members with support requests, consider joining the Community Support Helpers group.

Author Topic: Responsive design  (Read 3115 times)

0 Members and 1 Guest are viewing this topic.

Offline Petter

  • Jr. Member
  • **
  • Posts: 51
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Responsive design
« on: November 07, 2012, 01:45:43 AM »

I think website design is moving towards responsive design, instead of separate mobile skins.

Is it possible to make the left/right side blocks disappear at small window sizes?


At http://www.blocweb.net/ the Online-block at the right side is moving to the bottom of the page, which is a nice solution, but it would also be OK if it just disappeared.

Offline Petter

  • Jr. Member
  • **
  • Posts: 51
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: Responsive design
« Reply #1 on: November 23, 2012, 01:21:14 AM »
Maybe I need to express myself clearer: Is there a way to make the side columns collapse automatically at small window sizes? Or when using mobile phones.

Offline phantomm

  • Support
  • *
  • Posts: 375
  • Gender: Male
  • Smile, tomorrow will be worse...
    • Polish ElkArte community
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Responsive design
« Reply #2 on: November 23, 2012, 02:40:35 AM »
well.. there could be way to use JavaScript to detect screen resolution and if detected dimensions are lower than **px x **px run:
Code: [Select]
$modSettings['showleft'] = '0';
$modSettings['showright'] = '0';

I remember that I tried to make something with JS screen resolution detection, but it never worked as it should... Maybe someone else can help more

I'm sure that there is better way to deal with this than disabling blocks :E

Offline Petter

  • Jr. Member
  • **
  • Posts: 51
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: Responsive design
« Reply #3 on: November 26, 2012, 04:17:48 AM »
Thank you, it seems like a good way to fix it. I hope someone can help me with the javascript-thing, I´m not a programmer...

Maybe this could be a built in feature in a future release of SP?

Offline AngelinaBelle

  • Support
  • *
  • Posts: 4885
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Responsive design
« Reply #4 on: February 05, 2013, 02:57:12 PM »
That is a good feature request.  For now, I think it would be good to do this as a mod.

Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline Petter

  • Jr. Member
  • **
  • Posts: 51
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: Responsive design
« Reply #5 on: February 06, 2013, 12:17:43 AM »
That is a good feature request.


I´m glad to hear that.  :nervous-happy:


well.. there could be way to use JavaScript to detect screen resolution and if detected dimensions are lower than **px x **px run:
Code: [Select]
$modSettings['showleft'] = '0';
$modSettings['showright'] = '0';

I remember that I tried to make something with JS screen resolution detection, but it never worked as it should... Maybe someone else can help more

I'm sure that there is better way to deal with this than disabling blocks :E


Anyone else who knows how to do this?

Offline AngelinaBelle

  • Support
  • *
  • Posts: 4885
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Responsive design
« Reply #6 on: March 11, 2013, 01:39:04 PM »
You might ask about this in the customization board.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline Petter

  • Jr. Member
  • **
  • Posts: 51
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: Responsive design
« Reply #7 on: November 25, 2013, 04:02:10 AM »

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6467
  • The Amazing Coder!
  • SMF Version: 2.0.8
  • SP Version: 2.3.5
Re: Responsive design
« Reply #8 on: January 02, 2014, 04:44:02 PM »
I'll mark this one here solved then.
And slowly, you come to realize... It's all as it should be...