Can't figure out how to fix cursor position with IE8 when adding
multiple items using autocomplete.
After adding the first item, the cursor jumps back to the first
position and doesnt allow you to properly enter your second item.
>From Jörn's post there's going to be a list builder to handle this
can I best
encode this XML object to JSON? Or does anyone know of a better way
to browser cache an XML object?
Thanks,
Shane.
hat gets output. It is possible
> that your problem is that the variable does not contain what you think it
> does.
>
>
>
> On Sat, Jan 9, 2010 at 9:26 PM, Shane wrote:
> > no go.
>
> > On Jan 9, 10:56 pm, John Arrowwood wrote:
> > > console.log( $(
no go.
On Jan 9, 10:56 pm, John Arrowwood wrote:
> console.log( $('').append( $(itemsXML).clone() ).html() )
>
> See if that works.
>
> On Sat, Jan 9, 2010 at 7:27 PM, Shane wrote:
> > Is there a way to print out the structure of a jQuery xml element...
> &
Is there a way to print out the structure of a jQuery xml element...
heres some code
$(xml).find("item").each(function(){
if(myid == $(this).find("id").text()){
itemsXML = $(this).html() <-- trying to do something
like this
}
}
i would like itemsXML to conta
You can attach the mouseenter event to the div like this:
$('div').mouseenter(function() { // Do stuff });
Documentation is at http://docs.jquery.com/Events/mouseenter
On Nov 15, 3:30 pm, Tom Lobato wrote:
> Hi,
> in first, these days I started to play with jquery and I`m
> impressed, excell
() { /* do something */ });
2)
this.each(function() { /* do something */ });
return this;
--Karl
On Nov 8, 2009, at 12:56 PM, Morten Maxild wrote:
Exactly...looks correct:-)
-Original Message-
From: Shane Riley [mailto:shanerileydoti...@gmail.com]
Sent: Sunday, November 08, 2009 6:44 PM
and you can take
> advantage of this.
>
> HTH
> Morten
>
>
>
> >-Original Message-
> >From: Shane Riley [mailto:shanerileydoti...@gmail.com]
> >Sent: Saturday, November 07, 2009 1:19 PM
> >To: jQuery (English)
> >Subject: [jQuery] Pl
I created a jQuery plugin for the sake of learning the process and got
it working no problem. In the plugin authoring docs it says that if
you return true inside the each method, you can continue using jQuery
chaining. However the code example above has the return this statement
at the end of the p
You can place the images each in a container and use those containers
as the slides instead. Then the Cycle plugin isn't messing around with
the PNG filter applied by your iepngfix.htc. ie:
Also, be sure to give your slides fixed dimensions. I'm seeing a
common issue with implem
Are you wanting to just hide the anchor element for link 4 but keep
links 4a to 4c visible? Here's a quick example of that scenario:
$(function()
{
$("ul#nav li ul").each(function(i)
{
$("a:first", $(this).parent()).hide();
Weird double post. Found the issue. For some reason declaring the
variable worked. So I changed it to:
var top = (parseInt($(this).height()) / 2) - 6;
On Sep 24, 7:31 am, Shane Riley wrote:
> I've got a simple each function that finds every subnav and assigns it
> a vertical positi
I've got a simple each function that finds every subnav and assigns it
a vertical position equal to half of the subnav's height. This works
great in all modern browsers, but in IE6 I get errors from each of the
two lines within the function. Here's the problem function:
$(".subnav").each(function
I've got a simple each function that finds every subnav and assigns it
a vertical position equal to half of the subnav's height. This works
great in all modern browsers, but in IE6 I get errors from each of the
two lines within the function. Here's the problem function:
$(".subnav").each(function
If you're using the latest jQuery, you can bind most events with .live
() to ensure that your events are attached when the new content is
loaded in. Note that this doesn't work for all events, though.
On Aug 11, 12:03 pm, cz231 wrote:
> Hi,
>
> I'm building an online application, and I want one
When calling this jQuery:
$("#homepage-slides img:eq(0)").fadeOut(300, function() {
$("#homepage-slides img:eq(1)").fadeIn(300, function() { $("#homepage-
slides img:eq(0)").remove(); });
});
I'm getting this warning in the Web Developer toolbar in Firefox:
Warning: Unknown pseudo-class
First, a thousand pardons! I see several threads that kinda' address
my question, but they're all a little over my head.
On the makeGreen function below, is this an acceptable way to
implement an internal function? If I'm guessing right, we're operating
on an object, so arguments are passed by re
In case anyone was wondering why, here's the solution from Mike Alsup.
Hope it helps anyone else with the issue.
"Hi Shane,
There are two cleartype options in Cycle, and unfortunately one of
them is not documented (yet).
The general purpose of the cleartype logic in Cycle is to wo
You should also ensure that the form submits whether or not the UA has
Javascript enabled. I'd make sure the form action is populated unless
the URL where the form is located can handle the form processing (ie
submitting to itself) or ensure that there is a PHP file capable of
processing the reque
There's definitely nothing wrong with the JQuery. Can you post a test
case so that we can see all of the pieces to the puzzle?
On Apr 22, 7:07 pm, "Richard D. Worth" wrote:
> Your code looks fine, and I wasn't able to reproduce what you're describing:
>
> http://jsbin.com/ucaqi
>
> - Richard
>
>
So what you're trying to do is ensure that the slideToggle is done
animating before you add/remove a class? If so, you'd do something
like this:
$('.open-post-info').click(function() {
var id = $(this).attr('id');
$('.post-info-' + id).slideToggle("medium", functio
er . "";
> ?>
> Some text in header2 ...
>
>
>
> and Am using $.ajax:
>
> $.ajax({url: 'temp.php',
> cache: false,
> error: function(msg) {alert("Error Saved: " + msg);},
> success: function(msg)
I've been using Mike Alsup's Cycle plugin on a large number of
projects, and one of the most recent ones is giving me trouble in IE.
In this example, the slide container seems to have a background color
applied to it, and there is neither a background property added to it
nor is there any backgrou
You can use a number of Ajax functions built in to JQuery depending on
your specific needs. Check them out at http://docs.jquery.com/Ajax. If
all you're looking to do is insert one file into another, load is
normally the way to go, unless you're looking to place the loaded file
before, after, or i
Right, it's not hard, it was just unexpected is all. I guess I've
gotten used to JQuery working the same in all browsers.
I've got it working now with some old-fashioned Javascript. Thanks!
On Mar 25, 3:20 pm, Shane Riley wrote:
> Alright, so your example shows the actual str
m guessing that means having to do string manipulation since there's
no way to grab the actual href string in IE in this case.
Thanks for putting up an example.
On Mar 25, 3:11 pm, Karl Swedberg wrote:
> Hi Shane,
>
> Yes, I believe you're reading me right. Strange, though.
After replacing $(this).attr("href") with this.getAttribute("href", 2)
I get the same result. If I output the attribute, IE still shows the
absolute path.
On Mar 25, 2:21 pm, Shane Riley wrote:
> Karl, I'm pretty sure I'm reading you right, but are you say
s.
On Mar 25, 1:17 pm, Karl Swedberg wrote:
> Hi Shane,
>
> IE has a second "flag" argument for getAttribute that, when set to 2,
> is supposed to get the literal value of the attribute rather than
> their special-sauce value.
>
> So, this.getAttribute('href
bled to use the site (it's a backend system
for very specific clients). They want to add all sorts of animations
and effects like everyone wants to do once they see JQuery animations
in action.
On Mar 25, 12:14 pm, Martijn Houtman
wrote:
> On Mar 25, 2009, at 5:04 PM, Shane Riley wrote:
>
e link to be followed.
I think I'm going to have to move the contents of href to rel instead.
On Mar 25, 11:43 am, Martijn Houtman
wrote:
> On Mar 25, 2009, at 4:32 PM, Shane Riley wrote:
>
>
>
>
>
> > I'm wanting to read in the exact string that's conta
I'm wanting to read in the exact string that's contained in an
anchor's href attribute in order to use it as the POST variable list
for an Ajax call to a PHP script, however in IE6 and 7 the string read
from the href attribute ends up being the absolute path, not just the
href attribute. Here's ex
That was my initial issue as well, however my client agreed to same-
height images. Does anyone know if a previous version has these
issues? I don't remember ever seeing this happen in the older
versions.
On Mar 12, 8:31 am, id404 wrote:
> @shane: it's not so easy because al
This obviously is not a solid, permanent fix, but I found that if I
set the images to a fixed width and height in the CSS it didn't
exhibit this behavior.
On Mar 12, 7:32 am, Mike Alsup wrote:
> > hi there, i got the same problem actually appearing on:
> > * windows vista home premium
> > * fire
Actually, now the client has said that the issue still appears in FF 3
on Windows. I'm installing a new copy on a virtual machine to test it
now, but is it possible there's still unresolved issues with the
sizing?
Nevermind, I've changed it to toggle onclick instead.
On Mar 7, 9:12 am, Shane Riley wrote:
> I've tried getting this to work properly in IE with a variety of
> different methods, and none are working. The page in question is
> here:http://elixir.biz/coders/marlins/incoming/
That looks to have done it. Thanks!
On Mar 8, 1:12 pm, Mike Alsup wrote:
> > The first issue is in FF 3.0.7 on Mac. Occasionally, the first image
> > appears no problem, however the remaining images show up extremely
> > small. I tried setting a fixed width and height to the images, but
> > that
I've got an instance of Mike Alsup's Cycle slideshow working on the
homepage of a project I'm finishing up, and I'm having different
issues with it depending on the browser being used. All of the issues
seem to be happening in Mac only browsers. Here's the site I'm having
trouble with:
http://elix
I've tried getting this to work properly in IE with a variety of
different methods, and none are working. The page in question is here:
http://elixir.biz/coders/marlins/incoming/photos.php
If you hover over the "blue team" text it will display a drop-down
menu. However, in IE6 and IE7 once you've
You can use jquery.validator (http://bassistance.de/jquery-plugins/
jquery-plugin-validation/) with a custom validation method on the age
field. Here's an example:
//custom validation method
$.validator.addMethod("contextualAgeValidation", function(value,
element, params) {
//see if the f
Thank you, James!! That did the trick. I guess the browser was just
having a tough time with all those bindings.
Here is what I ended up using:
var link;
$('table#target').click(function(e){
var targ = $(e.target);
if(targ.is("table")){
return;
}else if(targ.is("tr")){
link = ta
Actually, I had figured out a solution almost like what you've got
here after your Twitter replies. Here's what I used to make it work:
$(".slideshow ul").each(function()
{
e = $(this);
p = $("p.controls", $(this).parent());
e.cycle(
More: Without filtering the results (pulling every entry from the DB),
there are 4550+- entries.
I'm wondering if it would just be better to write onClick events for
individual row and bypass jQuery altogether here.
1480 Vine St
& 8th, BLDGDaytona
Beach, FL 32117ID: 4
AA: Shane
Mills/SA: Shane MillsHome Pro Realty Corp
Buy
1
I've got a project where I've got two slideshows on one page, and
they're identical markup. Instead of adding IDs to each and making two
separate cycle references, I wanted to attach the next and previous
slide events on two specific links grouped with the slideshow
container. I'm wondering either
Thanks for Viewing,
I have one page that locks up all browsers except Mac/Safari. It was
more complex, but I whittled the jQuery code down to the bare
essentials. Even though it's super-simple now, it still hangs for 15
seconds (FireFox is completely non-responsive during this) and ends
with a sc
I'm pretty sure this is going to require using string functions to
locate the background-color property for testing. You could use .css
("background-color") to read in the color attribute, but it will be in
RGB form as shown in the documentation's demo at
http://docs.jquery.com/CSS/css#name.
Fir
Mike:
Can you show your site where you've been using it?
Shane
On Jun 8, 4:44 pm, Mike Alsup <[EMAIL PROTECTED]> wrote:
> > So you should be able to use it with jQuery, no problem.
>
> Indeed, Shadowbox works quite nicely with jQuery. I've been using it
> for several months.
What are people using today to create effects like thickbox or
lightbox on jQuery 1.2.6? Thickbox is broken on the 1.2.x release and
I'm stuck with an old version of jQuery until I find a suitable
replacement. What are others using?
--
Shane ∞ http://liquid.homelinux.org
-
I'
As far as I can tell you have to manually add the desired extra
variables to the url query string, like so:
$.ajaxFileUpload
(
{
url:'ajax_fileUpload.cfm?createpoloroid=' + $
("#createpoloroid").val() + '&createmedium=' + $
("#createmedium").val(),
Thanks. I'll give it a shot.
On Apr 25, 4:30 pm, Ryura <[EMAIL PROTECTED]> wrote:
> Instead of using $.post, use $.ajax. This has far more options like
> beforeSend which will let you control the timing of your image.
>
> On Apr 25, 3:29 pm, Shane <[EMAIL PROTECTED]
Hi,
I want to add your typical 'Loading' animated gif to a page while it's
updating via ajax. I'm trying to do this in the $.displayCal function
below. The $('div#load-wait') element is a div with the img inside.
When the page initially loads, I don't see the image at all, even when
$.post takes
Hi everyone,
Wondering if someone more knowledgeable than me can help me to get the
Fisheye interface element working on the left or right of the screen,
rather than top and bottom.
Thanks,
Shane.
unsubscribe
53 matches
Mail list logo