Watchlist

Here you find products you put onto the watchlist before. Click the links to get to the product again. Compare calmly and save interesting products also for your next visit.

Your watchlist is empty.
Einträge  
Contact
Cornelia Lentge

Executive assistant

+49 391 / 6117 - 300

Send email


INB Vision AG
Postal address:
Leipziger Str. 44
39120 Magdeburg
Germany

Delivery and visiting address:
Brenneckestr. 20
39118 Magdeburg
Germany
info@inb-vision.com
+49 391 / 6117 - 300
+49 391 / 6117 - 301
var watchList_tbody = $('table#list_cookiewatchlist tbody'); var watchList_table = $('table#list_cookiewatchlist'); var btn_delAll = $('button#emptyWatchlist'); var msgEmptyWatchlist = $('div.empty_watchlist'); var itemsArr = []; var sendData = $('form#requestInfosAboutItems > button#submitForm'); var sendDataContent = $('form#requestInfosAboutItems input#watchlist_content'); sendDataContent.val('[]'); //-- Formular Value bei erneuten Seitenladen zurücksetzen auf default [] if (cookieData.length !== 0) { $(btn_delAll).css('display', 'block'); $.each(cookieData.reverse(), function (idx, val) { $(watchList_tbody).append('' + '' + '' + val.title + '
' + val.link + '
' + '' + val.created + '' + '' + '' + ' ' + '' + '' + '' + ''); }); } else { $(watchList_tbody).empty(); $(watchList_table).hide(); $(btn_delAll).hide(); $(msgEmptyWatchlist).css('display', 'block'); } $(document).on("click", "a.selItem.btn.btn-default", function (e) { e.preventDefault(); var id = $(this).parent('td').find('a.selItem').attr('id'); var title = $(this).parent('td').find('a.selItem').attr('title'); var link = $(this).parent('td').find('a.selItem').attr('href'); $(this).parent('td').find('a.selItem').attr('checkbox_status','active'); var newItem = {"id": id, "title": title, "link": link}; if ($.inArray(title, itemsArr) === -1) { itemsArr.push(newItem); } $(this).parent('td').find('a.selItem').removeClass('btn-default').addClass('btn-primary').css('color','white'); if (itemsArr && itemsArr.length) { $(sendData).fadeIn("slow", function () { $(this).css('display', 'block'); }); // $(sendDataContent).val(JSON.stringify(itemsArr)); } }); $(document).on("click", "a.selItem.btn.btn-primary", function (e) { e.preventDefault(); $(this).parent('td').find('a.selItem').removeAttr('checkbox_status'); var id = $(this).parent('td').find('a.selItem').attr('id'); var searchFilter = $(itemsArr).filter(function () { var numberOfIndexToDelete; if (this.id == id) { numberOfIndexToDelete = itemsArr.indexOf(this); if (itemsArr && itemsArr.length) { itemsArr.splice(numberOfIndexToDelete, 1); } return itemsArr; } }); if (searchFilter.length > 0) { //$(sendDataContent).val(JSON.stringify(itemsArr)); if (itemsArr.length == 0) { $(sendData).fadeOut("slow", function () { $(this).css('display', 'none'); }); $(sendDataContent).val(JSON.stringify(itemsArr)); } } $(this).parent('td').find('a.selItem').removeClass('btn-primary').addClass('btn-default').css('color','#333'); }); $(document).on("click", "a.delWatchlistEntry", function (e) { $(this).addClass("delWatchlistEntryExecute").removeClass("delWatchlistEntry").addClass("btn-danger").removeClass("btn-default"); }); $(document).on("click", "a.delWatchlistEntryExecute", function (e) { e.preventDefault(); var linkToDel = $(this).data('href'); var searchFilter = $(cookieData).filter(function () { var numberOfIndexToDelete; if (this.link == linkToDel) { numberOfIndexToDelete = cookieData.indexOf(this); if (cookieData && cookieData.length) { cookieData.splice(numberOfIndexToDelete, 1); } return cookieData; } }); if (searchFilter.length > 0) { $(this).parent().parent().css('background', '#d82919').fadeOut(1000, function () { $(this).remove(); }); $.cookie("watchlist", cookieData, {path: '/'}); } if (cookieData.length == 0) { $(msgEmptyWatchlist).css('display', 'block'); $(watchList_table).hide(); $(btn_delAll).hide(); } }); $(btn_delAll).click(function (e) { e.preventDefault(); var buttontext = $(btn_delAll).text(); var confirm = window.confirm(buttontext+"?"); if(confirm == true){ $.removeCookie('watchlist', {path: '/'}); $(this).css('display', 'none'); $(watchListNavStar).removeClass('red'); $(watchList_tbody).empty(); $(sendData).remove(); $(watchList_table).hide(); $(msgEmptyWatchlist).css('display', 'block'); } }); var sendDataContent = $('form#requestInfosAboutItems input#watchlist_content'); sendDataContent.val('[]'); var tableData = []; $('button#submitForm').on("click", function () { //e.preventDefault(); var id,title,status; $('a.selItem').each(function () { id = $(this).parent('td').find('a.selItem').attr('id'); title = $(this).parent('td').find('a.selItem').attr('title'); status = $(this).parent('td').find('a.selItem').attr('checkbox_status'); if (typeof(status) === 'undefined') { status = 'not_active'; } tableData.push({"id":id,"title":title,"checkbox_status":status}); }); $(sendDataContent).val(JSON.stringify(tableData)); });