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
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
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
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
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?
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
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
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
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
the images. Here's my form and ajax call:
Help will be greatly appreciated.
/dennis
ponse);},
dataType: "html"});
return false;
});
});
I'll really appreciate any help.
/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
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
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
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
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
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
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?
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
>
> 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
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
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
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
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/
>
>
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:
&
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.
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/
>
> >
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
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
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
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
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
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
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
he result before returning from the first getList()
call.
What is the proper way to handle such a situation i jquery?
Regards,
Dennis
Is it possible to have the jquery ui dialog close when clicking outside the
area of the dialog? Like facebox? Thanks.
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?
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
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
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"
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.
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()
42 matches
Mail list logo