Click here to Skip to main content
15,902,189 members
Home / Discussions / Web Development
   

Web Development

 
QuestionAbout mobile web debugger Pin
tidelgl13-Jan-13 19:23
tidelgl13-Jan-13 19:23 
QuestionUnable to start service using WMI Pin
only1rb11-Jan-13 6:22
only1rb11-Jan-13 6:22 
QuestionHelp! Pin
crood5-Jan-13 20:05
crood5-Jan-13 20:05 
AnswerRe: Help! Pin
Sandeep Mewara5-Jan-13 20:27
mveSandeep Mewara5-Jan-13 20:27 
Questiondrop down menu pushes the content down similar to ibm.com Pin
Mohamed Samir29-Dec-12 23:59
Mohamed Samir29-Dec-12 23:59 
AnswerRe: drop down menu pushes the content down similar to ibm.com Pin
Sandeep Mewara30-Dec-12 0:13
mveSandeep Mewara30-Dec-12 0:13 
Questiongoogle map include in contact.aspx page Pin
Member 819678127-Dec-12 20:50
Member 819678127-Dec-12 20:50 
AnswerRe: google map include in contact.aspx page Pin
vbmike28-Dec-12 8:59
vbmike28-Dec-12 8:59 
AnswerRe: google map include in contact.aspx page Pin
Sandeep Mewara5-Jan-13 20:28
mveSandeep Mewara5-Jan-13 20:28 
AnswerRe: google map include in contact.aspx page Pin
Zamshed Farhan15-Jan-13 4:12
Zamshed Farhan15-Jan-13 4:12 
QuestionUsing Developer Tools Pin
Phanindra26127-Dec-12 1:59
Phanindra26127-Dec-12 1:59 
AnswerRe: Using Developer Tools Pin
Zamshed Farhan12-Jan-13 5:46
Zamshed Farhan12-Jan-13 5:46 
AnswerRe: Using Developer Tools Pin
Zamshed Farhan12-Jan-13 5:48
Zamshed Farhan12-Jan-13 5:48 
QuestionSSRS Report Conversion to PDF Pin
Vinay Meka22-Dec-12 0:58
Vinay Meka22-Dec-12 0:58 
AnswerRe: SSRS Report Conversion to PDF Pin
Sandeep Mewara5-Jan-13 20:34
mveSandeep Mewara5-Jan-13 20:34 
QuestionCould not load file or assembly Pin
L Viljoen20-Dec-12 1:57
professionalL Viljoen20-Dec-12 1:57 
AnswerRe: Could not load file or assembly Pin
ArpitDubey28-Dec-12 8:50
ArpitDubey28-Dec-12 8:50 
QuestionHow should I measure scroll position in different browsers Pin
woomla17-Dec-12 21:52
woomla17-Dec-12 21:52 
I cannot exactly figure out how the scroll position is measured.

I have a container with a specific height (400) and some elements (30) in it with specific heights (18). The container displays about 7.2 items in it. The maximum scroll position in firefox is 142. In chrome 141.

If the container can display an exact number of items then the calculation is simple: number-of-items * item-height - container-height.

But how is it calculated if the container displays 7.2 items?

And worse, if the container has padding top and bottom?

See this example[^]


[edit]
The reason why I want this is because I want some kind of ScrollBar. I have it kind of working, but there are differences in browsers.

In firefox, this example works: http://jsfiddle.net/woomla/ma88D/7/[^]

In chrome this example workds: http://jsfiddle.net/woomla/ma88D/8/[^]

The difference is that in the chrome version I need to add padding-top and padding-bottom to the max scroller distance. In firefox I need to add only padding-top.

modified 18-Dec-12 7:05am.

AnswerRe: How should I measure scroll position in different browsers Pin
Zaf Khan19-Dec-12 5:46
Zaf Khan19-Dec-12 5:46 
QuestionBest Web Technologies Pin
emadns12-Dec-12 3:40
emadns12-Dec-12 3:40 
AnswerRe: Best Web Technologies Pin
David Mujica12-Dec-12 4:22
David Mujica12-Dec-12 4:22 
AnswerRe: Best Web Technologies Pin
achantayamini17-Dec-12 22:05
achantayamini17-Dec-12 22:05 
AnswerRe: Best Web Technologies Pin
jfmorgan33331-Dec-12 10:01
jfmorgan33331-Dec-12 10:01 
QuestionJSP and JSTL and so on ... Pin
SheraX11-Dec-12 6:20
SheraX11-Dec-12 6:20 
AnswerRe: JSP and JSTL and so on ... Pin
fjdiewornncalwe11-Dec-12 6:28
professionalfjdiewornncalwe11-Dec-12 6:28 

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.