[jQuery] Re: on_mouse_over scrolling

2009-04-19 Thread victorg
? > > Thanks again and have a nice day. > > On Apr 18, 4:00 am, victorg wrote: > > > I think you could easily accomplish that by defining an mouseover > > handler for your button that does a setInterval() to a function that > > scrolls your container. > > > The

[jQuery] Re: Syntax

2009-04-18 Thread victorg
Well, i have noticed you used an atrribute/value with the same name For example: $("a.link").animate( { color: color }, 1000); I think i've had issues with that in the past as well. Might want to try to change it into: $("a.link").animate( { color: color2 }, 1000); On Apr 18, 5:26 pm, Karl Sw

[jQuery] Re: Merge 2 divs [jQuery]

2009-04-18 Thread victorg
It should work. Have you tried it like this? $("#div1").load("file.php").appendTo("#div2"); Or specify a callback when the results are loading and then append it: $("#div1").load("file.php", function() { $(this).appendTo("#content"); }); On Apr 18, 3:14 pm, Colonel wrote: > Hi all, I have

[jQuery] Re: Unable to refer to a select element

2009-04-18 Thread victorg
> Is it impossible in jQuery to select an element as I do here (var > yearFrom=$(":input[type=select][name=yearFrom]");)? > > Marc Yes, i think you should do it like this instead $("select [name=yearFrom]"); jQuery will look for an element which actually has a type="select" attribute. Load data

[jQuery] Re: Menu Hover and Selected

2009-04-18 Thread victorg
Hmm, i've eaten better things :-P I tried to make it work using Firebug but its not a big success, since i cant attach new events after unbinding them somehow.. I think this should work: http://pastebin.com/m4c657bc9 Basically, what i am trying to do is this: Check what the active URL is right

[jQuery] Re: How to Enable a Disabled Context Menu

2009-04-18 Thread victorg
I tried your code, but for me it works just fine? On Apr 18, 10:47 am, Mohsen Saboorian wrote: > I've disabled context menu, on page ready, using the following code: > > function contextMenu(e){ >         return false;} > > function disableContextMenu() { >         $(document).bind("contextmenu"

[jQuery] Re: Using $.load() and $.blockUI [blockUI.js]

2009-04-18 Thread victorg
Where in your code are you trying to do this? You should use it like this: $("#content").appendTo ("#itemwherecontentneedstobeappendedto"); On Apr 18, 12:42 pm, Colonel wrote: > Hi all, > > how I can add content from div to div? > > For example, I have code: > .. > >