Re: [jQuery] Show/hide div based on URL parameter

2010-02-17 Thread dikker
Thank you Andrei! Nice and simple, very well! Andrei Eftimie wrote: > > >$(function(){ >if (document.location.href.indexOf('showdiv=yes') > 0) > $("#display").show(); >}); > > > On Sat, Feb 13, 2010 at 5:37 PM, dikker wrote: >> >> Hi guys, >> >> Am a beginner

Re: [jQuery] Show/hide div based on URL parameter

2010-02-14 Thread Andrei Eftimie
$(function(){ if (document.location.href.indexOf('showdiv=yes') > 0) $("#display").show(); }); On Sat, Feb 13, 2010 at 5:37 PM, dikker wrote: > > Hi guys, > > Am a beginner with Jquery and what i want is as follows. > I have a div that should be hidden on default, b

[jQuery] Show/hide div based on URL parameter

2010-02-13 Thread dikker
Hi guys, Am a beginner with Jquery and what i want is as follows. I have a div that should be hidden on default, but when a certain URL parameter is present, then the div is visible. I am basing the following on this demo : http://sandbox.ajaxcssblog.com/jquery/jquery.url/url-demo.htm I have th

[jQuery] Show Hide 'td' on click of a link

2010-02-12 Thread shabby
I have a table that contains information that is hidden within a 'td' element. Users can access this information if they wish by clicking on a link that is held in another 'td' element on the previous row (table structure below): Show options some option info Show options s

[jQuery] show/hide

2010-01-12 Thread tabu
Hello, I'm new to javascript and jquery library, I have script running which functions fine only problem I have with it is that I want to close other divs when another is selected, I guess like an accordion style but using the toggle, slide fade-in functions. The problem I have is that once each bu

Re: [jQuery] show/hide div on select change

2009-11-18 Thread Charlie Griefer
You're missing a $ on this line: ('#id_status').change(function() { Change to: $('#id_status').change(function() { unsolicited word of advice... run firebug :) On Wed, Nov 18, 2009 at 11:44 AM, mtuller wrote: > I am trying to have a div show and hide based on the value of a select > list. I

[jQuery] show/hide div on select change

2009-11-18 Thread mtuller
I am trying to have a div show and hide based on the value of a select list. I have looked at a number of examples, but can't seem to get it to work. Would appreciate someone taking a look at what I have and giving me any advice. $(document).ready(function() { $('div.textfield1').hide();

[jQuery] show/hide ui.tab?

2009-11-09 Thread Shawn
I have a series of tabs using UI. I need to hide some tabs depending on the selection in the first tab. Doing $("#tab3").hide(); doesn't work. This is what I have thus far: $("#div.jobtype input[name='jobtype']").click( function () { $("#tabLocations").hide(); $("#tabSegme

[jQuery] show/hide problem

2009-10-24 Thread Daniel Donaldson
I am trying to have a image (link button) appear within a div on mousenter for the div, and disappear on mouseleave. I have this working in the following code as expected, but I only want it to apply to the specific div that is being entered/left. The way I have it right now it applies to the clas

[jQuery] show/hide with embed

2009-10-15 Thread ngreenwood6
Ok so I found an issue with using embed code and jquery's show()/hide () method. I am using embed code inside of a div. so it looks something like this: whatever here now on that I want a user to be able to click a button to show/hide the content. so i create a function like this: function

[jQuery] Show/hide effect div on mouseover

2009-10-02 Thread Mface
Hi, I have a CSS menu that I created using div that current appears using the hover function in the CSS. What I would like to do is incorporate javascript to utilise the effect of fading in when the mouse moves over the 'menu' text and then with a delay fades out when the mouse moves out of the m

[jQuery] Show/Hide

2009-09-15 Thread Richard Walsh
I am working on a toolset that shows/hides divs. The divs are named id-1 to id-6. content content And so on. The script I have written is below: $(function(){ $('#id-2').hide(); $('#id-3').hide(); $('#id-4').hide(); $(

[jQuery] Re: Jquery Show/Hide playing up in Safari

2009-08-10 Thread amuhlou
can you post a test page with the code you posted above? On Aug 10, 9:00 am, maffo wrote: > Note:  I have also posted this on jqueryhelp.com but I havent resolved > this issue. > > http://www.jqueryhelp.com/viewtopic.php?p=9713 > > I have just started a new job and am building my first website f

[jQuery] Jquery Show/Hide playing up in Safari

2009-08-10 Thread maffo
Note: I have also posted this on jqueryhelp.com but I havent resolved this issue. http://www.jqueryhelp.com/viewtopic.php?p=9713 I have just started a new job and am building my first website for them. Im using Jquery to try and impress them but after trying and testing the site in Safari, I am

[jQuery] Show/hide on radio button click

2009-08-04 Thread Magnificent
Hi all, I'm trying to do a show/hide on a radio button click and I do have it working, but I'd like to make it more...extensible/independent of hard- coding children elements to show hide. My dummy html structure is: By Cause: Please select cause(s) below: Cause 1 Cause 2 Cause 3 By Found

[jQuery] show hide slideshow

2009-08-03 Thread xandercoded
I know this may be simple, nonetheless I am having issues. Below is the code im working with. Can someone guide me as to a way of getting my custom slideshow to work properly. Expectations: Hide all 's except the first one and then loop through all the images with a settimeout to fadin and fadeou

[jQuery] show() hide()

2009-07-21 Thread lionel28
I have this simple code, slides down and up smoothly in Firefox but is choppy in IE when I added the hide() and show(). Please what is wrong wih it? $(document).ready(function() { $("#open").click(function(){ $("#hideme").hide("fast"); $("div#panel").slid

[jQuery] show/hide positioned to its trigger

2009-06-24 Thread roxstyle
i am trying to learn how to position a show/hide module to the "a" that triggers it, instead of a literal positioning through css this is a sample of the module i am trying to position. http://www.roxstyle.com/projects/blssi/cms/de-tool/proj-distribution.html instead of setting the css margins a

[jQuery] Show/Hide multiple table rows. Pls help

2009-06-22 Thread Kerry
Hi, I have a problem i've been trying to solve for a while. I have a table that is dynamically generated. I need to be able to hide and show certain table rows. for e.g. DATA1

[jQuery] Show/hide divs depending on form parameters

2009-06-13 Thread Mark
Hi all, I am pretty new to jQuery, and I'm looking for a way to kind of 'filter' divs depending on the parameters supplied by a form. I have three select boxes that set 'area', 'level', and 'time' parameters (for courses). I have given corresponding classes to some example divs, and I want the

[jQuery] Show/Hide Content won't hide last record?

2009-04-23 Thread codecutie
I have a loop to display all the records in my table and am using the show/hide content function on the record link so the info displays in a box (div) anyways, for some reason the last record on the page always has it's div box open, and the "close" and "toggle" links don't work for that record,

[jQuery] show hide random rows

2009-03-17 Thread Bob O
I was wondering if anyone could point me to a tutorial or blog where i can accomplish this task. Basically i have a YUI datatable and i want to use jQuery to hide all but a user generated number of rows that are random selected so if i had 50 records in the table and the user input 10 in a text

[jQuery] Show/Hide element

2009-03-15 Thread shapper
Hello, I have a list of fieldsets and each one has a legend. I am thinking in having something like: Personal Data first element second element How can Show/Hide the ul when I click the legend? I would like to have many fielsets on a form and being able to Show/ Hide the cont

[jQuery] Show/hide multiple TDs with one function?

2009-03-08 Thread deadbeatjam
Hi. I have a table with multiple TDs (with different classes) that I want to toggle (show/hide) with one function, from checking different checkboxes that relate to the different TDs. I'm thinking I should pass a variable to the function (from each checkbox) which then show/hides the different T

[jQuery] Show hide and print

2009-03-04 Thread rayfidelity
Hi, I have a problem, I have an element which I show (let's say fadein ("slow")) on certain action (it's set on display:none in CSS). The problem is that i want to print that page without that element...how can i do that... fadein, show,... all set the element on display:block which means the el

[jQuery] Show/Hide Menu

2009-03-02 Thread Nic Hubbard
I have a menu that is activated on mouseover a link. The menu is a hidden div which appears. My problem now is how to remove/hide that div when a user move their mouse off of the menu. I have tried adding a mouseout event to the div, but because there are child divs inside that div, any mousing

[jQuery] show/hide on hover event (newbie question)

2009-02-26 Thread introvert
Hello I have a simple div inside which I want to show an image on hover (rollover) and hide on mouseout of the div. I tried doing it with toggle() but that will only change the visibility on hover. How can I do that? Thanks for help!

[jQuery] show/hide content

2009-02-15 Thread lionel28
Hi, I once saw a jquery script where you can display content based on count 5 | 10 | 20 It defaults on 5 items. When you click on 10 it displays 10 items and so on Can someone please point me to a link? Thank you -- View this message in context: http://www.nabble.com/show-hide-content-tp22

[jQuery] show/hide (toggle) dynamic table row

2009-02-15 Thread Info
Hello - thank you in advance for your help! I would like to use the toggle function to show hide a table row BELOW a dynamic row, so the table would look like this row from database with data row I want to show hide (defaults to hide) I know how to do this when the table is static but how do I

[jQuery] Show hide layer on hover problem

2009-01-29 Thread cchun...@gmail.com
I have created a login layer that slides down from the top of the screen and i want it so that if the mouse leaves the layer or you click outside of the layer it slides back up. I have it working on mouse out but it is buggy and since i am new to this i am sure there is probably a much better way

[jQuery] Re: jQuery show(), hide() problems

2009-01-26 Thread Anders Viklund
})( jQuery ); I think this has something to do with the version of jQuery, version 1.1.2 worked out of the box, but 1.3b1 needed the code above to be added. What function might have replaced TransferTo in 1.3b1? > Date: Mon, 26 Jan 2009 20:11:32 -0800 > Subject: [jQuery] Re: jQu

[jQuery] Re: jQuery show(), hide() problems

2009-01-26 Thread Mike Alsup
> > 1) What is "TransferTo"? Hmm, isn't TransferTo an old "interface" fn? Another q, what does the event binding code look like? (ie: who is calling openWindow and closeWindow)

[jQuery] Re: jQuery show(), hide() problems

2009-01-26 Thread Rick Faircloth
bject: [jQuery] Re: jQuery show(), hide() problems > > Few questions that may help others help you > > 1) What is "TransferTo"? > 2) You say in the topic "show(), hide()" problems... there is no "hide > ()" in that limited code you show > 3) Why use &qu

[jQuery] Re: jQuery show(), hide() problems

2009-01-26 Thread MorningZ
Few questions that may help others help you 1) What is "TransferTo"? 2) You say in the topic "show(), hide()" problems... there is no "hide ()" in that limited code you show 3) Why use "$()" in a few places and "jQuery()" in another? On Jan 26, 5:20 pm, viklund_anders wrote: > Hi, > > I would l

[jQuery] jQuery show(), hide() problems

2009-01-26 Thread viklund_anders
Hi, I would like some help to understand why this code works perfectly fine the first time I open the window and close it, after this I cannot open the window any more, unless I reload the page. Thanks for any ideas! function openWindow(messageText) { $("#append

[jQuery] jQuery show(), hide() problems

2009-01-26 Thread viklund_anders
Hi, I would like some help to understand why this code works perfectly fine the first time I open the window and close it, after this I cannot open the window any more, unless I reload the page. Thanks for any ideas! function openWindow(messageText) { $("#append

[jQuery] Show/Hide Toggle Table

2009-01-10 Thread mark
Hey Guys, I'm new to jquery, and haven't much experience with javascript. I'm trying to toggle a few rows on a table with a show/ hide. Is this possible with a table or do I need to rewrite my view using divs? $(document).ready(function() { // hides the slickbox as soon as the DOM is ready //

[jQuery] show/hide opacity gets stuck sometimes

2008-12-09 Thread Tijmen Smit
I'm working on a page where once you hover over a small photo, a bigger photo should appear underneath it with a small text. The box holding the photo does appear, and once you slowly move towards another photo it works fine. But once you quickly move from the top left to the top right, it get a

[jQuery] show/hide/toggle: suggestion to reduce show/hide code

2008-11-17 Thread Dylan Verheul
I'm building a new version of an often used data entry form on our site Waarneming.nl (int'l version Observado.org). It struck me that I often have to write something like this: if (cond) $(this).show() else $(this).hide(); Since jQuery is about reducing and chaining, wouldn't it be nice if I co

[jQuery] Re: jQuery Show/Hide validation problem

2008-11-05 Thread Jörn Zaefferer
Use the submitHandler-option to run code once the form is valid. Jörn On Wed, Nov 5, 2008 at 12:20 PM, Daniel <[EMAIL PROTECTED]> wrote: > > I am using jQuery show/hide functions on click, so when you click on > the contact link it hides that div and then shows a contact form. Onc

[jQuery] jQuery Show/Hide validation problem

2008-11-05 Thread Daniel
I am using jQuery show/hide functions on click, so when you click on the contact link it hides that div and then shows a contact form. Once you fill in the contact form and click submit it shows the thanks page div. I am using validation from here: http://bassistance.de/jquery-plugins/jquery

[jQuery] Show/Hide. Could someone, please, help me with this?

2008-11-04 Thread shapper
Hello, I have a form as following: Personal Data Options I would like to hide/show each fieldset when its legend is clicked ... ... or even better, adding a small icon on legend or somewhere in fieldset to toogle visibility. How can I do this with JQuery

[jQuery] Show/Hide items in unordered list

2008-09-30 Thread Wayne Dyck
I have a unordered list of, say, ten items. I want to initially show five items and provide the user with a plus and minus key to either increase or decrease the number of viewable items. This is commonly done in expandable content boxes and can be seen on sites such as http://www.bbc.co.uk I am

[jQuery] show hide selected on page load (beginner)

2008-09-10 Thread tlob
the following works pretty well on click: $('#form1 #ort_id option').click( function () { var wrapper = $(this).attr('value'); $('#schuppen-wrapper,#kirche-wrapper,#openair-wrapper,#andererort- wrapper').hide(); switch(wrapper){

[jQuery] Using jquery show/hide from different URLs

2008-07-15 Thread Al
Hi, I working on a project in which I am using Jquery to show/hide content. it is working fine, however I would like to have links on different pages pointing to such content. So, as for now, I can only use show/hide content with links on the same page (e.g. : page1.php). Is there a way to make

[jQuery] Show/Hide divs beginning with a specified string

2008-06-24 Thread Adam
Hi, I have a system where data is placed in a div, using AjaxSubmit to a php page, in the below format. {Employee Name1} {Date Mon} {Date Tue} {Date Wed} {Date Thu} {Date Fri} {Job Mon1} {Job Tue1} {Job Wed1} {Job Thu1} {Job Fri1} {Job Mo

[jQuery] Show/hide toggle hides form too...bah!

2008-05-22 Thread Ridge
I have this page: http://tinyurl.com/5hascg. I'm using JQuery for a few things - :hover on the main content blocks, form validation, and show/hide. By themselves, everything is working great! But it's the interoperability of the last two that are causing me a headache. When you click anywhere in

[jQuery] show/hide nested divs?

2008-04-23 Thread thekman
Hi all, I have code something like: Box Title Box Title box content... Box Title Box Title box content... All numbers are dynamically generated from the database. What is the best way to use jquery to close the correct content div? I am presuming I would use something like

[jQuery] show/hide flyout menu panel

2008-02-12 Thread SeanR
Hi all, my first post to this list, having exhausted the tutorials, plugins and documentation. I am building a flyout menu, where each flyout is a scrollable div (using jScrollPane for custom scrollers) containing a heading and unordered list of many items. Each flyout div is triggered from an an

[jQuery] Show/hide table rows from Select needs trim

2007-12-14 Thread Jay Fallon
Basically what I have is a table with two columns: dates & report names. Within the dates I have four separate views: Week, Month, Three Months (default selected) and Six Months (hidden). The select shows/ hides the table rows based on their view, showing all the reports up until the selected view

[jQuery] Show/Hide Div with checkbox options providing same results

2007-12-06 Thread Ryan
I'm completely versed in the show/hide options available, but have a problem I haven't been able to figure out. I'm hoping jquery will have the answer. I have 5 checkbox input options, the first two options providing the same show div. For example,