Thank you Andrei!
Nice and simple, very well!
Andrei Eftimie wrote:
script type=text/javascript id=demoscript
$(function(){
if (document.location.href.indexOf('showdiv=yes') 0)
$(#display).show();
});
/script
On Sat, Feb 13, 2010 at 5:37 PM, dikker
script type=text/javascript id=demoscript
$(function(){
if (document.location.href.indexOf('showdiv=yes') 0)
$(#display).show();
});
/script
On Sat, Feb 13, 2010 at 5:37 PM, dikker dikkk...@hotmail.com wrote:
Hi guys,
Am a beginner with Jquery and what i want is
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
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):
table
tr
tda href=# class=install_toggleShow options/a/td
/tr
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
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.
script
$(document).ready(function() {
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 mitul...@gmail.com wrote:
I am trying to have a div show and hide based on the value of a
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();
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
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:
div id=test
embed
whatever here
/embed
/div
now on that I want a user to be able to click a button to show/hide
the content. so i create a
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
I am working on a toolset that shows/hides divs. The divs are named
id-1 to id-6.
div id=id-1
content
/div
div id=id-2
content
/div
And so on. The script I have written is below:
script type=text/javascript
$(function(){
$('#id-2').hide();
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
can you post a test page with the code you posted above?
On Aug 10, 9:00 am, maffo a...@thisisrealart.com 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
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:
pinput type=radio name=donate_by value=by_cause
id=causelabel for=causeBy
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 li's except the first one and then loop
through all the images with a settimeout to fadin and
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);
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
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.
table
thead
tr
tdheading1/td
tdheading2/td
tdheading3/td
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
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,
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
Hello,
I have a list of fieldsets and each one has a legend.
I am thinking in having something like:
fieldset
legendPersonal Data/legend
ul
lifirst element/li
lisecond element/li
/ul
/fieldset
How can Show/Hide the ul when I click the legend?
I would like to have many fielsets
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
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
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
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!
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
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:
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
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) {
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) {
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 viklund_and...@hotmail.com wrote:
There is one instance of .show() and once instance of .hide() in his code...
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of MorningZ
Sent: Monday, January 26, 2009 10:11 PM
To: jQuery (English)
Subject: [jQuery] Re: jQuery show
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)
);
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: jQuery show(), hide() problems
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
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
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
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. Once
you fill
Hello,
I have a form as following:
form id=MyForm
fieldset
legendPersonal Data/legend
/fieldset
fieldset
legendOptions/legend
/fieldset
/form
I would like to hide/show each fieldset when its legend is clicked ...
... or even better, adding a small icon on
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
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){
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
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
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
Hi all,
I have code something like:
div id=box_1 class=box
div id=close_1_a class=closeimage_left/div
div id=title_1 class=boxtitleBox Title/div
div id=close_1_b class=closeimage_rightBox Title/div
div id=content_1 class=boxcontentbox content.../div
/div
div id=box_2 class=box
div
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
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,
html
head
script type=text/javascript
i have a simple hide the search button and replace it with a loading graphic
script, however on firefox if i hit the back button the loading image is
there not the search button. On IE the search button is back as expected
$(document).ready(function(){
$(#search-form).submit( function() {
i have a simple hide the search button and replace it with a loading
graphic script, however on firefox if i hit the back button the
loading image is there not the search button. On IE the search button
is back as expected
$(document).ready(function(){
$(#search-form).submit( function() {
I have a select box with this structure:
select name=taxonomy[3] class=form-select required id=edit-
taxonomy-3
option value=4OPTION1/option
option value=5.OPTION2/option
option value=984.-OPTION3/option
option value=983-OPTION4/option
option value=35OPTION5/option
option
I have found this question in the archives and set up a test page based on
the responses I have found. But for me it is not working, the section is
hidden and doesn't reappear no matter what is selected. I have tried
several different browsers. The real task is on a more complex page, I am
http://www.mredesign.com/demos/jquery-show-hide/#thedemo
got it working just the way I wanted (thanks, Glen!)
I wrote out these rules long hand as I went through the creation/learning
process,
but I am sure there are several ways I could compact this to fewer lines.
Anybody want to have
I'M on IE7. It seems like the flashing occurs right after the slide up
function has been called, after it slides, it flashes very fast, but
you should be able to see it... I have seen other examples of sliding
effects that are not doing this... So maybe I am doing something
wrong...
Thanks
Hi thnks for your reply, I am using ie7. The issue is occuring just
after a slide out, seems to me that the div is actually reappearing
for half a second just afterwards... I have no idea why is so, I have
seen other examples using the slide out effect without seeing the same
issue that I see on
I seen no flashing here. What browser are you on?
On 29 sep, 16:28, wizofoz777 [EMAIL PROTECTED] wrote:
My website is using slie in out hide functions, but I have no idea
why, when I am hiding (slideout) my differents div, the content
flashes the screen before it hides away... I have tried
My website is using slie in out hide functions, but I have no idea
why, when I am hiding (slideout) my differents div, the content
flashes the screen before it hides away... I have tried many thing,
but I can get rid of that anoying behavior... I need help please...
could it be a swf conflict ?
This is probably very simple (I'm still learning so take it easy on
me). When a user clicks a menu item while on Tab 2, I want the default
area to hide, and then the relevant area to show. Here is the file so
far with notes on what should happen on clicked events:
...
script
Hi all,
I've got two select boxes side by side - initially the right hand side
box has ALL options in it - and the left hand box can be used to filter
the options displayed.
Probably not the best way to do it (in fact, defintiely - it doesn't
work in IE) but the left hand list has options
i can imagine that most people here cant see this topic anymore but
however help is needed.
i have this bit of code here (and god knows how old, unstylish and
inefficient the code below might be) and all i am trying is to make
one or two particular divs with set ids/classes to show and hide
Source HTML file:
---
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN http://www.w3.org/
TR/xhtml11/DTD/xhtml11.dtd
html xmlns=http://www.w3.org/1999/xhtml;
head
titleShow/Hide Test/title
script type=text/javascript src=js/jquery.js/script
script
62 matches
Mail list logo