I currently have in development that's having a problem where there is a gap on the right side of the screen.
There is a horizontal scroll bar even when there normally wouldn't need to be, and when you scroll about 10-15px to the right there's a gap running down the right hand side of the site. I do HTML/CSS development all the time and...
I have a HTML form that mimics invoice input form.
This is the way I load invoice items (users select them thru autocomplete list using jQeury):
$(document).ready(function() {
$("#Products").focus().autocomplete('<%=Url.Action("GetProducts", "Product") %>', {
dataType: 'json',
parse: function(data) {
...
I need a way to get the current weather back for a certain city with javascript? Which API would I be better to use? Or are there any other apps that you can use an ajax request to get the current weather?
GeoPlanit required an appid so I haven't tried this yet and yahoo weather is an RSS feed. I have also read that Google's weather API...
I have a div used for filtering and i want it to close when anything outside of the div is clicked.
The selector I am trying to build, basically selects all elements except a specific element and excludes its children.
Here is what ive tried, but havent been able to get working
$('*:not(:has(.exclude *))').live('click', function() {Hide...
I'm building an auto-follow div that is bound to the $(window).scroll() event. Here is my JavaScript.
var alert_top = 0;
var alert_margin_top = 0;
$(function() {
alert_top = $("#ActionBox").offset().top;
alert_margin_top = parseInt($("#ActionBox").css("margin-top"));
$(window).scroll(function () {
var scroll_top = $(window)...
I am seeing a lot of sites these days, mainly tutorial sites that have a lot of images and they only load images further down the page once they come into the view port?
How would I go about doing this?
An example:
http://www.chopeh.com/blog/logo-design-start-to-finish/
As you scroll down the page the images below the view port fade ...
Hi all,
I've written a fairly basic jQuery plugin that takes an unordered list and creates a nice looking multi-selectable list. Calling it 'multiSelector', the plugin declaration looks like this:
jQuery.fn.multiSelector = function(options) {
// plugin code
}
The plugin actually runs on a containing div with an unordered list ins...
I'm using JQuery Datatables and i'm wondering, for efficiency sake, if I should initialize the Datatable when the page loads. Then when the user submits their query, call the datatable API to addData?
Alternatively i could just initialize the DataTable with the server query string.
...
Im trying to make a wordpress widget containing a jquery photo gallery. The widget will only be on a few pages on the site, so I would like to only load the jquery gallery plugin when the widget is actually shown. Any ideas on how to do that?
Im thinking I need to throw in a wp_enqueue_script in my widget function somewhere, but where?
...
I have a newsletter for one of my sites and I can't the email posted to the mysql database.
Here is the html form code:
subscribe
<h2>newsletter</h2>
<br /><input type="text" name="email" value="" id="email" />
<input type="button" name="submit" onclick="submit_it(...
My CSS:
#content {
border: 2px solid #4190d4;
padding: 220px;
background-color: #282828;
margin-top: 65px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
}
My jQuery:
$("#header a").click(function() {
$('#content').animate({padding: 300}, 500);
}
This code works perfectly fine in IE8, my #content div grows from 22...
We're using JQuery and I've come across the following JQuery vulnerability in the National Vulnerability Database:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2007-2379
Has this been fixed in more recent versions of JQuery? The original release date on the vulnerability is 4/30/2007.
I'm trying to ensure that the little JQuer...
Can the JQuery plugin "JCaousel" be configured to animate when the mouse is hovered over the next or prev buttons?
I have tried using the event "hover" but this didn't animate at all.
I have tried using the events "mouseover" and "mouseenter" but both of these only animate one time when the mouse is positioned over the button. The use...
Hi, i have a generated table that contains multiple rows with each row containing a leading td with a checkbox and another td with a select list =
<div class="table">
<table width="100%" class="tframe" id="table0">
<thead>
<tr class="trheadline">
<th>Selection</th>
<th>Repository-Tag</th>
</tr>
</thead>
<tbody>
<tr class="trow">...
I am really struggling with jQuery's autocomplete plugin. I have a large field in my database with multiple words in it, seperated by spaces:
forename surname address postcode
I can get the autocomplete to search for a single word. E.g. if I type "forename" I get an output of:
forename surname address postcode.
However, if I ...
I need to embed one webpage within another, the inner page will be wrapped by a <div> and not contain the html,head title or stuff like that, however the inner page can contain <link>'s to css that I dont want to affect the outer page
I currently fetch the html with ajax and insert it into the outer dom, to workaround the styles conflic...
Hello,
I created a product matrix/selector using Jquery and its working fine overall except for the price filter which is also working but kinda separate to the selector. Basically, at the moment when a feature is selected from the list it will present the product and if one wanted to filter based on the price they would select from the...
I have a Multiview search feature on a Web User Controller that is called within a Repeater, OHMY!!
I have some training sessions being listed out on a page, each calling an employeeSearch Web User Controller so people can search for employees to add to the training session. I have the Employee Names and Employee IDs listed out in JS on...
jqGrid and IE8 are not making friends... ( the jqgrid is invisible in the IE, sometime when the mouse is over it, it appears, but still after sec it disappears.
in FF, Chrome, Opera it works fine.
is there a good explanation for this??
...
hello.
i want to read multiple RSS feeds using jquery, i'm trying to write a flexible function that will just take the RSS URL and it will output only its TITLE AND IMAGE how to do that for multiple RSS URLs ?
...