Howdy,
i think iam going crazy ..
I have an webpage where iam displaying news comments dynamicly , the "Comment" link is connected to an JQuery function wich is displaying the comments for the news (..like show comments from news id = x)
But "onClick" handlers arent the best way or?
Thats my code in the moment :
ech...
I'm still learning both PHP and jQuery, and this seems to me to be a reasonably complex thing to try and do.
What I'd like to be able to do is use jCarousel's textscroller capability to display a list of URLs generated by a PHP function rather than the XML feed and URLs that jCarousel is written for. (Demo: http://sorgalla.com/projects/...
I am wondering what the googlebot will see when we use jQuery for rounded corners where jQuery generates the outer divs for the corners.
Will this method affect SEO ranking?
...
I am trying out $.ajax instead of getJSON for debugging purposes. Because getJSON did not report an error in IE (6,7 or 8) and I am trying to figure out why a jQuery plug-in is not painting my returned images to the screen in IE but is in other browsers.
So I tried this. Interestingly enough, it hits the error event in IE but not fire...
I have the following code in a JavaScript file:
$(document).ready(function() {
detectscreen();
});
$(window).resize(function(){
detectscreen();
});
function windowWidth() {
if(!window.innerWidth) {
// user is being a git, using ie
return document.documentElement.clientWidth;
} else...
I am using the JQuery Accordion. All is well in FireFox. In IE7, however, when I click a link in my document that expands one of the accordion menu headings my header server control is re sized (shrunken). How do I stop the screen re sizing? This is the peice of JavaScript in question:
if (!$('h3.ReferenceBackgroundHeader', '#References...
I don't understand what's happening here. If someone could explain, I would appreciate it. I need to create a photo gallery and have been recommended to look at this code but I don't understand how it works.
$(document).ready(function(){
imageSwapper(".thumbnails a");
});
function imageSwapper(link) {
$(link).click(function(){
...
Hello,
I am currently building an making my new website. It uses one page and uses a jQuery accordian menu to load the content. The content it split up in six different div's and all load as soon as the page is accessed. I want it to load each div when the link to it is clicked on. To decrease the page loading time.
You can see this in...
I am trying to load WalkScore Map into one of div's on the page. For some reason my code works only if I alert() something right after $.get() method. Have no idea why.
Can someone suggest something? Thanks.
<html>
jQuery - Ajax dynamic content loading
function loadWalkScore()
{
$.get("http://www.walkscore.com/ti...
I am trying to use Jquery to iterate through an array of textboxes where i only want textboxes that are 'enabled'.
can someone give me the best way to do this? Would i use the filter method ?
(ie:)
var arrayOfTextBoxes = $("[id$='" + textBoxId + "']");
var enabledTextBoxes = $(arrayOfTextBoxes).????
Thanks!
...
Hi all,
Newbie question...
The objective:
I intend to have an HTML text input field as a kind of command line input.
An unordered HTML list shows the 5 most recent commands. Clicking on one of the last commands in this list should populate the command line input text field with the respective command (in order to re-execute or modify...
I have the following code in a jQuery JavaScript document running on a page (THIS IS CURRENT):
$(window).resize(function(){
detectscreen();
});
function windowWidth() {
if(!window.innerWidth) {
// user is being a git, using ie
return document.documentElement.clientWidth;
} else {
return window.innerWidth;
}}
...
Hello,
I'm trying to apply styling to all elements with a title attribute. For some reason this code is only returning the first, not all. I'm probably missing something obvious... Any help would be great, thanks!
$("[title]").each(function() {
doSomething(this);
}
...
It seems that jQuery.browser is deprecated in the latest jQuery. The doc recommends that I use jQuery.support. Which of the support tests should I use to check if the current browser is Firefox?
...
Hello,
I have legitimate reasons to do what I am trying to explain. I have an existing site say abc.com which has regular pages etc. everything written in php. Now I would like to AJAXify the site i.e. when a user clicks on a link, it should fetch the link using AJAX and replace the page contents. This is the easy part and I can achieve...
I have a group of checkboxes that all have the same name. They all have different values. They are just part of a form. They do not make up the entire form. I want the checkboxes to display their error AFTER the last checkbox of that group.
is it possible to do something like this in jQuery?
$("#myform").validate({
errorPlacement: fu...
Can you inject aspx forms along with their functionality into a div using the jQuery ajax load method. I am essentially trying to create a modal popup that allows me to load remote web forms into the popup and have the user use the form and submit.I have the modal built and it transitions in perfectly, however it isn't worth it to use if...
Hi, I'm trying to outline the top element being hovered.
$(function()
{
var ElementSelector = null;
var SelectedElement = null;
$("*:not(div#ElementSelector)").hover
(
function()
{
SelectedElement = ($(this).length > 1 ? $(this).find("*:last") : $(this));
if(ElementSel...
I need to put a custom hover menu from http://www.addthis.com/help/toolbox, but Rails uses Prototype whereas the code given is in JQuery. I do not have much experience with either JavaScript library, if someone can help it'd be much appreciated!
$(function()
{
$('.custom_button, .hover_menu').mouseenter(function()
{
$('....
Hello, just a short qustion ..
I have a drop down menu. Now when it's slided down to multiple levels, I'd like it to add wait time for like 2 secs, before it disapears, so the user can get back in, when he breaks the .hover() by mistake ... Is it possible?
my code for the slide:
$('.icon').hover(function() {
$('li.icon > ul').sli...