Hi everybody,
I found the jQuery Cycle plugin which is very interesting.
So, there is the following script that should return the images:
$(function() {
// retrieve list of slides from server
$.getJSON('slidelist.php', startSlideshow);
function startSlideshow(slides) {
/* server returns an array of slides which looks like this...
I have two forms on one html page. Using jQuery, is it possible to have the data from both forms go into the POST data when the first is submitted?
...
Hi,
I'm using the jQuery cycle plugin and want to display the current state of the slideshow (pause / continue) in a separate span.
Now I don't find an event that is triggered when the slidehow pauses or unpauses, to set the corresponding text.
How can I achieve this?
...
I am completely new to jquery and found this plugin for an image slider. It works for images, but I added text next to my images for description. After I did that, my first image and the respective description show up fine on the first panel, but the following two images dont show up since they get lined vertically rather than horizontal...
I'd like to highlight long sentences (say, 50 words or greater) contained in an array of paragraph objects on a page, ie $("#content p"). I'm not sure how to tackle this.
I originally tried to highlight all sentences, but ran in trouble when they contained HTML tags (example highlighting code on the net seem to be for individual words o...
I am using a jquery context menu plugin (http://www.trendskitchens.co.nz/jquery/contextmenu/) which works fine but I want to work for all children of a selector currently I have the below but it only applies to divs with class area and I need it to apply on div's with class area and all its children.
$('#container-area .area').contextM...
I have a form that I currently enumerate with some Javascript functionality and then post it with jQuery .ajax() to a MVC controller action. I have few questions on my options if I wanted to add traditional (no-javascript) support for posting this form.
1) The thing is I have some data that is not in fields but it is just text in divs....
I am trying to find out how to find the position that an item appears in a list. For example:
<ul>
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ul>
If I clicked on item 2, I would want to receive '2'. Is this possible?
...
Hi,
I have a jQuery dropdown to display a div 500px in height. The problem is that the links to show this div are above the page fold, and the dropdown div which fades in shows below the fold.
I've been experimenting with scroll.to to move the page down if the new div is not in view (but leaving the user where they are if it is complet...
Hi!
I'm trying to show a value of selected Drop Down List item in a label. I managed to make this work with Web Forms but with MVC I'm totally lost. My Index looks like this:
[...]
<% using (Html.BeginForm()) { %>
<table>
<tr>
<td>Processor</td>
<td><%= Html.DropDownList("lstProcessor1", n...
hi;
i need get browser navigator handling example. i'm using example:
imagine for many tab opener.
open new tab and switch to main tab opener page and create new tab.
close first opened tab.
click browser navigator back button. focus last tab. re click back , focus main tab opener , re click back stay main tab and history back disabl...
Hi, I'm trying to creat special event for jQuery. I want to make controled delay, which will work when user stops fo 0.5s. But I can't use setTimeout.
jQuery.event.special.keyupdelay = {
add : function(handler, data, namespaces) {
var delay = data && data.delay || 100;
return function(event) { ...
Hi,
As the title states, Jquery is turning my text white in certain areas of the page. it cant be the im using to encapsulate the ajax call, because it works fine when im not calling the ajax
Its a bit difficult to post the whole script, because its huge and i dont know where its happening. I have no idea how to debug this using fire...
It's often claimed that learning a lower-level language is a good foundation for any new developer. What about an experienced developer (say a C++ or Java guy) learning Javascript? in the same way should he learn using the raw language so he understands what's going on, and learn JQuery later, or use JQuery from the start as 'part of' Ja...
Having the following html snippet
<div class="something">
<p>Some text</p>
</div>
<div class="somethingElse">
<p>some other text</p>
</div>
I think the following jquery snippets are identical (will have the same result):
$(".something").find("p").css("border", "1px solid red");
$("p", ".something").css("border", "1px solid r...
Hey guys
First, please see this post on Doctype
I've been trying to get an answer to this, but have not been successful. The script that the first poster provided works great but, I need this to happen automatically, for all groups of matching Rel's.
Any assistance would be greatly appreciated.
EDIT:
For those of you unable to follo...
Hi I have the following JSON returned in a variable called data.
THIS IS THE JSON THAT GETS RETURNED...
[
{"Id": 10004, "PageName": "club"},
{"Id": 10040, "PageName": "qaz"},
{"Id": 10059, "PageName": "jjjjjjj"}
]
and I am trying to loop through the collection using $.each but I am running into problems where the alert is showing ...
Hi.
I have a div containing several other divs containing an image. It looks smth like this
<div id="parentHldr">
<div class="imgHldr"><img src="foo/bar.png" id="1"></div>
<div class="imgHldr"><img src="foo/bar.png" id="2"></div>
<div class="imgHldr"><img src="foo/bar.png" id="3"></div>
<div class="imgHldr active"<img src="foo/bar....
I have a problem with the JQuery autocomplete plugin.
It's hard for me to explain but whenever I try to press a key it keeps looping with requests to the server.
See:
http://members.lycos.nl/saccon/loop.jpg
It should only request once!
Can anyone help me please?
...
Hi guys, I am developing a menu using jquery.
The menu grows dynamically, and i need to keep the appearance for each level.
And i do, but the problem is now the browsers. IE and Mozilla.
I am using jquery to get the width of unordered lists for when i pass with the mouse over the next level opens, in that width shifter to the right
ht...