[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() {

[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] 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 Okt., 10:48, Dennis Madsen

[jQuery] Re: Join element sets?

2009-10-15 Thread Dennis Madsen
Thanks! On 15 Okt., 11:16, jack kitley jackkit...@googlemail.com wrote: Hi $(.contentBox,.referencesImage).hover u tried that? 2009/10/15 Dennis Madsen den...@demaweb.dk I would like to do something like:        $(.contentBox).$(.referencesImage).hover(function(event

[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] 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:

[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 = div style='display:none;'content/div; $(#container).append(e); setTimeout(e.show(200), 1000); This code does not work. The HTML is appended but

[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] 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..

[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

[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
? On Sep 20, 5:52 pm, Dennis Madsen den...@demaweb.dk 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

[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

[jQuery] Re: Content slider?

2009-08-31 Thread Dennis Madsen
this:http://cssglobe.com/lab/easyslider1.5/05.html http://cssglobe.com/lab/easyslider1.5/05.htmlbut 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 Madsen den...@demaweb.dk wrote: I'm searching for a content slider

[jQuery] Re: Content slider?

2009-08-31 Thread Dennis Madsen
/jquery/cycle/ On Aug 31, 2:45 pm, Dennis Madsen den...@demaweb.dk 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/ When sliding eg. from page 1 to 4

[jQuery] Re: Content slider?

2009-08-31 Thread Dennis Madsen
Ok, it also flicking on my Firefox :( On Aug 31, 6:29 pm, amuhlou amysch...@gmail.com 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 den...@demaweb.dk wrote

[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

[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 (a) 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
}); does that help? On Thu, Aug 20, 2009 at 3:30 PM, Dennis Madsen den...@demaweb.dk wrote: 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 (a) which is active. I've

[jQuery] Re: How to find active hyperlinks?

2009-08-20 Thread Dennis Madsen
to the a element that is actively receiving a click event. If you were to do: div id=menu      a href=index.cfm class=activeFrontpage/a      a href=contact.htmlContact/a /div ... then you could do $('#menu a.active') On Thu, Aug 20, 2009 at 3:41 PM, Dennis Madsen den...@demaweb.dk wrote

[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] semi-synchronous ajax request?

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

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

2007-06-05 Thread dennis
; }); }); /script form action= id=searchAlbumPhotos name=searchAlbumPhotos method=POST / input type=text name=tagname value= /nbsp; input type=submit name=submit id=submit value=+ / /form 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 works. Add/delete images to/from

[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 will be a meeting of the DC

[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 email client

[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 underlying newsgroup engine. /dennis

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

2007-06-05 Thread dennis
[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 Interface 1.2 Drag/Drop working. I can drag images (hardcoded) from div id=theSearchResultImages to my dropable area just fine

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

2007-06-04 Thread dennis
){$ (#theSearchResultImages).html(response);}, dataType: html}); return false;' method=POST / input type=text name=tagname value= /nbsp; input type=submit name=submit id=submit value=+ / /form Help will be greatly appreciated. /dennis

[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

[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 by tag' -- 'send photo id to server

[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 and to cover most of the features requested

[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? /dennis

[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

[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 thePhoto =

[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