[jQuery] Newbie -- How to retrieve img src value in function?

2007-04-28 Thread dennis
I am using jquery 1.1.2, interface 1.2, working with drag/drop. When user drops an image onto the drop area, I want to retrieve the src value, so that eventually I can send that value to the server and do some Ajax stuff. But so far, in my code below, I have only gotten this to work: var thePho

[jQuery] Re: Newbie -- How to retrieve img src value in function?

2007-04-28 Thread dennis
On Apr 28, 4:00 pm, "Sean Catchpole" <[EMAIL PROTECTED]> wrote: > Try drag.src > > ~Sean Hi Sean, drag.src returns undefined. Here is a partial list of various things I've tried. var thePhoto = drag.innerHTML.("img").attr("src"); // no var thePhoto = drag.innerHTML.attr("src"); // no var theP

[jQuery] Re: Newbie -- How to retrieve img src value in function?

2007-04-28 Thread dennis
ed, not even an alert. In some other cases, I've at least gotten an alert saying "undefined." I really do appreciate the help efforts. I'll keep pluggin away here. /dennis

[jQuery] Re: Newbie -- How to retrieve img src value in function?

2007-04-28 Thread dennis
On Apr 28, 5:25 pm, "Brandon Aaron" <[EMAIL PROTECTED]> wrote: > Try this: $('img', drag).attr('src'); Brandon, that idiom works. I'll stop banging my head now. Thanks BIG! /dennis

[jQuery] Multiple draggable (interface) drag/drop question

2007-04-30 Thread dennis
multiple copies of the Draggable and the Droppable calls to handle the multiple draggable thumbnails (I've tried, that works), but that seems klunkey to me. If there are, say, 20 thumbs on a page, that's 20 Draggable calls, 20 Droppable calls Is there a trimmer, better approach?

[jQuery] Re: Multiple draggable (interface) drag/drop question

2007-05-01 Thread dennis
27;ondrop: function (drag1). I just can't wrap my head around your statement that the "function parameter name... is an irrelevant difference." But it DOES WORK. I have a lot more study ahead. Anyways, thanks BIG. /dennis

[jQuery] Re: jCarousel 0.2.0 Beta

2007-05-09 Thread dennis
configurable, and will make my task much easier. /dennis On May 8, 9:42 am, Jan Sorgalla <[EMAIL PROTECTED]> wrote: > Hi, > > i've released the a new version of jCarousel yesterday. The source > code is completely rewritten and i've tried to make it more flexible > an

[jQuery] Drag, Drop and Ajax For Photo Album Maker

2007-06-02 Thread dennis
MY GOAL: I'm modifying the Interface 1.2 Shopping Cart to become a photo picker to create photo albums. I have the basic drag/drop working. I need to add these using ajax: -- 'Search photos by tag' -- 'send photo id to server on drop' -- 'remove photo id from server on remove' THE PROBLEM: I have

[jQuery] Re: Drag, Drop and Ajax For Photo Album Maker

2007-06-02 Thread dennis
Help? On Jun 2, 10:43 am, dennis <[EMAIL PROTECTED]> wrote: > MY GOAL: > I'm modifying the Interface 1.2 Shopping Cart to become > a photo picker to create photo albums. I have the basic > drag/drop working. I need to add these using ajax: > -- 'Search photos

[jQuery] Why does my ajax function kill drag/drop?

2007-06-04 Thread dennis
the images. Here's my form and ajax call:   Help will be greatly appreciated. /dennis

[jQuery] OK, why does *this* function kill Interface Drag/Drop?

2007-06-05 Thread dennis
ponse);}, dataType: "html"}); return false; }); });   I'll really appreciate any help. /dennis

[jQuery] Re: OK, why does *this* function kill Interface Drag/Drop?

2007-06-05 Thread dennis
I'm really stuck. I've not gotten any replies. Am I asking the question in the wrong way? /dennis On Jun 5, 8:42 am, dennis <[EMAIL PROTECTED]> wrote: > New to javascript. New to jQuery. I've hit the wall. > > InterfaceDrag/Dropworks, my search photos by tags work

[jQuery] Re: DC Drupal User's Group

2007-06-05 Thread dennis
Michael Haggerty changed my original post title, and hijacked for his drupal announcement. Why would you do that? It seems pretty hostile to me. I am trying to learn something here. /dennis On Jun 5, 10:55 am, "Michael Haggerty" <[EMAIL PROTECTED]> wrote: > Tonight, there w

[jQuery] Why does *this* function kill Interface Drag/Drop?

2007-06-05 Thread dennis
look thru Interface docs, and a quick google on javascript initialize. Probably some answers there, tho I'm so new to javascript and jQuery that it's a blur. /dennis

[jQuery] Re: DC Drupal User's Group

2007-06-05 Thread dennis
Thanks for that clarification, John, I only have the browser view. My apologies to Michael for the accusation. /dennis On Jun 5, 12:40 pm, "John Resig" <[EMAIL PROTECTED]> wrote: > It appears to be an honest mistake. I only see what you mention on > Google Groups, in my

[jQuery] Re: Why does *this* function kill Interface Drag/Drop?

2007-06-05 Thread dennis
Chris, Have a look at 'OK, why does *this* function kill Interface Drag/ Drop?' on this newsgroup. That's where the thread began. The thread subject was accidently changed to 'DC Drupal User's Group' when someone else posted. There is evidently a bug in the underly

[jQuery] Re: Why does my ajax function kill drag/drop?

2007-06-05 Thread dennis
able is lost." On Jun 5, 4:16 pm, "Jean Nascimento" <[EMAIL PROTECTED]> wrote: > i think all ajax calls kill drag, i have troubles with that and a > friend mine too > > On 6/4/07, dennis <[EMAIL PROTECTED]> wrote: > > > > > > > I have Interf

[jQuery] How to find active hyperlinks?

2009-08-20 Thread Dennis Madsen
I've this CSS to style my links in my menu: .menu a:link, .menu a:active, .menu a:visited{ color: #ff; text-decoration: none; } I would like to find the a-tag () which is active. I've tried something like: $('.menu a:active'). How can I find that element?

[jQuery] Re: How to find active hyperlinks?

2009-08-20 Thread Dennis Madsen
On Aug 21, 12:33 am, Charlie Griefer wrote: > an "active" link is one that has received a click. > > so you can do: > > $('a').click(function() { >      $(this).doSomethingHere  // 'this' is a reference to the element that > triggered the click > &g

[jQuery] Re: How to find active hyperlinks?

2009-08-20 Thread Dennis Madsen
> > a:active refers to the a element that is actively receiving a click event. > > If you were to do: > > >      Frontpage >      Contact > > > ... then you could do $('#menu a.active') > > > > On Thu, Aug 20, 2009 at 3:41 PM, Den

[jQuery] Effect on mouseover?

2009-08-21 Thread Dennis Madsen
I've created a sample site with a bounce effect: http://dennismadsen.com/uploads/jquery/ I would like the effect to start when the mouse enter the outer div. But as you see this effect seems to repeat in Firefox and Internet Explorer. But it works in Chrome. How can I fix that? The below is a id

[jQuery] Content slider?

2009-08-31 Thread Dennis Madsen
I'm searching for a content slider like this: http://cssglobe.com/lab/easyslider1.7/01.html It almost fits my need but I would like to use it to slide the content on my page - not simple images. I've have three pages; competences, references and contact. Furthermore I have a frontpage with three

[jQuery] Re: Content slider?

2009-08-31 Thread Dennis Madsen
has a > demo that shows this:http://cssglobe.com/lab/easyslider1.5/05.html > > <http://cssglobe.com/lab/easyslider1.5/05.html>but the newer version > supports this as well. I recommend you give it a try. > > - Richard > > On Mon, Aug 31, 2009 at 9:43 AM, Dennis Ma

[jQuery] Re: Content slider?

2009-08-31 Thread Dennis Madsen
om/jquery/cycle/ > > On Aug 31, 2:45 pm, Dennis Madsen wrote: > > > I'm trying to use the plugin, but have problem when using a Accordion > > from Query UI on one of the pages. > > You can see this sample page:http://dennismadsen.com/uploads/easyslider1.7/ > >

[jQuery] Re: Content slider?

2009-08-31 Thread Dennis Madsen
Ok, it also "flicking" on my Firefox :( On Aug 31, 6:29 pm, amuhlou wrote: > Cycle can be used to cycle through > anything:http://www.malsup.com/jquery/cycle/int2.html > > Check out the very last example on the page. > > On Aug 31, 4:26 pm, Dennis Madsen wrote: &

[jQuery] jqModal problem

2009-09-20 Thread Dennis Madsen
I'm trying to use the jqModal plugin on my page: http://dev.iceburg.net/jquery/jqModal/ Here is a sample showing my problem: http://dennismadsen.com/uploads/modalTest/ If you see this example in a IE6 or IE7 or IE8 in compatibility mode, you will see, that the the modal box is not 100% opacity.

[jQuery] Re: jqModal problem

2009-09-20 Thread Dennis Madsen
tatement? > > On Sep 20, 5:52 pm, Dennis Madsen wrote: > > > I'm trying to use the jqModal plugin on my > > page:http://dev.iceburg.net/jquery/jqModal/ > > > Here is a sample showing my > > problem:http://dennismadsen.com/uploads/modalTest/ > > >

[jQuery] AJAX load: scrolling

2009-10-04 Thread Dennis Madsen
I've created some jQuery which remove many tr rows from my table and inserts new via AJAX. This indicate that the page is scrolling because first the table increase after elements is removed and afterwards it grows when the new content is inserted. Is there a way to let jQuery update this table wi

[jQuery] Re: AJAX load: scrolling

2009-10-05 Thread Dennis Madsen
Someone? On 5 Okt., 01:21, Dennis Madsen wrote: > I've created some jQuery which remove many tr rows from my table and > inserts new via AJAX. This indicate that the page is scrolling because > first the table increase after elements is removed and afterwards it > grows when t

[jQuery] jQuery: noConflict

2009-10-05 Thread Dennis Madsen
I'm trying to use jQuery inside a CMS which use mootools - therefore I use noConflict. I have this sample code: jQuery.noConflict(); (function($) { function doSomething() { //some jQuery Stuff here.. alert("something

[jQuery] MooTools and jQuery

2009-10-06 Thread Dennis Madsen
I'm developing a site in Joomla CMS which use both MooTools and jQuery. I've created a small, clean page where you can see the problem: http://www.dennismadsen.com/uploads/mootools_jquery/ You can download the source-code from this URL: http://www.dennismadsen.com/uploads/mootools_jquery/mootool

[jQuery] Re: MooTools and jQuery

2009-10-06 Thread Dennis Madsen
Yes, as I describe I use Joomla CMS where a lot of the functionality is written in Mootools. On 6 Okt., 15:35, Liam Potter wrote: > is there a reason you need both libraries? > > > > Dennis Madsen wrote: > > I'm developing a site in Joomla CMS which use both MooTools

[jQuery] Create new DOM?

2009-10-06 Thread Dennis Madsen
I'm trying to create new DOM and append it to a div. When the div is appended, I would like it to be shown after 1sec. var e = "content"; $("#container").append(e); setTimeout(e.show(200), 1000); This code does not work. The HTML is appended but the show-function does not

[jQuery] Show: Call jQuery i callback

2009-10-06 Thread Dennis Madsen
I have this code sample: $j(".dialogBookingError").show(200).effect("highlight",{},650); I would like the effect first to run after the show is finish. Therefore I try: $j(".dialogBookingError").show( 200, $j(this).effect("highlight",{}, 650) ); But it does not work. Hope someone can help me

[jQuery] semi-synchronous ajax request?

2009-05-15 Thread Dennis Jacobfeuerborn
he result before returning from the first getList() call. What is the proper way to handle such a situation i jquery? Regards, Dennis

[jQuery] jquery dialog - close if clicking outside dialog area?

2009-06-02 Thread Dennis Morgan
Is it possible to have the jquery ui dialog close when clicking outside the area of the dialog? Like facebox? Thanks.

[jQuery] Several callbacks?

2009-10-14 Thread Dennis Madsen
I've this code: $(".page").fadeTo(fadeSpeed,0,function() { alert("test"); }); I've 3 elements with class "page". Because of that, I got 3 alerts. I'm only interested in one alert when all .page is faded out. How can I?

[jQuery] Join element sets?

2009-10-15 Thread Dennis Madsen
I have two element sets: $(".contentBox") and $(".referencesImage"). How can I join the elements in this sets? I would like to join the sets, since I'm adding the exact same hover function on both element sets. $(".contentBox").hover(function(event){ ..do something

[jQuery] Re: Join element sets?

2009-10-15 Thread Dennis Madsen
I would like to do something like: $(".contentBox").$(".referencesImage").hover(function(event){ ..do something },function(event){ ..do something }); Where the hover-function is both for both element sets. On 15

[jQuery] Re: Join element sets?

2009-10-15 Thread Dennis Madsen
Thanks! On 15 Okt., 11:16, jack kitley wrote: > Hi > > $(".contentBox,.referencesImage").hover > > u tried that? > > 2009/10/15 Dennis Madsen > > > > > > > I would like to do something like: > > >        $(".contentBox"

[jQuery] Inserting PHP encoded (htmlspecialchar) into textarea from JSON object

2009-12-31 Thread M Dennis
1) I'm essentially trying to take this string (which is stored properly and returns properly from the mysql database): This is a test paragraph to test the DIRNET system. Trying to test's and characters \. "this is another test" with @ and a #.This is a test paragraph to test the DIRNET system.

[jQuery] Need help with a simple problem?

2010-01-07 Thread Dennis J
I am a total newbie when it comes down to Jquery, still in the learning process. $(document).ready(function(){ $('#top-bar-login li.current').hover( function() { $("#top-bar-login ul").css('display', 'block'); }, function()