JQuery :: Get Slide Down To Work?
Apr 30, 2010I want some content to slide out down when the title of a section is clicked.
Here is what I have, and I cant figure out why it is not working. [code]...
I want some content to slide out down when the title of a section is clicked.
Here is what I have, and I cant figure out why it is not working. [code]...
I'm having a little trouble with 2 differentJS scripts. I have a drop down slide menu and a parralex slide gallery. Both work on separate pages and puton the same page they still work however the submenu of the slide down menu does not. if I remove the style sheet that belongs to the gallery
Then the munu works, however (obviously) the page layout goes wrong. if i remove<h1 class="title">Alex Holland Perspective</h1> the menu works however page layout goes wrong andI loose my header
Here is the code.
I am working on a slider for a client site and all works fine when I place the css directly in the page - but when I move it to external file it does not pick up any of the styles that are required to make the slider work.
View 3 Replies View RelatedI used JQUERY to create a slideshow on my website. It worked fine off-line but when i uploaded it on the server it doesn't work at all. I'm very new to this so i was wondering if its the coding, server or the script that makes this problem.and the problem is in each and single one of those pages in the menuknow if I should post a certain part of the script or the html file to ensure a better solution.
View 4 Replies View RelatedI use superfish plugin on my website [url] for the menu. The fade method for showing works ok (but it's sometime "flickers", a little bit annoying but it's ok), but i can't make it slide, using height or width method.
I use for example this to show up :
Opacity will work, but not width, and it's the same for height.
I canīt get the Captions of the cross slide demo to work.
<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.min.js"></script>
<script type="text/javascript" src="xxx.js/jquery.cross-slide.min.js"></script>
<div id="kenburns"></div>
<script>
$(function() {
[Code]...
The images appear and are zooming and sliding but I canīt get the caption work. What I am doing wrong. Wld be great if someone have a solution.
I wanna create a functionality where on clicking a (minus) button a div show slide up and and the image should change to (plus). Again on clicking the plus button. the content div should slide back out
[Code]...
I'm making a form with some fields. Once the form is submitted it updates the page with a new div containing the data entered without refreshing. Im using jquery form plugin. What I'd like to achieve is the new div(.record) to .slideDown. I guess I need to somehow specify the exact div by giving it an id or number. I'm not sure and why im here.
At the moment when i submit all of the divs(.record) are hidden with .hide, then they all slide down with .slide. Best i can understand is to hide the last div then slide down. But again.. I don't know how to specify to only slide down the last div added and not the current .record divs on the page.
[Code]...
I'm using jQuery cycle plugin right now, and I want to add a new slide based on the newly created image and I want to replace this slide later if the user has updated the image. I read the document of jQuery cycle, and I found it's using onBefore callback to do the job, but it's not on the fly, how could I do it on the fly?
View 2 Replies View RelatedHow to insert and remove slide in jquery cycle before the first slide.
View 3 Replies View RelatedI am very new to using jquery (and any javascript at all really) and I am having a dillema. I am trying to have several expandable sections of my webpage but I only want one to be opened at a time so I want to use slideUp and slideDown rather than slideToggle.
I want to use the same button to open and close the section. How do I do this? Here is my current jquery code, as of right now when I click expandButton1 the itemContent1 section closes and then reopens immediately:
[Code]...
It's for a navigation on my website. I want to have the sub-categories sliding down, if you click on a parent-category. I made it and there's no problem. But I want the sub-categories to slide away with a second click on the parent-category and I don't know how to do this.
to give you an example of my code:
the html:
<ul>
<li><a href="#">Home</a></li>
<li class="menuparent"><a class="menuparent2" href="#">Info</a>
[Code].....
Trying to learn the basics... Here is a script for three toggle buttons that each when clicked open their corresponding divs. Fine. Now how does one go about automatically closing an open div when clicking on a new 'toggler' that opens it's div? I see other posts about this very question, but I'm just not grasping the logic.
jQuery(document).ready(function($) {
$("#toggle1").click(function () {
$("#toggle1div").toggle("drop", {direction:"right"}, 500);
});
$("#toggle2").click(function () {
I am implementing the following example into a project I'm working on...Simple Slide PanelWhen clicking Slide Panel, the panel pushes everything down. How do you modify it so that instead of pushing everything down, it just slides down over the top of everything else?
View 4 Replies View RelatedI'm trying to manipulate the functions of Codaslider for a layout. What I need is the ability to use an image for slide dynamic slide navigation. I've solved the issue for dynamic hashing, however I'm stuck at modifying the HTML. I've tried a few things but I figure this is the easiest way...
[Code]....
I've seen websites that had large flash ads that covered content on pages that, after they had run, resized or disappeared.
We would like to use the technology behind that (presumably JavaScript) to show and hide an intro flash on a home page. We would like to have a "close" link on the flash also.
I have searched Google and here but haven't found any good resources and many of the sites I have seen using the technology are no longer using them. I just need a little assistance on the JavaScript part of the puzzle.
We want the flash to start over the copy on the page and then roll out softly when it's done playing, revealing the content below. Code:
I have this simple slide down when you hover over menu, using the following JS and can been seen here..
Code JavaScript:
$(function(){
$('.sub-menu').hide();
$('.menu-item').hover(
function () {
var target = $(this).children('ul');
$.browser.msie ? target.show() : target.slideDown(150);
[Code]...
I'm after it working exactly the same apart from when you hover over the button the menu appears and slides up rather than down, slides above the buttons.
I'm trying to get a mootools plugin to work with a slide in/slide out javascript using multiple divs. Here's the page: [url] The mootools code (Noobslide) slides a main image on the right when you click thumbnails on the left, which are wrapped in a thumb mask using CSS. The first row of thumbnails works perfectly, but when it's passed on to the next div the mask isn't passed on and the effect breaks down.
Here's the html:
The javascript:
The CSS:
Im a starting graphic designer, 21 yrs of age and just rolling into this webdesign industry. Ive come a long way, do have some knowledge.. but when it comes to complicated things like JS I often visit knowledgeable forums like these.
I hope I can contribute into making this community richer.
Now, Ive implemented this slide out menu succesfully before, only now it seems that ive mistaken somewhere. The menu just pops out instead of sliding out like it should.
Code:
<script type="text/javascript">
$(document).ready(function(){
var docked = 0;
$("#dock li ul").height($(window).height());
[Code]....
And if you want to see a working example of how it should be look here.
slide show, am trying to hide "next" link when it reaches last slide
[Code]...
I have this script, it works fine, I just need to get the slide down to only work if the user has been on . quick-search-link for 1+ second, otherwise ignore the slide down.
$(".quick-search-link").mouseenter(function(){
$(this).children("img").slideDown("slow");
$(this).children("span.quick-search-descr").slideDown("slow");
});
How can I do a slide down after one second of hovering over the link? Here is the code that I currently have:
$(".quick-search-link").mouseenter(function(){
$(this).children("img").slideDown("slow");
$(this).children("span.quick-search-descr").slideDown("slow");
});
I don't want those 2 slide downs to occur unless the user hovers over .quick-search-link for one second.
I have a div with a table and 4 cells in the table. What I want to do is get the cells to 'slide' from right to left and keep rotating though the div, like an endless carousel.
View 1 Replies View RelatedI have a first got my firstslide show working. I read in an XML file and then place the contents into a JavaScript array object and then with a left and right arrow I can scroll through the images by fading one out and then fading the other in. All is well here.
Now I would like to slide the images from right to left or left to right depending on the arrow press.
My first image is paced in a container with this
$('#slideShowBox').html( "<img src= '" + galleryArray[picIndex].imgLoc + " ' id = 'myID' width='640' height='480' alt = '" + galleryArray[picIndex].imgAlt + " '/> ")
To start with I thought I could move the image to the left with:
$('#arrowRight').click(function(){ $('#myID').animate({
'left': "-=640" },{
queue: false,
duration: 500 }
);
And that would slide the image to the left.
How would I slide the image to the left since that does not work?
I came across a jquery slide out menubar here [url] . its a mouse over menu bar made with jquery . however i would like to know if the slide out can be brought out through a click rather than a mouse over .
Here is the source :
I've got a quick question about jQuery's slideDown method. Unfortunately, I can't think of any sites that have this at the moment, but you know how some sites have a menu that has an entire div (or table) slide down when you hover over an element? And then you have the sites that slide down either the same thing or just a bunch of <li>'s? How can the effect of sliding down the entire div be achieved? The animation looks completely different from my site (which I will provide below). I will edit my post if I can remember the sites that have this, but for now, I can only provide my site which has the "rolling down" or "sliding down <li> tags" effect: [URL]
View 6 Replies View Related