If I don't solve it tonight, yes, I will find a place to post it and get back to the list...thanks for the advice...I'm proceeding with just what you suggested.
On Jul 26, 8:56 pm, "Benjamin Sterling" <[EMAIL PROTECTED]> wrote: > I don't anything in your code that may cause issue. I would suggest that > you take out some of the effects and then test it with just the .html()s and > see if the issue persists. But now that I think about it, you should > probably change them to .text() since you are only putting text in. > > You will need to baby-step it thru the code; take everything out and start > putting back in till it breaks. > > Is there a way to post a test page? > > On 7/26/07, mcraig <[EMAIL PROTECTED]> wrote: > > > > > > > Thanks...I do believe it is an innerHTML/non-block related issue...but > > don't know how to work around it as (again) (a) new to jQuery and (b) > > never heard of this kind of error before. Also (and I'm hoping this > > is not the show stopper) I am testing in IE 7. Here is all the code > > and the only jQuery code I am using (sorry about the formatting...it > > makes it easier for me to see the bugs when i try to line up certain > > elements of code. > > > <script> > > $(document).ready(function() { > > $("#navholder div").hide(); > > $("#navbar a").corner("4px;"); > > > $("#switchcontent").hide(); > > $("#logincontent").hide(); > > $("#switchkey p").corner("bottom 6px;"); > > $("#loginkey p").corner("bottom 6px;"); > > > $("#switchkey p").click(function() { > > $("#switchcontent").animate({height: 'toggle', > > opacity: 'toggle'}, > > 500, function() { > > > > if > > ($("#switchcontent").is(':visible')) { > > > > $("#switchkey > > p").html('Close Site Panel'); > > > > $("#switchkey > > p").corner("bottom 6px;"); > > > > } > > else { > > > > $("#switchkey > > p").html('Site Panel'); > > > > $("#switchkey > > p").corner("bottom 6px;"); > > > > > }; > > } > > ); > > } > > ); > > > $("#loginkey p").click(function() { > > $("#logincontent").animate({height: 'toggle', > > opacity: 'toggle'}, > > 500, function() { > > > > if > > ($("#logincontent").is(':visible')) { > > > > $("#loginkey > > p").html('Close Login'); > > > > $("#loginkey > > p").corner("bottom 6px;"); > > > > } > > else { > > > > $("#loginkey > > p").html('Login'); > > > > $("#loginkey > > p").corner("bottom 6px;"); > > > > > }; > > } > > ); > > } > > ); > > > $('#navbar a').click(function() { > > $('#navholder [EMAIL PROTECTED]"' + this.name + > > '"]').slideToggle().siblings('div:visible').slideUp('fast'); > > }); > > > }); > > </script> > > > On Jul 26, 1:49 pm, "Benjamin Sterling" > > <[EMAIL PROTECTED]> wrote: > > > Mike, > > > Great story, it brought a tear to my eye :) > > > > Do you have a demo page for us to look at? Some code? Sounds like a > > > innerHTML/non-block level element issue, but not sure off hand. > > > > On 7/26/07, mcraig <[EMAIL PROTECTED]> wrote: > > > > > Ok...so I just got this mock up working great in firefox and realized > > > > that after all that work (new to JQuery), I had never tested it in > > > > IE. But, figuring it was cross browser and I was going to test on the > > > > latest IE that this would not prove problematic. And of course, > > > > nothing I was doing was that tricky really (ok, once I learned how > > > > best to do it)...a couple <divs> a-toggling, a little inner html being > > > > updated....nothing really fancy as far as code goes. > > > > > So a-lauching I go in IE...nothing looks particular wrong but nothing > > > > happens when I start clicking on trigger-happy links and there is a > > > > glaring nasty exclamation point in my lower left !!! It says "invalid > > > > source html for this operation" and proceeds to point me to what seems > > > > to be a blank line of code in my final source. > > > > > Hello? What the heck does that mean? I cannot have spent this time > > > > learning jQuery and doing some really fabulous code to make navigation > > > > more streamlined and subtle for my customer only to find out it does > > > > not work in other browsers...or did I? > > > > > With a tear in my eye, I'm begging...is there an easy answer to this > > > > dilemma ? > > > > > Mike > > > > -- > > > Benjamin Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.com- > > Hide quoted text - > > > > - Show quoted text - > > -- > Benjamin Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.com