jQuery Twitter like ticker. How To?
Hi, I have a working ticker, but I want the text to fade out to the left and right just like on the twitter wellcome page. any ideas how to realise that? ...
Hi, I have a working ticker, but I want the text to fade out to the left and right just like on the twitter wellcome page. any ideas how to realise that? ...
Hello. I've a huge problem. I'm having a div named "#box" that loads external content after clicking links in it: $("#box a").click( function(e) { e.preventDefault(); var hash = this.parentNode.hash; $("#boxLoaded").load('boxFiles/'+ hash.substring(1) +'.html'); $("#box").fadeOut(100); $("#boxLoaded").fadeIn(200);...
Hi guys, I am looking around for a jquery drop down menu with RTL support for Arabic. Thanks. ...
Hi, I am using below code to apply different background color to odd and even rows: $('#tbl tr:odd').css('background-color', '#ECF6FC'); $('#tbl tr:even').css('background-color', '#ffffff'); But odd and even rows show up differently in FF and IE, for example: FF: IE: As can be seen, in FF, first row turns out to be white while...
I try to keep it simple: Problem: how to fetch the first element (weight here) from the new Array with JQuery Current JQuery: function xyz() { var the_url = 'http://longurl'+encodeURIComponent(searchBox.val()); var x1 = $.ajax({ type: "GET", url: the_url, ...
I'd like to be able to group items in a sortable list. If I group two items, then those two should be dragged together and be put inside a container that I can style. Those items inside that group should be able to be dragged as well inside the group, but that's just a bonus :) Does anyone know if this is "possible" jQueryUI Sortables?...
Ok I have a very basic function which moves the background position of a div to give it a 'sheen' effect and a second one which shifts it back. If I get the div by its ID that works fine. But when I try to make the function a bit more universal by using 'this' - it breaks. This works fine: function runsheen() { $('#sheen').animate(...
I have read from documentation how can I set minheight and minwidth of modal dialog. $("#sample").modal({ minHeight:400, minWidth: 600 }); However, even if I rewrite the sample html from <a href='#' class='basic'>Demo</a> to <a href onclick="$('#basic-modal-content').modal({ minHeight: 1000, minWidth: 1000 });" >Demo</a>...
Hey I'm trying to include list of my followers on my site. Here's my code: $.getJSON('http://twitter.com/statuses/followers.json?screen_name=username',function(data){ alert(data); }); However, nothing happens. No errors, other js still works, just this doesn't work. What is wrong? Martti Laine Ps. I'm using jQuery for this, as ...
say I have a bunch of radio buttons in an html form. How do I find and disable all radio input types with a given name="?" value (where ? can be anything I specify)? ...
Hello everyone: I'm trying to use the easySlider jquery plugin.i want just to reproduce. http://cssglobe.com/lab/easyslider1.5/01.html I see the images in a list,but can't see Next,Previous Links. Do i should add them to my html even they are not in the demo page. here is the code: <%@ Page Language="C#" AutoEventWireup="true" Code...
IN PHP its like this but in Ruby is how if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && $_SERVER['HTTP_X_REQUESTED_WITH']=="XMLHttpRequest") { }else{ // header("Location: " . base_url()); } ...
I have a set of vertical tabs about a quarter of the way down my page. They are all visible on page load from the top of the browser window. When you click on a tab, it scrolls down and puts the tab content at the top of the window. I know why it does this, is there anyway to override this behavior so that the tabs change content but the...
Hi, i have a little problem with the Google Feed API and jquery each. The problem: I get a reload when i click on the start button. Can somebody explain me why? HTML <input type="button" onclick="tkk_rss_check();" value="start"/> JS $(document).ready(function trt() { tkk_rss = {}; tkk_rss['32'] = new Array("gulli:New...
$(document).ready(function(){ $('#something ul a').click(function(e) { ... ... e.preventDefault(); }) }); what is the e for and the e.preventDefault mean so i can understand what is happening here ...
Hi all, I'm currently working on something like a tree, and I want to be able to fold/unfold children. I guess the most easy way to get this is by using nested lists, but I can't use them because I don't have access to the HTML code. This is the relevant simplified HTML code: <table> <tbody> <tr rel="1"><td><a href="#" id="...
hi, I am trying to make google maps v3 work with ASP MVC with markers from a database. I got this working fine with version 2 of the api as decribed in an article I found ( http://mikehadlow.blogspot.com/2008/10/using-google-maps-with-mvc-framework.html?showComment=1280600518852#c4603834263614352338 ), but I am unable to convert this v2...
I'm using this jquery plugin http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/ I have several optgroups for this application, some of which have options of more than 50 to go with an optgroup. Is there a way to be able to hide an optgroup when the user clicks on the heading? Thanks. ...
Hello everyone, Let me start by saying that I'm not a power-JavaScript/jQuery programmer, I do very basic things with it, yet sometimes things get a little hairy for me, like this one. My case: I have a list of testimonials (around 20) and every week (Mondays) I need to updated them. My problem: I update them manually. I mean, I ope...
Hi, I am using jQuery.ajax to parse some xml from a file. Everything works fine in IE (6,7,8), Firefox, Opera and Safari, but fails with Google Chrome. Here is the code: /* ... */ this.loadXml = function() { $.ajax( { type: "GET", url: "some_file.xml", dataType: ($.browser.msie) ? "text" : "xml", success: function(xml) { ...