hideshow

emacs: Does HideShow work with xml-mode (sgml-mode)?

I use hideshow.el in my cc-mode buffers to collapse sections of the file I'm not looking at. It would be nice to be able to do that in an XML doc. I use emacs 22.2.1 and the built-in sgml-mode for xml editing. I haven't gotten hideshow to work with the XML. I mean, I turn on the minor mode but the keystrokes have no effect. Ooh, e...

jQuery Hide/Show with Slide on Hover... better way to do this?

Basically having some trouble with using Hover to hide or show an item. The idea is simple, on hover show a div. When no longer hovering, hide it. Problem is if the mouse hovers over the div and leaves too quickly, the show/hide div will stay visible. I'm hoping this is something easily remedied and not a typical problem with the h...

Jquery code working in Chrome but not in Firefox

I have this piece of code that reveals a couple of divs when it is clicked and then they are hidden once another link is clicked. I'm trying to get this to show in Firefox and it may not be a problem in the js but all help is greatly appreciated. <script type="text/javascript"> $(document).ready(function(){ $('.fadein')....

iPhone loading view from nib only works once

Hi Forum I'm trying to add a «loader-view» to my app which shows a spinner while doing stuff. This works fine the first time, but it doesn't work a second time. here's what I do: I have a viewController for the spinner (spinnerViewController) and a nib-file which I made in IB (spinner.xib). I load the nib in the viewDidLoad-event: ...

Using javascript, show a certain amount of divs based on an answer

I'm building a form that first asks if you have 'foo'. If the answer is 'Yes', a div appears and asks 'How many foo do you have'? Based on the quantity answered, I'd like to show only that many divs. Thus if the user answers 1, only the first div will show. If they answer three, the first three will show. I have it set so that if the use...

Emacs hide/show support for C++ triple-slash Doxygen markup?

I use Doxygen's triple-slash syntax to markup my C++ code. There are two important cases which arise: 1) block markup comments which are the sole element on the line and may or may not begin flush left; e.g. class foo /// A one sentence brief description of foo. The elaboration can /// continue on for many lines. { ... }; voi...

how to hide broweser address bar using javascript on client side using java script in onload function of body

how to hide broweser address bar using javascript on client side using java script in onload function of body ...

not working IE8 if option value selected switch css

i know there is probably a better way of doing this, i have tried many ways. i would normally do the .hide() or .show() but the css display switch has been working better on FF, not on IE. anyway here is my code $(".VariationSelect option[value='21']").click(function () { $("#21").css("display", "block"); }); $(".VariationSelect opt...

accordion if/else logic

Hi. I'm guessing my if/else logic is skewed. Basically I have an accordion structure where, on page load, the first accordion pane is half-revealed to a height of 150px. Then when the user clicks on the accordion header it fully opens to a height of 320px. On the next click it should close and act normally like the other accordion elemen...