I've been developing my website in both Firefox and IE 8. There's an image hover effect on the main page (as well as in the photography and drawing sections). You can see the code in the source at http://www.dgendill.com. In Firefox, the effect works perfect. In IE 8, it works, but it's much, much slower. Here's what I've tried to i...
I'm using some images as banners on my site. They're full (960px) width and I initially show a portion of the image as a teaser (say 160px high). I do this now by using a separate image which is a slice of the full size image (which is 600px high). Complicating this are shadows that I apply in Photoshop at the top and bottom of the imag...
I am looking for a jQuery plugin with PHP script to do the same as in facebook "attach link" action, where facebook gives the user a list of thumbnails from the external link to represent the link. thanks!
...
Hi there,
has anybody used a javascript template system? I used to use the one that is embedded with JavascriptMVC but i now doing server side development so i wanted a more streamlined/thinner version..
I have found 2. 1 is EJS which is the part that is included with JavascriptMVC
http://embeddedjs.com/
and the other is Pure- whic...
Here is my code. The initial fadeTo works, nothing else works.
<script type="text/javascript" />
$(document).ready(function() {
$('#ButtonBGanim').fadeTo('fast',0.5);
$('#ButtonBGanim').mouseenter(function() {
$(this).fadeto('fast',1.0)
}).mouseleave(function(){
$this.fadeto('fast', 0.1);
});
});
</scr...
In a nutshell: Using jquery I want to get some xml output and use it with a custom grid plugin. My problem is in efficiently getting the data I need into the plugin.
That plugin needs to get the count of returned nodes and the rows themselves. Currently I make 2 separate calls to get the xml, one gets it and counts the nodes and return...
My goal:
Find a DIV, slideUp all of it's child divs, then after all of them are up, show one of those child divs via slideDown.
Snippet of jQuery:
$('.toggleTriggersWrapper .toggleTrigger')
.click(function(){
var $togglePanesWrapper = $(this).closest('.toggleTriggersWrapper').next('.togglePanesWrapper').eq(0);
var IDtoShow = '#' ...
Have a script that using jquery validation. Tested on 2 Blackberry's and neither worked properly.
http://andrewpeller.com/contest/indexTest.html
1st one - Blackberry Bold
Email validation would not work even with valid email such as [email protected]
2nd one
Form would not submit at all.
Any suggestions as to how to get this to wo...
Is it possible to remove all attributes at once using jQuery?
<img src="example.jpg" width="100" height="100">
to
<img>
I tried $('img').removeAttr('*'); with no luck. Anyone?
...
Hello all, I'm just playing around for the first time with jQuery's ajax functionality. I wanted to add a function that could handle any errors. So, in one of my client javascript blocks, I added the following line:
<script type="text/javascript">
....
$.ajax({ error: function () { alert('boo'); } })
....
</script>
I expe...
Playing around with generating text randomly with each page refresh using php. Is there a cleaner way to approach this? Also, can this be done with jquery?
<?php
$random_text = array("Random Text 1",
"Random Text 2",
"Random Text 3",
"Random Text 4",
"Random Text 5");
srand...
Hi,
I continously get this problem (stack trace below) when I start my ASP.NET MVC application and have to restart the web dev server and then it goes away. It appears to be happening on when I make modification in my jquery and then try to restart the application.
protected void Application_Start()
{
InitialiseIoc...
Hi all:
As the title suggested, I'm trying to call the $(document).ready(function() {...}); from another file. The code snippet is as below:
Source file:
$(document).ready(function () {
alert('document.ready function called!');
// a lot of code
}
And in the test file:
TestFile.prototype.testDocumentReadyContents = function...
Does anyone know of a plugin for jQuery that emulates a sort of rotating wheel system?
...
Hi everyone,
I am very new to Javascript and Jquery, so my apologies for this beginner's question.
In a simple ajax web app, I am creating an HTML page which is mainly a big table. Each row in this table describes an event (party, show, etc). My page not only displays this information but is meant to let the user do a bunch of things w...
New to jQuery here. I've found several web pages that come close to what I'm trying to do, but not quite. Actually, I think the following is supposed to actually work, but it's saying:
[@href^="http://"]
is not recognized (syntax error). Any help?
$(document).ready(function() {
$('a[@href^="http://"]').filter(function() {
...
Hi Guys,
I am trying to add a class when a checkbox is "checked" in Safari and remove it when it is unchecked [in other browsers I am using.bind("focus", function() { but in Safari it doesnt work?]
I am currently using
jQuery('.top_class input').bind("focus", function(){
jQuery(this).parents('.row').addClass("add_over");
})
...
<script type="text/javascript">
<!--
$(document).ready(function() {
$("#form1").validate({
rules: {
budget: {
required: true,
minlength:3
} ,
duration: {
required: true,
digits:true
},
town: {
required: true,
...
Hello everyone,
I have been trying to implement the easyslider 1.7 plugin from cssglobe. Sorry could not post hyperlink because im a new user.
I uploaded the test files within the download and everything worked fine as expected. I then started to implement on my test site. I included all files and added the slider id within my site und...
Should I avoid JavaScript , jQuery, flash, Ajax, Silverlight if i want to make my site cross platform compatible (PC, iPHONE other mobiles, PDA) and Accessible(screen reader compatible)?
Should i only use xhtml css with server side language for wider accessibility?
and for PC pr MAC i made everything first for Firefox so for mobile whi...