Click here to Skip to main content
15,889,776 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: javacript alert message Pin
Harpreet05Kaur26-Sep-16 1:54
Harpreet05Kaur26-Sep-16 1:54 
QuestionOnmouseover javascript 'JavaScript runtime error: 'LabelHover' is undefined' Pin
Bootzilla3317-Aug-16 7:27
Bootzilla3317-Aug-16 7:27 
AnswerRe: Onmouseover javascript 'JavaScript runtime error: 'LabelHover' is undefined' Pin
Karthik_Mahalingam20-Aug-16 18:21
professionalKarthik_Mahalingam20-Aug-16 18:21 
QuestionMath question using JQuery and Javascript with a horizontal sliding row Pin
jkirkerx12-Aug-16 10:08
professionaljkirkerx12-Aug-16 10:08 
AnswerIt's closer now, needs refinement Pin
jkirkerx14-Aug-16 10:26
professionaljkirkerx14-Aug-16 10:26 
QuestionMeasuring how many li are in a ul that are visible in a horizontal sliding row of items Pin
jkirkerx11-Aug-16 8:38
professionaljkirkerx11-Aug-16 8:38 
AnswerRe: Measuring how many li are in a ul that are visible in a horizontal sliding row of items Pin
jkirkerx11-Aug-16 11:14
professionaljkirkerx11-Aug-16 11:14 
AnswerRe: Measuring how many li are in a ul that are visible in a horizontal sliding row of items Pin
Nathan Minier12-Aug-16 1:39
professionalNathan Minier12-Aug-16 1:39 
Styling madness!

I'm guessing that your last LI is being ignored because it's right side lies on the right edge of the UL, which lies on the right edge of .slider.

Therefore:
JavaScript
return $(this).position().left + $(this).width() < _sliderFrame_maxWidth;

Should be:
JavaScript
return $(this).position().left + $(this).width() <= _sliderFrame_maxWidth;
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli

GeneralRe: Measuring how many li are in a ul that are visible in a horizontal sliding row of items Pin
jkirkerx12-Aug-16 6:44
professionaljkirkerx12-Aug-16 6:44 
QuestionHow to create array from existing array Pin
Member 126783159-Aug-16 17:00
Member 126783159-Aug-16 17:00 
AnswerRe: How to create array from existing array Pin
Richard MacCutchan9-Aug-16 21:06
mveRichard MacCutchan9-Aug-16 21:06 
AnswerRe: How to create array from existing array Pin
Karthik_Mahalingam20-Aug-16 18:26
professionalKarthik_Mahalingam20-Aug-16 18:26 
QuestionJS Object Remove Duplicates Pin
Member 126766088-Aug-16 19:49
Member 126766088-Aug-16 19:49 
AnswerRe: JS Object Remove Duplicates Pin
W Balboos, GHB9-Aug-16 5:06
W Balboos, GHB9-Aug-16 5:06 
AnswerRe: JS Object Remove Duplicates Pin
Beginner Luck14-Aug-16 19:59
professionalBeginner Luck14-Aug-16 19:59 
QuestionAdd query columns to output (see code) Pin
Stavros McGillicuddy7-Aug-16 11:15
Stavros McGillicuddy7-Aug-16 11:15 
AnswerRe: Add query columns to output (see code) Pin
Nathan Minier8-Aug-16 1:30
professionalNathan Minier8-Aug-16 1:30 
QuestionUnexpected Identifier error Pin
Stavros McGillicuddy6-Aug-16 11:02
Stavros McGillicuddy6-Aug-16 11:02 
QuestionRe: Unexpected Identifier error Pin
Richard Deeming8-Aug-16 1:38
mveRichard Deeming8-Aug-16 1:38 
Questionchange in cell content of salary or bonus or deduction in table cells automatically affect in total Pin
ahmed_sa30-Jul-16 6:39
ahmed_sa30-Jul-16 6:39 
Questionget the value of row before changing in table if cancel click Pin
ahmed_sa25-Jul-16 7:13
ahmed_sa25-Jul-16 7:13 
QuestionCode is not working correctly Pin
Member 1265075924-Jul-16 2:31
Member 1265075924-Jul-16 2:31 
SuggestionRe: Code is not working correctly Pin
Richard MacCutchan24-Jul-16 2:48
mveRichard MacCutchan24-Jul-16 2:48 
AnswerRe: Code is not working correctly Pin
John C Rayan27-Jul-16 22:20
professionalJohn C Rayan27-Jul-16 22:20 
Questionneed help understanding how regular updating of a div works Pin
Member 1263409813-Jul-16 16:55
Member 1263409813-Jul-16 16:55 

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.