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