Hi Guys,
Here for some help again :)
I've got this site: sharemyplaylists.com
that uses this scrolling plugin to smoothly bring the user to an anchor when clicked, here is the code:
// Smooth anchor link script
$(document).ready(function()
{
$('a[href*=#]').click(function()
{
if (location.pathname.replace(/^\//,'') == thi...
I am trying to make an update function for a webcam. What it does so far is make an ajax call and serve the Url of the image. I have some problem binding the result (after the image is loaded) to the dom element (ccam).
function update() {
$('#loading').show('fast');
$.ajax({
type: 'POST',
url: 'cam.php',
data: 'img...
Hey guys,
I found this wonderful website that have a loading bar on top of the page. The loading bar is like the browser's loading bar, but I find it very nifty and want to implement it as well in my pages.
http://www.cssjockey.com/
...
I'm having trouble making this work:
$(function() {
$(".button").click(function() {
var newentry = $("input#entry").val();
$.getJSON("/dictionary_request/", {entry: newentry}, function(json){
$("span").empty();
alert(json);
$("span").append(json);
});
});
});
The JSON request, the emptied span,...
I'm trying some event bindings with jQuery and I have this simple code in my document ready:
$(document).ready(function() {
$("p a").each(function(i, selected){
$(selected).hover(
function(event) { alert('over: ' + event.type); },
function(event) { alert('out: ' + event.type); });
}
)
});
So, when I move mou...
I am loading a bunch of images for a GUI which will pick attributes for my clients product.
Is it best to pre-load all the images at the start (which I'm guessing would take some time) and then have the GUI have full functionality or is it better to load images on the fly.
Essentially i am working on a picture/poster framing applicatio...
I just started using jQuery 1.3.2 on one of my sites - mostly DOM stuff but there's a little bit of ajax. My log records show consistent 404's coming from the folder where I keep the jQuery file, and the 'pages' triggering the error turn out to be snippets of the jQuery file:
){F.html(E?o(
]||!o.suppo
rt.htmlSerialize&&[1,
I've scour...
What is the correct (modern) method for tapping into the window resize event that works in Firefox, WebKit, and IE?
and can you turn both scrollbars on/off?
...
I think it's possible with jQuery, but any ASP.NET serverside code is good for my situation too.
With jQuery I can load a page to for example a div, and filter the div for <title> tag, but I think for heavy pages, it is not good to first read all of the content and then read the title tag..
or maybe it has a very simple solution? anyway...
Hi all
i am using jquery library in my project.I have terrible problem with jquery tabs.Solutions is that when i was in third tab,i post back my form,tabs reloaded and goes to first tab.
i am searching to solve problem long time.
<script type="text/javascript">
$(document).ready(function() {
$("#example > ul").tabs({ remote...
Hi All,
Thanks for reading.
I've noticed that if I have a page that has one or more ajax requests open, and I click a link to leave a page, or refresh it, it will wait for the ajax requests to complete before unloading.
This isn't usually an issue, but if the request takes a while, it can be.
I'm looking for something like:
$(window...
I have a aspx page that looks something like this:
<tr id="Row1">
<td>Some label</td>
<td>Some complex control</td>
</tr>
<tr id="Row2">
<td>Some label</td>
<td>Some complex control</td>
</tr>
<tr id="Row3">
<td>Some label</td>
<td>Some complex control</td>
</tr>
As soon as the page is loaded, I would want to reorder these...
I know I must be overlooking something. Here is my code, why is this not working:
<label>
Customer</label>
<%= Html.DropDownList("CustCodes", (SelectList)ViewData["CustCodes"], "-- Select a Customer --", null) %>
<script type="text/javascript">
$(document).ready(function() {
$("select#CustCodes").bind("ch...
I am currently using jScrollHorizontalPane to scroll through the thumbnails here. It's a great plugin, but unfortunately, the browser has to be resized for the scrollbar to show up. I suppose this is a bug, but the support is lacking.
My question is should I keep trying to get this to work correctly, or is there a simpler, or more effic...
I want to load part of an external page int on OS X widget. Using JQuery I can load the page but I then encounter errors trying ot put it in to the page.
I am having a problem filtering the returned html before I put it on the page.
I would like to be able to fetch the page, filter out the table I want, then append it to the page (at ...
I'm javascript newbie. What I'd like to be able to do is to call a function from .js file sitting in ASP.NET MVC project's scripts folder.
The function is:
function myfunction() {
alert("HELLO");
}
...and it resides in file brfix.js
On a viewpage I call it like this:
<script src="../../Scripts/brfix.js" type="text/javascript"><...
Is there a javascript or jQuery method to minimize the current browser window?
...
hi,
i am using jQuery BlockUI Plugin (v2) to block and unblock while loading and when on clicking some button.but my problem is masking is working fine while loading page but it is not working when we click button,here is my code
$("input[name^=filtera]").click(function(){
$.blockUI({message:'<h3><img src="images/spinner.gif" /> P...
The TD has a DIV inside which I removed using jQuery's fadeOut function, but when it finishes the border disappears too.
I want to avoid that, is there any way other than adding a " " (which causes it to be ugly)?
EDIT: I am using Internet Explorer (6 and 7)
...
I have a game on Google App Engine that's based on a 25x20 HTML table (the game board). Every 3 seconds the user can "move," which sends an AJAX request to the server, at which time the server rerenders the entire HTML table and sends it to the user.
This was easy to write, but it wastes a lot of bandwidth. Are there any libraries, clie...