show

Editable text functionality using jQuery

I have an image button and when I click it I want an specific field to go from text to an editable textfield, kinda like a dynamic edit button. So I have the plain text with certain id (ie. id="text1") and when I click the button, the text changes to an editable field, maybe something like $("#text1").hide(); and then $("#field1").show...

JQuery animation in IE 8

I am making an animated opening for a site, no flash, very simple, animation of opacity fade up of background layer, then logo grows out of image into position, then I show (slide in) the remaining divs. For some crazy reason, I have been unable to get this to work in IE 8. Works fine in Chrome and FF on Mac and PC. I haven't tested in ...

Passing a variable to trigger hide/show panels

I have a panel hide/show setup that is triggered from a list item anchor. Works great. The problem is, I also have a dropdown menu in the site navigation that also needs to trigger each panel, from any page on the site. Like say, I have panels (in this order), "Hardware", "Software", "Accessories" on the Products page. So when I'm on the...

Toast does not display when used in catch block

I noticed that a toast isn't displayed when it's used inside a catch block. Does anyone know how to show toasts when catching exceptions? An Example: try { // try to open a file } catch (FileNotFoundException e) { Toast.makeText(this, R.string.txt_file_not_found, Toast.LENGTH_LONG); return; // cancel processing } ...