Click here to Skip to main content
15,901,871 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: TABLE or DL which one is recommended? Pin
DPaul199417-Aug-15 19:58
DPaul199417-Aug-15 19:58 
QuestionBrowser Resize Pin
NJdotnetdev6-Aug-15 7:59
NJdotnetdev6-Aug-15 7:59 
GeneralRe: Browser Resize Pin
PIEBALDconsult6-Aug-15 8:37
mvePIEBALDconsult6-Aug-15 8:37 
GeneralRe: Browser Resize Pin
NJdotnetdev6-Aug-15 9:12
NJdotnetdev6-Aug-15 9:12 
QuestionAjax problem Pin
Member 117865225-Aug-15 22:36
Member 117865225-Aug-15 22:36 
AnswerRe: Ajax problem Pin
W Balboos, GHB15-Oct-15 8:30
W Balboos, GHB15-Oct-15 8:30 
QuestionHow do you deal with Japanese (Asian) languages in responsive web applications? Pin
Simon Lee Shugar3-Aug-15 5:16
Simon Lee Shugar3-Aug-15 5:16 
AnswerRe: How do you deal with Japanese (Asian) languages in responsive web applications? Pin
Afzaal Ahmad Zeeshan3-Aug-15 22:35
professionalAfzaal Ahmad Zeeshan3-Aug-15 22:35 
SuggestionRe: How do you deal with Japanese (Asian) languages in responsive web applications? Pin
Richard MacCutchan3-Aug-15 22:44
mveRichard MacCutchan3-Aug-15 22:44 
Questionguidance regarding a project Pin
Member 1187844431-Jul-15 23:57
Member 1187844431-Jul-15 23:57 
QuestionRe: guidance regarding a project Pin
Wendelius1-Aug-15 0:23
mentorWendelius1-Aug-15 0:23 
SuggestionRe: guidance regarding a project Pin
Richard MacCutchan1-Aug-15 0:33
mveRichard MacCutchan1-Aug-15 0:33 
GeneralRe: guidance regarding a project Pin
Member 118784441-Aug-15 3:51
Member 118784441-Aug-15 3:51 
GeneralRe: guidance regarding a project Pin
Richard MacCutchan1-Aug-15 4:20
mveRichard MacCutchan1-Aug-15 4:20 
AnswerRe: guidance regarding a project Pin
Afzaal Ahmad Zeeshan1-Aug-15 0:48
professionalAfzaal Ahmad Zeeshan1-Aug-15 0:48 
GeneralRe: guidance regarding a project Pin
Member 118784441-Aug-15 3:56
Member 118784441-Aug-15 3:56 
AnswerRe: guidance regarding a project Pin
Aladár Horváth3-Aug-15 3:33
professionalAladár Horváth3-Aug-15 3:33 
AnswerRe: guidance regarding a project Pin
Erick Shawn3-Aug-15 22:07
professionalErick Shawn3-Aug-15 22:07 
QuestionEvent to detect when browser(IE) is maximized... Pin
NJdotnetdev30-Jul-15 7:33
NJdotnetdev30-Jul-15 7:33 
AnswerRe: Event to detect when browser(IE) is maximized... Pin
Kornfeld Eliyahu Peter30-Jul-15 8:48
professionalKornfeld Eliyahu Peter30-Jul-15 8:48 
GeneralRe: Event to detect when browser(IE) is maximized... Pin
NJdotnetdev30-Jul-15 9:48
NJdotnetdev30-Jul-15 9:48 
AnswerRe: Event to detect when browser(IE) is maximized... Pin
Afzaal Ahmad Zeeshan1-Aug-15 0:54
professionalAfzaal Ahmad Zeeshan1-Aug-15 0:54 
No, there isn't. Usually, to check whether an application is maximized it to check the windows properties, but IE won't share any of these abstract properties to a web application. In that case, you are only left with an option of window.onresize event.

After handling the event, you can manage a guess for the IE's size (in pixels) and change the dimensions of the table depending on the size of viewport. Remember, it is the viewport that you are able to check against. If you (somehow) try to work around with document's dimensions, you may or may not get values biggers than the window or screen itself.

That is why, I would still recommend that instead of using JavaScript, you try using CSS3's media queries.

CSS
// default style

@media screen and (max-width: 300px) {
  // CSS styles when screen is only 300px
}

@media screen and (max-width: 500px) {
  // CSS styles when screen is 500px
}

@media screen and (min-width: 700) {
  // CSS styles when screen is minimum 500px and no matter how large
}


Avoid using JavaScript, as JavaScript costs CPU clocks, thus making it a non-friendly for device's battery, or maybe cause a lagging in your users device. Users may be using mobile.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~

GeneralRe: Event to detect when browser(IE) is maximized... Pin
NJdotnetdev3-Aug-15 3:07
NJdotnetdev3-Aug-15 3:07 
QuestionMy Data is not showing on my html page Pin
Salman _Memon28-Jul-15 21:17
Salman _Memon28-Jul-15 21:17 
AnswerRe: My Data is not showing on my html page Pin
DPaul199417-Aug-15 19:46
DPaul199417-Aug-15 19:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.