collapse

* User Info

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

* Who's Online

  • Dot Guests: 60
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • Chen Zhen: newbies that post links are restricted until moderated due to spam control
    March 02, 2015, 07:44:47 pm
  • brianwilcox: I would make a support thread for it... but I can't.
    February 28, 2015, 06:34:25 pm
  • brianwilcox: Why can I not post on the forums? ;/
    February 28, 2015, 06:34:10 pm
  • CaLy: thanks and have a nice weekend all!
    February 21, 2015, 06:11:36 am
  • CaLy: ah u are right eliana, i will do that with custom block :)
    February 21, 2015, 06:11:28 am
  • Eliana Tamerin: You mean a custom block with HTML code? It's built into SP.
    February 20, 2015, 02:20:12 am
  • CaLy: what package are u using to display adsense banner at right of user info (in the middle) ? Thanks in advance!
    February 18, 2015, 06:34:47 am
  • Teetee: [link]
    February 10, 2015, 11:23:39 am
  • 420connect: No longer newbie > posted.
    February 06, 2015, 09:04:41 am
  • 420connect: I can't reply to "?topic=13762" but have a possible solution.
    February 05, 2015, 07:17:48 pm
  • CaLy: hi all! I know it´s late but anyway happy 2015 to all the community!
    January 18, 2015, 04:43:46 am
  • ribwhulp: hoi
    January 17, 2015, 07:55:06 am
  • ♦ Ninja ZX-10RR ♦: Right above the Shoutbox there is a "Who's online" block, just so you know ;)
    January 11, 2015, 03:28:04 pm
  • BlackHeartStudios: Anyone online?
    January 09, 2015, 10:11:24 pm
  • Elliott: Hello
    January 08, 2015, 11:50:47 pm
  • mecane: test
    January 08, 2015, 09:38:30 am
  • ♦ Ninja ZX-10RR ♦: Oh hai!
    January 07, 2015, 07:14:01 pm
  • Elliott: Hello my friends
    January 07, 2015, 03:14:07 pm
  • Capion: ha! I found it ;)
    January 04, 2015, 04:58:45 pm
  • Capion: hmm.. what shoutbox mod is this?
    January 04, 2015, 04:51:21 pm
If you're interested in helping other members with support requests, consider joining the Community Support Helpers group.

Author Topic: Responsive design  (Read 3603 times)

0 Members and 1 Guest are viewing this topic.

Offline Petter

  • Jr. Member
  • **
  • Posts: 52
  • 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: 52
  • 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: 393
  • 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: 52
  • 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: 52
  • 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: 52
  • 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: 6604
  • The Amazing Coder!
  • SMF Version: 2.0.9
  • SP Version: 2.3.6
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...