Muslims in the United States : the state of research






skip to content




Your Web browser is not enabled for JavaScript. Some features of WorldCat will not be available.






 















jQuery(document).ready(function() {
jQuery("#q").focus();
});









function makeUtilPageLoadComplete() {
itemId=51629391;
return function() {
utilPageLoadComplete(false, 51629391);
}
}






Your list has reached the maximum number of items. Please create a new list with a new name; move some items to a new or existing list; or delete some items.






Your request to send this item has been completed.











Close

Add a review






Would you also like to submit a review for this item?

 

 



Cancel









Your list has reached the maximum number of items. Please create a new list with a new name; move some items to a new or existing list; or delete some items.





You already recently rated this item.




Your rating has been recorded









jQuery(document).ready(function() {
OWC.socLocal.socPageLoadComplete('',
51629391,
51629391,
false,
false,
'false');
});



jQuery(window).load(function(){

var ajaxBuyingServiceUrl = "/wcpa/servlet/org.oclc.lac.ui.buying.AjaxBuyingLinksServlet";
jQuery("#buyit-section").buyitLinksWidget({'serviceUrl' : ajaxBuyingServiceUrl, 'oclcNumber': 51629391, 'page': 'detail'});

});



function makeBibPageLoadComplete() {

return function() {
bibPageLoadComplete(0, "", 420,
51629391, "0871545306 9780871545305",
false,
true,true, false, false);
}
}




Muslims in the United States : the state of research
Preview this item




ClosePreview this item















Checking...



Muslims in the United States : the state of research




























Author: Karen Isaksen Leonard
Publisher: New York : Russell Sage Foundation, ©2003.
Edition/Format:

  Print book : EnglishView all editions and formats

Rating:


(not yet rated)

0 with reviews - Be the first.


Subjects


  • Muslims -- Research -- United States.


  • Islam -- Research -- United States.


  • Musulmans -- Recherche -- États-Unis.

  • View all subjects


More like this

  • Similar Items

















jQuery(document).ready(function()
{
jQuery('.dependentChildTable').tableScroll({height:150 });

});




// WMS institutions opening a new window for place hold must reset main page to https as idm will set the pop up to secure,
// and the pop up must refresh the main page to reflect the logged in status
function getLocationAndHideConfirmDiv() {
var protocol = (true == true) ? "https://" : "http://";
var updateParentURL = protocol + location.hostname + (location.port != "" ? ":" + location.port : "") + location.pathname + location.search;
hideConfirmDiv('req_confirmation', true, false, updateParentURL);
}



var GOOGLE_OBJECT = {"oclcno":"51629391", "ISBN1":"0871545306", "language":"en", "ISBN":"0871545306 9780871545305", "title":"muslims-in-the-united-states-the-state-of-research"};

function makeMaincolPageLoadComplete() {

return function() {
maincolPageLoadComplete(51629391, true, false,
false,
true, true,
false, false, true, false, false, 'https');
}
}









var favnam = "";
var favsym = "";
var refPage = "";
function showaddfavdiv(instname, instsymbol, referPage, privacySetting)
{
if ((instname != null) && (instsymbol != null) && (referPage != null))
{
favnam = instname;
favsym = instsymbol;
if (favsym.startsWith('['))
{
var noffset = favsym.indexOf(',');
if (noffset == -1)
{
noffset = favsym.indexOf(']');
}
if (noffset > 1)
{
favsym = favsym.substring(1, noffset);
}
}
refPage = referPage + 'favorite=' + favsym + '&favoritename=' + encodeURIComponent(favnam);
if ((privacySetting == '') || (privacySetting == 1))
{
document.getElementById("privacy_public").checked = true;
}
else
{
document.getElementById("privacy_private").checked = true;
}

if(document.all){
document.getElementById('favlibname').innerText = instname;
}else{
document.getElementById('favlibname').textContent = instname;
}

document.getElementById('addfavdiv').style.display = 'block';
}
}
function doSaveFavorite()
{
if (document.getElementById('privacy_public').checked)
{
document.getElementById('favliblink').href = refPage + '&privacy=public';
}
else
{
document.getElementById('favliblink').href = refPage + '&privacy=private';
}

document.location = document.getElementById('favliblink').href;

closediv();
return true;
}

function closediv()
{ document.getElementById('addfavdiv').style.display = "none"; }


div.fav-fixed {
position:fixed;
z-index: 100;
top:50%;
left:50%;
margin:-100px auto auto -150px;
}



div.fav-fixed{position: absolute;
top:expression(eval(document.compatMode &&
document.compatMode=='CSS1Compat') ?
document.documentElement.scrollTop
+((document.documentElement.clientHeight-this.clientHeight)/2)
: document.body.scrollTop
+((document.body.clientHeight-this.clientHeight)/2));
}
div.fav-select-free iframe{
position:absolute;
top:0;
left:0;
z-index=-1
filter:mask();
width:450px;
min-height:220px;

}
}




Close

Add library to Favorites







Please choose whether or not you want other users to be able to see on your profile that this library is a favorite of yours.











Save   
Cancel








Find a copy in the library




&AllPage.SpinnerRetrieving; Finding libraries that hold this item...













Details

































Document Type: Book
All Authors / Contributors:
Karen Isaksen Leonard
ISBN: 0871545306 9780871545305
OCLC Number: 51629391
Description: xiii, 199 pages ; 23 cm
Contents: Part I: Historical overview of Muslims in the United States. The development of ethno-racial Muslim communities in the United States ; Converging histories in the late twentieth century ; Historical research issues --

Part II: Contemporary research issues. Contemporary American Muslim identities ; Muslims in the American landscape ; Islamic discourses and practices ; Becoming American --

Part III: Further research. Contemporary research agendas ; Overview of major divisions in the Islamic old world ; Major Muslim American organizations ; U.S. local and regional studies of Muslims in America.
Responsibility: Karen Isaksen Leonard.





Reviews




jQuery(document).ready(
function() {
OWC.reviews.init({
platformPage : true,
reviewsEnabled : true,
buyItLink : true,
isLdapAuthenticate : false,
ISBN : "0871545306 9780871545305",
baseOCLCNo : "51629391",
recordID : "51629391"
})
OWC.reviews.getAllReviews();
}

);

User-contributed reviews




Be the first.






Be the first.




Retrieving GoodReads reviews...





Retrieving DOGObooks reviews...







qm_create(0,false);




Tags






Be the first.









Similar Items




Related Subjects:(11)




  • Muslims -- Research -- United States.


  • Islam -- Research -- United States.


  • Musulmans -- Recherche -- États-Unis.


  • Islam -- Recherche -- États-Unis.


  • Islam -- Research.


  • United States.


  • Islamieten.


  • Muslim


  • USA


  • Muslim.


  • USA.













Confirm this request







You may have already requested this item. Please select Ok if you would like to proceed with this request anyway.

















Linked Data



More info about Linked Data



Primary Entity


http://www.worldcat.org/oclc/51629391> # Muslims in the United States : the state of research
    a schema:CreativeWork, schema:Book ;
   library:oclcnum "51629391" ;
   library:placeOfPublication http://id.loc.gov/vocabulary/countries/nyu> ;
   library:placeOfPublication http://dbpedia.org/resource/New_York_City> ; # New York
   schema:about http://experiment.worldcat.org/entity/work/data/905363115#Place/united_states> ; # United States.
   schema:about http://experiment.worldcat.org/entity/work/data/905363115#Topic/muslim> ; # Muslim
   schema:about http://experiment.worldcat.org/entity/work/data/905363115#Topic/musulmans_recherche_etats_unis> ; # Musulmans--Recherche--États-Unis
   schema:about http://experiment.worldcat.org/entity/work/data/905363115#Topic/islam_recherche_etats_unis> ; # Islam--Recherche--États-Unis
   schema:about http://experiment.worldcat.org/entity/work/data/905363115#Topic/islam_research_united_states> ; # Islam--Research--United States
   schema:about http://id.worldcat.org/fast/1204155> ; # USA.
   schema:about http://experiment.worldcat.org/entity/work/data/905363115#Place/usa> ; # USA
   schema:about http://id.worldcat.org/fast/979843> ; # Muslim
   schema:about http://experiment.worldcat.org/entity/work/data/905363115#Topic/islamieten> ; # Islamieten
   schema:about http://experiment.worldcat.org/entity/work/data/905363115#Topic/islam_research> ; # Islam--Research
   schema:about http://experiment.worldcat.org/entity/work/data/905363115#Topic/muslims_research_united_states> ; # Muslims--Research--United States
   schema:about http://dewey.info/class/305.69710730722/e21/> ;
   schema:bookFormat bgn:PrintBook ;
   schema:copyrightYear "2003" ;
   schema:creator http://viaf.org/viaf/14814685> ; # Karen Isaksen Leonard
   schema:datePublished "2003" ;
   schema:description "Part I: Historical overview of Muslims in the United States. The development of ethno-racial Muslim communities in the United States ; Converging histories in the late twentieth century ; Historical research issues -- Part II: Contemporary research issues. Contemporary American Muslim identities ; Muslims in the American landscape ; Islamic discourses and practices ; Becoming American -- Part III: Further research. Contemporary research agendas ; Overview of major divisions in the Islamic old world ; Major Muslim American organizations ; U.S. local and regional studies of Muslims in America."@en ;
   schema:exampleOfWork http://worldcat.org/entity/work/id/905363115> ;
   schema:inLanguage "en" ;
   schema:name "Muslims in the United States : the state of research"@en ;
   schema:productID "51629391" ;
   schema:publication http://www.worldcat.org/title/-/oclc/51629391#PublicationEvent/new_york_russell_sage_foundation_2003> ;
   schema:publisher http://experiment.worldcat.org/entity/work/data/905363115#Agent/russell_sage_foundation> ; # Russell Sage Foundation
   schema:workExample http://worldcat.org/isbn/9780871545305> ;
   wdrs:describedby http://www.worldcat.org/title/-/oclc/51629391> ;
    .





Related Entities


http://dbpedia.org/resource/New_York_City> # New York
    a schema:Place ;
   schema:name "New York" ;
    .



http://dewey.info/class/305.69710730722/e21/>
    a schema:Intangible ;
    .



http://experiment.worldcat.org/entity/work/data/905363115#Agent/russell_sage_foundation> # Russell Sage Foundation
    a bgn:Agent ;
   schema:name "Russell Sage Foundation" ;
    .



http://experiment.worldcat.org/entity/work/data/905363115#Place/united_states> # United States.
    a schema:Place ;
   schema:name "United States." ;
    .



http://experiment.worldcat.org/entity/work/data/905363115#Place/usa> # USA
    a schema:Place ;
   schema:name "USA" ;
    .



http://experiment.worldcat.org/entity/work/data/905363115#Topic/islam_recherche_etats_unis> # Islam--Recherche--États-Unis
    a schema:Intangible ;
   schema:name "Islam--Recherche--États-Unis"@fr ;
    .



http://experiment.worldcat.org/entity/work/data/905363115#Topic/islam_research> # Islam--Research
    a schema:Intangible ;
   schema:name "Islam--Research"@en ;
    .



http://experiment.worldcat.org/entity/work/data/905363115#Topic/islam_research_united_states> # Islam--Research--United States
    a schema:Intangible ;
   schema:hasPart http://id.loc.gov/authorities/subjects/sh85068479> ;
   schema:name "Islam--Research--United States"@en ;
    .



http://experiment.worldcat.org/entity/work/data/905363115#Topic/islamieten> # Islamieten
    a schema:Intangible ;
   schema:name "Islamieten"@en ;
    .



http://experiment.worldcat.org/entity/work/data/905363115#Topic/muslim> # Muslim
    a schema:Intangible ;
   schema:name "Muslim"@en ;
    .



http://experiment.worldcat.org/entity/work/data/905363115#Topic/muslims_research_united_states> # Muslims--Research--United States
    a schema:Intangible ;
   schema:hasPart http://id.loc.gov/authorities/subjects/sh85089077> ;
   schema:name "Muslims--Research--United States"@en ;
    .



http://experiment.worldcat.org/entity/work/data/905363115#Topic/musulmans_recherche_etats_unis> # Musulmans--Recherche--États-Unis
    a schema:Intangible ;
   schema:name "Musulmans--Recherche--États-Unis"@fr ;
    .



http://id.loc.gov/vocabulary/countries/nyu>
    a schema:Place ;
   dcterms:identifier "nyu" ;
    .



http://id.worldcat.org/fast/1204155> # USA.
    a schema:Place ;
   schema:name "USA." ;
    .



http://id.worldcat.org/fast/979843> # Muslim
    a schema:Intangible ;
   schema:name "Muslim"@en ;
    .



http://viaf.org/viaf/14814685> # Karen Isaksen Leonard
    a schema:Person ;
   schema:birthDate "1939" ;
   schema:familyName "Leonard" ;
   schema:givenName "Karen Isaksen" ;
   schema:name "Karen Isaksen Leonard" ;
    .



http://worldcat.org/isbn/9780871545305>
    a schema:ProductModel ;
   schema:isbn "0871545306" ;
   schema:isbn "9780871545305" ;
    .



http://www.worldcat.org/title/-/oclc/51629391>
    a genont:InformationResource, genont:ContentTypeGenericResource ;
   schema:about http://www.worldcat.org/oclc/51629391> ; # Muslims in the United States : the state of research
   schema:dateModified "2018-11-10" ;
   void:inDataset http://purl.oclc.org/dataset/WorldCat> ;
    .



http://www.worldcat.org/title/-/oclc/51629391#PublicationEvent/new_york_russell_sage_foundation_2003>
    a schema:PublicationEvent ;
   schema:location http://dbpedia.org/resource/New_York_City> ; # New York
   schema:organizer http://experiment.worldcat.org/entity/work/data/905363115#Agent/russell_sage_foundation> ; # Russell Sage Foundation
    .





Content-negotiable representations




  • Turtle (text/turtle)


  • JSON-LD (application/ld+json)


  • RDF/XML (application/rdf+xml)


  • N-TRIPLES (text/plain)


  • HTML+RDFa (text/html)







jQuery(document).ready( function () {

findLibs('','','','','pgload=','','');

});

function findLibsWhenExpanded(){
if(jQuery('#donelocator').html().length ==0){

findLibs('','','','','pgload=','','');

}
}

function findLibs(loc, start_holding, ht, format, pgload, group, ll)
{
var ajaxLocatorServiceUrl = "/wcpa/servlet/org.oclc.lac.ui.ajax.ServiceServlet?";

var inp = document.getElementById("inplocator");
if(inp) inp.style.display= 'inline';

ajaxLocatorServiceUrl += "wcoclcnum="+51629391;
if(loc != null && loc.length>0){
ajaxLocatorServiceUrl += "&loc="+encodeURIComponent(loc);
}
if(ll != null && ll.length>0){
ajaxLocatorServiceUrl += "&ll="+encodeURIComponent(ll);
}
if(start_holding != null){
ajaxLocatorServiceUrl += "&start_holding="+start_holding;
}
if(ht != null && ht.length>0){
ajaxLocatorServiceUrl += "&ht="+ht;
}
if(format != null && format.length>0){
ajaxLocatorServiceUrl += "&format="+format;
}
if(group != null && group.length>0){
ajaxLocatorServiceUrl += "&segroup="+group;
}
if(false){
ajaxLocatorServiceUrl += "&ip=";
}
if(pgload != null){
ajaxLocatorServiceUrl += "&"+pgload;
}
OWC.UTIL.ajax(ajaxLocatorServiceUrl, {serviceCommand: 'holdingsdata'}, function(data) {
jQuery('#donelocator').html(data);
setPopupDivs();
inp.style.display= 'none';



});
}

function setPopupDivs(){
//call the javascript now
// dropdowncontent.init("libsdisplay-num", "right-bottom", 100, "click")
// var edit = document.getElementById("libsdisplay-edit");
// if(edit) {dropdowncontent.init("libsdisplay-edit", "left-bottom", 100, "click");}

var form = document.getElementById("libsdisplay-form");
if(form) {dropdowncontent.init("libsdisplay-form", "left-bottom", 100, "click");}


var format = document.getElementById("lib-formats-pop01");
if(format) dropdowncontent.init("lib-formats-pop01", "left-bottom", 100, "click");

format = document.getElementById("lib-formats-pop02");
if(format) dropdowncontent.init("lib-formats-pop02", "left-bottom", 100, "click");

format = document.getElementById("lib-formats-pop03");
if(format) dropdowncontent.init("lib-formats-pop03", "left-bottom", 100, "click");

format = document.getElementById("lib-formats-pop04");
if(format) dropdowncontent.init("lib-formats-pop04", "left-bottom", 100, "click");

format = document.getElementById("lib-formats-pop05");
if(format) dropdowncontent.init("lib-formats-pop05", "left-bottom", 100, "click");

format = document.getElementById("lib-formats-pop06");
if(format) dropdowncontent.init("lib-formats-pop06", "left-bottom", 100, "click");

format = document.getElementById("lib-formats-pop07");
if(format) dropdowncontent.init("lib-formats-pop07", "left-bottom", 100, "click");

format = document.getElementById("lib-formats-pop08");
if(format) dropdowncontent.init("lib-formats-pop08", "left-bottom", 100, "click");

format = document.getElementById("lib-formats-pop09");
if(format) dropdowncontent.init("lib-formats-pop09", "left-bottom", 100, "click");

format = document.getElementById("lib-formats-pop10");
if(format) dropdowncontent.init("lib-formats-pop10", "left-bottom", 100, "click");
}

function loadtags(tagid)
{
var value = document.getElementById('tags_'+tagid).innerHTML;
var ctrl = document.getElementById('TagEntry');
var text = ctrl.value;
value = value.replace('&','&');
//value = value.replace('&amp','&');
if(text == ""){
text = text + trimAll(value);
}
else{
text = text + "," + trimAll(value);
}

document.getElementById('TagEntry').value = text;
var pos = ctrl.value.length;

if(ctrl.setSelectionRange){
ctrl.focus();
ctrl.setSelectionRange(pos,pos);
}else
if (ctrl.createTextRange) {
var range = ctrl.createTextRange();
range.collapse(true);
range.moveEnd('character', pos);
range.moveStart('character', pos);
range.select();
}
document.getElementById('TagEntry').focus();
}


var inp;


function addTagsToItem_TagsSection(){
// Close everything that could've been open.
if (document.getElementById('tag_added_confirm_msg')) document.getElementById('tag_added_confirm_msg').style.display = "none";
document.getElementById('error_entertagsandapply_tagsection').style.display = "none";
document.getElementById('savetagerror_tagsection').style.display = "none";

var data = document.getElementById('TagEntry').value;

// Remove all blanks from front and end (can't seem to find a trim() function)
while(data.substr(0,1) == " ")
data = data.substr(1,data.length);
if (data.length > 0)
{
while(data.substr(data.length - 1,1) == " ")
data = data.substr(0,data.length - 1);
}

/// Nothing left? display error
if (data.length == 0)
{
document.getElementById('error_entertagsandapply_tagsection').style.display = "block";
return false;
}

// var legalChars = /^[w|&|-|'|s|,]*$/; // include letters,digits,underscore,hyphen,ampersand,apostophe & Space
var illegal = /[.><?/+=)(*^%#@!~`:;[]{}\¡¿©®™¢£"'""«»—°±¼½¾×÷???¤†‡±¶§‰™¬...•º°]/;

var splitData = data.split(',');
var validCount = 0;
for(var i=0; i 0)
{
while(splitData[i].substr(splitData[i].length - 1,1) == " ")
splitData[i] = splitData[i].substr(0,splitData[i].length - 1);
}
if(splitData[i].length > 75)
{
document.getElementById('savetagerror_tagsection').style.display = "block";
return false;
}
if(splitData[i].match(illegal))
{
document.getElementById('savetagerror_tagsection').style.display = "block";
return false;
}
if (splitData[i].length > 0)
{
validCount++;
}
}

// If there was just a bunch of commas (no tags with length > 0)
if (validCount == 0)
{
document.getElementById('error_entertagsandapply_tagsection').style.display = "block";
return false;
}
return true;
}

function doLoginForAddFav(name, symbol)
{
showLoginPopupDiv('Add library to Favorites',
'to add a Favorite Library.',
'https://www.worldcat.org/account/?page=login&redirect=/oclc/51629391?dofavlib=true&favsymb=' + symbol + '&favname=' + name + '#borrow');
return false;
}

function doLoginForTags()
{
var theLink = "https://www.worldcat.org/account/51629391?page=login&ref=" + encodeURIComponent(location.href) + "#tags";
showLoginPopupDiv('Create tags',
'to create tags.',
theLink);
return false;
}














div.fixed{position: absolute;
top:expression(eval(document.compatMode &&
document.compatMode=='CSS1Compat') ?
documentElement.scrollTop
+((documentElement.clientHeight-this.clientHeight)/2)
: document.body.scrollTop
+((document.body.clientHeight-this.clientHeight)/2));
}
div.select-free iframe{
position:absolute;
display:block;
top:0;
left:0;
z-index=-1
filter:mask();
width:450px;
min-height:220px;

}

}








Close Window















Please sign in to WorldCat 


Don't have an account? You can easily create a free account.




























Cancel

Forgot your password?





















var facet = getCookie("LAC-User-FacetedQuery");
if(facet){
jQuery('.ft_limiter_checkbox').each(function(){
this.checked = facet.indexOf("kb:")>-1;
});
}






/*
* 3rd-party JavaScript library Dynamic Drive Terms of Use require the notice below within the script tag that refers to the .js file.
* A 3rd-party tool is being used to generate the script tags, and it does not support inline comments,
* so the notice is placed here.
*/

/***********************************************
* Accordion Content script
* Drop Down / Overlapping Content script
* all � Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use.
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code.
***********************************************/

//dropdowncontent.init("util-sms", "left-bottom", 100, "click")
dropdowncontent.init("util-em", "left-bottom", 100, "click")
dropdowncontent.init("util-cite", "left-bottom", 100, "click")



//dropdowncontent.init("util-ask", "left-bottom", 100, "click")

dropdowncontent.init("util-pl", "left-bottom", 100, "click")



dropdowncontent.init("soc-list", "right-bottom", 100, "click", function(){
onOpenCloseLists();
})

dropdowncontent.init("item-preview", "right-top", 100, "click")

//dropdowncontent.init("help-what", "left-bottom", 100, "click")

//dropdowncontent.init("util-srchscope", "left-bottom", 100, "click")

function addItemToList(id)
{
var lists = jQuery("#target_list")[0];
var selected = lists.selectedIndex;
if(selected < 0) {
OWC.UTIL.log("You didn't actually select anything (" + selected + ")");
return;
}
var listname = lists.options[selected].value;


var loggedIn = false;


if (loggedIn)
{
var url = "/webservices/root/process/lists?listAjax=item_ajax&target=" + listname + "&add_to_list=Save&itemid=" + id;
document.getElementById('add_to_list_button').disabled=true;
document.getElementById('create_list_button').disabled=true;

OWC.UTIL.ajax({ url: url,
method: 'GET',
dataType: "json",
success: addItemToListSuccess
});
}
else
{
var url = encodeURIComponent(location.href);
showLoginPopupDiv('Save to a list','to save items to a list','https://www.worldcat.org/account/?page=login&ref=' + url);
}
}

function addItemToNewList(id)
{
var listname = encodeURIComponent(document.getElementById("soc_list_name").value);


var loggedIn = false;


var privacy = "public";
var privacyFlag = document.getElementById('soc-list-newprivacy-pri').checked;
if (privacyFlag == true)
{
privacy = "private";
}

if (loggedIn)
{
var url = "/webservices/root/process/lists?listAjax=item_DRR&sourceaction=add&listname=" + listname + "&create_list=create&privacy=" + privacy + "&itemid=" + id;
document.getElementById('add_to_list_button').disabled=true;
document.getElementById('create_list_button').disabled=true;

// AJAX call.
OWC.UTIL.ajax({
method: 'GET',
url: url,
dataType: "json",
success: addItemToListSuccess
});
}
else
{
var url = encodeURIComponent(location.href);
showLoginPopupDiv('Save to a list','to save items to a list','https://www.worldcat.org/account/?page=login&ref=' + url);
}
}

function clearListDivFields()
{
$('div_list_new_error').innerHTML = "";
$('div_list_new_error').style.display = "none";

document.getElementById('soc-list-newprivacy-pri').checked = false;
document.getElementById('soc-list-newprivacy-pub').checked = true;
var list = document.getElementById("target_list");
if (list != null)
{
list.selectedIndex = "";
}
}

function closeListDiv()
{
var div = document.getElementById("soc-list-sub");
if (div == null)
{
dropdowncontent.hidediv('util-list-sub');
}
else
{
dropdowncontent.hidediv('soc-list-sub');
}
}

function onListDivClose()
{
clearListDivFields();
document.getElementById("soc_list_name").value = "";
document.getElementById('add_to_list_button').disabled=false;
document.getElementById('create_list_button').disabled=false;
closeListDiv();
}

function addItemToListSuccess(message, json)
{
OWC.UTIL.log("ajaxlists.jsp::addItemToListSuccess - start");
clearListDivFields();
if (message[0] == "success")
{
var printMessage = 'This item has been added to your list [list_name].';
printMessage = printMessage.replace("[list_link]", message[1]);
printMessage = printMessage.replace("[list_name]", message[2]);
document.getElementById("soc_list_name").value = "";

var id = message[3];
if(id != null)
{
var name = message[2];
name = name.replace("´", "'");
var opt = new Option(name, id);
document.getElementById("target_list").add(opt,undefined);
}

$('list_message').style.display = "block";
$('div_list_success').style.display = "block";
$('div_list_error').style.display = "none";
$('span_success_list_link').innerHTML = printMessage;
closeListDiv();
}
else if (message[0] == "error")
{
$('list_message').style.display = "block";
$('div_list_error').style.display = "block";
$('div_list_success').style.display = "none";
closeListDiv();
}
else if (message[0] == "errorDRR")
{
$('div_list_new_error').style.display = "block";
if (message[1] == 'duplicate')
$('div_list_new_error').innerHTML = "Each list you create must have a unique name. Please enter a different list name.";
else if (message[1] == 'noname')
$('div_list_new_error').innerHTML = "Please provide a name for your list.";
else if(message[1] == 'toolong')
$('div_list_new_error').innerHTML = "Your list name must be less than 75 characters long. Please enter a different list name.";

}
else if (message[0] == "redirect")
{
window.location.href = message[1];
}
else if (message[0] == "login")
{
window.location.href = "/webservices/root/process/lists?listAjax=item_detailed&target=" + message[1] + "&add_to_list=Save&itemid=" + message[2];
}

// unblock button
document.getElementById('add_to_list_button').disabled=false;
document.getElementById('create_list_button').disabled=false;
}

var ajaxServiceUrl = "/wcpa/servlet/org.oclc.lac.ui.ajax.ServiceServlet";
var userLists = null;
function onOpenCloseLists()
{

var loggedIn = false;


if (loggedIn)
{
if (userLists == null)
{
userLists = getLists('soc-list-txt');
}
}
else
{
var url = encodeURIComponent(location.href);
showLoginPopupDiv('Save to a list','to save items to a list','https://www.worldcat.org/account/?page=login&ref=' + url);
}
}

function getLists(id)
{
OWC.UTIL.log("ajaxlists.jsp::getLists - start");
OWC.UTIL.ajax({
url: ajaxServiceUrl,
data: {serviceCommand: 'getLists'},
dataType: "json",
success: function(lists) {
if (lists != null)
{
document.getElementById(id).innerHTML = lists.listsHTML;
}
}
});
return (document.getElementById(id).innerHTML);
}



qm_create(0,false);

Popular posts from this blog

Florida Star v. B. J. F.

Danny Elfman

Retrieve a Users Dashboard in Tumblr with R and TumblR. Oauth Issues