Click here to Skip to main content
15,886,919 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: How to shorten/combine "if()" statements? Pin
Richard MacCutchan20-Jul-15 20:50
mveRichard MacCutchan20-Jul-15 20:50 
GeneralRe: How to shorten/combine "if()" statements? Pin
Richard MacCutchan20-Jul-15 21:37
mveRichard MacCutchan20-Jul-15 21:37 
GeneralRe: How to shorten/combine "if()" statements? Pin
Richard MacCutchan20-Jul-15 21:53
mveRichard MacCutchan20-Jul-15 21:53 
GeneralRe: How to shorten/combine "if()" statements? Pin
Godhaniketan20-Jul-15 21:55
professionalGodhaniketan20-Jul-15 21:55 
GeneralRe: How to shorten/combine "if()" statements? Pin
Richard MacCutchan21-Jul-15 3:37
mveRichard MacCutchan21-Jul-15 3:37 
QuestionHow to send to another web page in a new tab? Pin
Member 1183686417-Jul-15 8:34
Member 1183686417-Jul-15 8:34 
AnswerRe: How to send to another web page in a new tab? Pin
Anil Vaghasiya19-Jul-15 19:47
professionalAnil Vaghasiya19-Jul-15 19:47 
Question<div>is not visible if window is minimized than 100% Pin
Member 1183819816-Jul-15 21:27
Member 1183819816-Jul-15 21:27 
I have a code for which the
is on right of page. it is fixed there by css as follows:

#feedback
{
position: absolute;
width: 230px;
float: right;
height: 60px;
right: 310px;
top: 190px;
}

but when the window size is resized the cs property 'right' should also reduce as this div is not visible if window is minimized than 100%

Initially
`$( window ).width() = 1899px;`
'right' property for feedback div should be 310px

For every reduce of 10px in window width, right css of feedback div should reduce by 4.5px
egg.
Width = 1899px Right property = 310px
Width = 1889px Right property = 305.5px
Width = 1879px Right property = 301px

.
.
.
.
util
Width = 1234px Right property = 0px

I'm not able to make this logic work. Can anyone please help

QuestionRequire Book/Link Which Covers following topics Pin
Member 1184123815-Jul-15 22:55
Member 1184123815-Jul-15 22:55 
AnswerRe: Require Book/Link Which Covers following topics Pin
Anil Vaghasiya17-Jul-15 4:10
professionalAnil Vaghasiya17-Jul-15 4:10 
AnswerRe: Require Book/Link Which Covers following topics Pin
Member 1176120322-Jul-15 3:02
Member 1176120322-Jul-15 3:02 
QuestionElement flickers on scroll Pin
Member 1183819814-Jul-15 21:11
Member 1183819814-Jul-15 21:11 
AnswerRe: Element flickers on scroll Pin
jkirkerx15-Jul-15 8:47
professionaljkirkerx15-Jul-15 8:47 
GeneralRe: Element flickers on scroll Pin
Member 1183819815-Jul-15 23:57
Member 1183819815-Jul-15 23:57 
GeneralRe: Element flickers on scroll Pin
jkirkerx16-Jul-15 8:45
professionaljkirkerx16-Jul-15 8:45 
QuestionLoop through textboxes in table and perform validation clientside Pin
colliek14-Jul-15 10:13
colliek14-Jul-15 10:13 
AnswerRe: Loop through textboxes in table and perform validation clientside Pin
Anil Vaghasiya14-Jul-15 19:34
professionalAnil Vaghasiya14-Jul-15 19:34 
GeneralRe: Loop through textboxes in table and perform validation clientside Pin
colliek14-Jul-15 20:03
colliek14-Jul-15 20:03 
Questionfunctions Pin
Member 1183686414-Jul-15 5:52
Member 1183686414-Jul-15 5:52 
AnswerRe: functions Pin
Shmuel Zang14-Jul-15 18:46
Shmuel Zang14-Jul-15 18:46 
AnswerRe: functions Pin
Member 1184785019-Jul-15 12:31
Member 1184785019-Jul-15 12:31 
QuestionFile Upload doesn’t work on Mobiles Pin
Praveen Raghuvanshi13-Jul-15 6:57
professionalPraveen Raghuvanshi13-Jul-15 6:57 
QuestionBlob went away in IE 11? Pin
dbrenth10-Jul-15 10:06
dbrenth10-Jul-15 10:06 
Questionbrowser version detection window 7 machine and IE version 11 Pin
Member 118062861-Jul-15 5:39
Member 118062861-Jul-15 5:39 
AnswerRe: browser version detection window 7 machine and IE version 11 Pin
Richard Deeming1-Jul-15 7:52
mveRichard Deeming1-Jul-15 7:52 

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.