show-hide

JavaScript: Show / Hide <DIV> based on URL string

Hi, I need to show a DIV on two pages (URL's) but not on the others. (I have jQuery on the pages if that helps.). I'm a complete noob so all help is very much appreciate. Thank's! Case (1) where I want to show the DIV: On the start page, when the web browser address field reads 'www.mydomin.com' The start page is PHP so I guess the f...

Making the tab bar disappear on switiching views - iPhone programming

I am posting my own solution since I spent a lot of time hunting for it and finally figured it out using the clues from stackoverflows posts. http://kaustubhvibhute.blogspot.com/2009/11/making-tab-bar-dissappear-on-switiching.html ...

Hide/Show Div Effect - Ruby on Rails 2

What is the best way to create a hide and show effect in rails 2. Is it to use a JQuery type solution or is there something as good, better or easier built in? ...

jquery ie6 issue swaping videos through hide/show while playing.

So my code is: Click the link show the div. I'm using the jquery flash embed object. $(document).ready( function() { $('a.overview').click( function() { $('#overview').show(); // show div.contact $('#evaulting').hide(); // hide div.contact $('#his').hide(); // hide div.contact }); }); $(do...

jquery hiding works in .live and fails in .ready

Both of the below functions (which are identical except for when they should run) are in $(document).ready. The .live version works as expected, hiding 2 divs when the selector is checked and showing them when it is unchecked. The .ready version does nothing but it is supposed to hide the specified divs when the page is loaded. The chec...

hiding a span in mootools

hi geeks!!! i'va simple code in mootools which shows hides a span tag..but by default, it sows the text which i want to be shown only upon clicking a show button.. can anyone tell me how to hide a span tag in mootools? Element.implement({ fancyShow: function(){this.fade('in');},fancyHide: function() {this.fade('out');}}); ...

jQuery Show/Hide by class when multiple items contain the said class

Thanks in advance for helping me out (for those who have time and are willing). I've written this script: $(document).ready(function() { // hides the slickbox as soon as the DOM is ready // (a little sooner than page load) $('.foliobtn').hide(); $('.folionamedate').show(); // shows the slickbox on clicking the noted link ...

Show / Hide page data depending if users are logged in or not. Coldfusion / Dreamweaver

Hi there, I am trying to create a way to show and hide a number of different elements on my page, depending if the user is logged in or not. For example I want to hide 'Logout' is users are not logged in, and 'login' when they are. I'm using Coldfusion and Dreamweaver - is there any quick easy code I am able to use to wrap around the ...

Container div not expanding in IE when using jquery show() on div inside it.

Hi all, I have been building a form that contains expandable sections with it. The divs are toggled using the hide() and show() methods of jquery. It all works ok in Chrome and FF, but in IE the main div containing the other ones does not expand to fit when a section is opened up inside it. I have tried changing various properties suc...

Flex : How to hide a row in AdvancedDataGrid ?

I have an AdvancedDataGrid with a ArrayCollection as its dataProvider. For instance i have a CheckBox that allows me to show or hide certain rows in the AdvancedDataGrid. Any idea how i could do that? ...

How to space some DIVs in columns without a <br />

I'm trying to have two or more columns worth of DIVs for input elements in a form. It's a very complex form, and some elements will be hidden and shown depending on some answers. The problem is I can't get the DIVs to space accordingly in IE6 while having an effective hide/show. This is what mostly works: .first_column { float:left; ...

jquery toggle multiple divs turning one on and the rest off

Greetings, I'm trying to think of a way to use an accordion widget (which I'm currently using, h3 is the trigger) that when an h3 is selected another div appears, then when a different h3 is selected, a new div appears and the other disappears and so on. so I have a three column layout, left column is my accordion widget, when the...

Way to quickly show/hide WinForms GUI C#

I'm creating an app that is threaded. I started GUI (Announce : Form) as separate thread. That window will be very minimalistic with one input box and maybe a button. On another thread there will be Tcp Client running and when it gets info from TcpServer it should pass what it gets into that inputbox and show the gui (and topmost window...

Hide/Show content when checkbox is clicked?

Hey, I have a code segment here: <div class="label"><%= f.label :course %> <span>(Does this relate to a specific course?)</span></div> <%= check_box_tag(:no_course) %> <%= label_tag(:no_course, "None") %><br /> <%= f.collection_select(:course_id, @current_account.courses.find(:all, :order => "name"), :id, :name) %> How c...

jQuery to toggle content, having problems changing image on toggle

Im trying to implement a jQuery toogle div. When you click the image (image of a down arrow) the content will slide down. Now when this happens the image is SUPPOSED to now show an arrow pointing up (but it just goes blank), clicking the up image should slide the content back up and out of view. $("img.toggle1").toggle(function(e){ ...

How do I change the speed of a jQuery show/hide over time?

I want to take a regular jQuery show/hide, like the slideDown method: $('p').slideDown('fast'); and make it so that it slows down as it gets closer to the end, providing a somewhat animated effect as opposed to the default linear rate. I forget how this is done. Via the callback function somehow? ...

Hide / Show Winforms GUI C# from another thread.

This post is continuation of http://stackoverflow.com/questions/2167625/way-to-quickly-show-hide-winforms-gui-c, as it doesn't work for me in this particular case. I've got 2 problems: 1 is that the mainAnnounceWindow gui should start hidden and later on when called by: windowStateChange("Show") it should show, by windowStateChange(...

show/hide first level divs with jquery

Hello, I would like to show and hide the divs that are just under body tag, not the ones which are under another div tag. For example in the code below I'd like to hide with jquery div1 and div2, but not div1A, div1B, div2A and div2B. I know that if I hide div1 then div1A and div1B will be hidden. <body> <div id="div1"> <div...

Is it possible to hide specific Desktop-icons with C#?

Hi, I'm searching for a way to hide specific Icons from the Desktop. I usually have way to much icons on my desktop (which makes finding a file a real hassle), so I would like to write a little tool, which "filters" them as I type. I do not want to "move" or delete them, just hide (or darken) them. I know how to toggle show an hide-stat...

How to check if anything is visible in a div

I have a script on my page which loads content from an ad network into a div. This ad network has an 80% fill rate i.e. it only serves an ad 80% of the time, the other 20% of the time it doesn't show an ad. Sadly, the ad network doesn't provide me with a callback to tell me when it hasn't served an ad. As a consequence, sometimes this di...