Click here to Skip to main content
14,669,189 members
Home » Discussions » JavaScript
   

JavaScript

 
QuestionMacID,SystemOs, System Version and computername using javascript Pin
rangaraghavan9-May-20 7:46
Memberrangaraghavan9-May-20 7:46 
AnswerRe: MacID,SystemOs, System Version and computername using javascript Pin
Richard MacCutchan9-May-20 21:41
mveRichard MacCutchan9-May-20 21:41 
Questionadding markers to the map reactjs Pin
dcielak21-Apr-20 11:10
Memberdcielak21-Apr-20 11:10 
Questioncan i use the bootstrap table with datatables ? Pin
Ask SNB20-Apr-20 20:19
MemberAsk SNB20-Apr-20 20:19 
SuggestionRe: can i use the bootstrap table with datatables ? Pin
Richard MacCutchan20-Apr-20 22:03
mveRichard MacCutchan20-Apr-20 22:03 
AnswerRe: can i use the bootstrap table with datatables ? Pin
ZurdoDev21-Apr-20 1:41
mveZurdoDev21-Apr-20 1:41 
AnswerRe: can i use the bootstrap table with datatables ? Pin
Jin Vincent Necesario21-Apr-20 2:17
professionalJin Vincent Necesario21-Apr-20 2:17 
Questionusing javascript geoplugin to geolocalize Pin
Member 1480782320-Apr-20 5:45
MemberMember 1480782320-Apr-20 5:45 
Hi this works, but i would like to add other CountryCodes to include all french speaking countries.

<script language="JavaScript" src="http://www.geoplugin.net/javascript.gp" type="text/javascript"></script>
<script language="JavaScript">

if(geoplugin_countryCode() != 'US'){
        //if(geoplugin_countryCode() == 'FR'|| =='CH' || =='LU' || =='BE' || =='LI'){
        if(geoplugin_countryCode() == 'FR'){

location.href = "indexfr.html";
}else{
location.href = "//index.html";
}        
}
</script>
if (Type == 2 && (PageCount == 0 || PageCount == '')) {

as if commented out part worked....
//if(geoplugin_countryCode() == 'FR'|| =='CH' || =='LU' || =='BE' || =='LI'){

the geoplugin generates the country code
Any help welcome
thanks
Peter
QuestionRe: using javascript geoplugin to geolocalize Pin
Richard MacCutchan20-Apr-20 5:57
mveRichard MacCutchan20-Apr-20 5:57 
AnswerRe: using javascript geoplugin to geolocalize Pin
Member 1480782320-Apr-20 6:37
MemberMember 1480782320-Apr-20 6:37 
GeneralRe: using javascript geoplugin to geolocalize Pin
Richard MacCutchan20-Apr-20 6:52
mveRichard MacCutchan20-Apr-20 6:52 
GeneralRe: using javascript geoplugin to geolocalize Pin
Member 1480782320-Apr-20 7:45
MemberMember 1480782320-Apr-20 7:45 
GeneralRe: using javascript geoplugin to geolocalize Pin
Richard MacCutchan20-Apr-20 21:37
mveRichard MacCutchan20-Apr-20 21:37 
AnswerRe: using javascript geoplugin to geolocalize Pin
ZurdoDev20-Apr-20 6:45
mveZurdoDev20-Apr-20 6:45 
GeneralRe: using javascript geoplugin to geolocalize Pin
Member 1480782320-Apr-20 6:52
MemberMember 1480782320-Apr-20 6:52 
GeneralRe: using javascript geoplugin to geolocalize Pin
ZurdoDev20-Apr-20 7:08
mveZurdoDev20-Apr-20 7:08 
GeneralRe: using javascript geoplugin to geolocalize Pin
Member 1480782320-Apr-20 7:43
MemberMember 1480782320-Apr-20 7:43 
AnswerRe: using javascript geoplugin to geolocalize Pin
layarfilm215-May-20 3:01
Memberlayarfilm215-May-20 3:01 
QuestionSuper simple for everyone else... Pin
JaHowler17-Apr-20 12:49
MemberJaHowler17-Apr-20 12:49 
AnswerRe: Super simple for everyone else... Pin
Jin Vincent Necesario17-Apr-20 19:35
professionalJin Vincent Necesario17-Apr-20 19:35 
GeneralRe: Super simple for everyone else... Pin
JaHowler18-Apr-20 8:24
MemberJaHowler18-Apr-20 8:24 
AnswerRe: Super simple for everyone else... Pin
Richard Deeming20-Apr-20 0:44
mveRichard Deeming20-Apr-20 0:44 
QuestionClick ok button in alert then chaining methods. Pin
Member 1265872416-Apr-20 12:00
MemberMember 1265872416-Apr-20 12:00 
AnswerRe: Click ok button in alert then chaining methods. Pin
Richard Deeming17-Apr-20 4:00
mveRichard Deeming17-Apr-20 4:00 
Questionwhat is javascript and what can I make with it? Pin
Rapid Spray16-Apr-20 1:00
professionalRapid Spray16-Apr-20 1:00 

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.