narrowed down but not solved
this causes error in ie $('.body').block({ message: '<img src="/img/2-0.gif" />', css: { border: '1px solid #FFF; background: #FFF;' }}) yet this works $('.body').block({ message: '<h1>Processing</h1>', css: { border: '3px solid #a00' } }); so bit of further investigation and I now understand it css: { border: '1px solid #FFF; background: #FFF;' } needed to be (no semi colons and make the css setting a JSON object - ff et al are more forgiving) css: { border: '1px solid #FFF', background: '#FFF' } - S 2009/9/15 Sam Sherlock <sam.sherl...@gmail.com> > seems this may be relevant [1] but I can't find where I can parseInt - > might be a plugin that is causing the issue > > I am using blockui - I thought that noticing that blockui uses this sz() > which parses the int - maybe I need to make another plugin use sz() > > this results from the following > $('.tabs a, a.groove').live('click', function(event, args) { > jLinkCall(event, args, this); > event.preventDefault(); > event.stopPropagation(); > return false; > }); > > [1] > http://stackoverflow.com/questions/933564/jquery-widthval-error-in-ie-invalid-argument > > - S > > > 2009/9/15 Sam Sherlock <sam.sherl...@gmail.com> > >> following up on that when debugging I can continue through the error and >> it works as expected. but with debugging off the process is interrupted >> - S >> >> >> 2009/9/15 Sam Sherlock <sam.sherl...@gmail.com> >> >> js code: >>> function jLinkCall(e, a, o) { >>> var jUrl = null, jArgs = null, obTitle = ''; >>> // console.info('jLinkCall'); >>> // console.info(e); >>> // console.info(a); >>> // console.info($(o).attr('href')); >>> >>> jUrl = $(o).attr('href') + ''; >>> jUrl = jUrl.replace(/.html/, ''); >>> >>> if($(o).attr('title')) >>> obTitle = $(o).attr('title'); >>> >>> // block with growl >>> //$('#body').growlUI('Growl Notification', 'Have a nice day!'); >>> $('.body').block({ >>> message: '<img src="/img/2-0.gif" />', >>> css: { border: '1px solid #FFF; background: #FFF;' }}) >>> $.post('./json.php?p='+jUrl, null, jLinkComplete, "json") >>> >>> // convert the html url to json url >>> // process the json object >>> // oncomplete call jLinkComplete >>> >>> } >>> >>> function jLinkComplete(data, status) { >>> // console.info('jLinkComplete'); >>> // console.info(data.titleStr); >>> // console.info(status); >>> $('body').attr('class', '').addClass(data.titleStr); >>> $('.body').empty().html(data.contentStr).unblock(); >>> init(); >>> } >>> >>> set up in dom ready >>> $('.tabs a').live('click', function(event, args) { >>> jLinkCall(event, args, this); >>> event.preventDefault(); >>> event.stopPropagation(); >>> return false; >>> }); >>> >>> This is an issue that only is apparent in ie7 & 8 all works without >>> issue in other browsers - not ie 6 though (but who cares) any ideas? >>> >>> >>> - S >>> >> >> >