[jQuery] Re: Sorting spans which are in li elements.

2009-11-23 Thread amuhlou
My initial reaction is that your information might be more suited to a table, in which case you could use the tablesorter plugin. http://tablesorter.com/docs/ On Nov 21, 5:58 pm, "javam.org" wrote: > Hi there, > > My xhtml structure looks like: > > >         >                 Name >          

[jQuery] jQuery Media Plugin w/ custom skin?

2009-11-10 Thread amuhlou
Hello, I'm having issues implementing a custom skin using the media plugin. I'm not sure if it's a syntax problem, or if i don't have the directory set up correctly. The video plays, but the custom skin is not loaded. Here's my code to initialize the plugin $('.media').media({ width:

[jQuery] Re: How to check if a DIV with ID xyz exist?

2009-10-27 Thread amuhlou
I normally use the jQuery method MorningZ posted above, as it makes it easier to check for the existence of elements with a certain class name. On Oct 27, 2:05 pm, Michel Belleville wrote: > As correct as 0 == false et 1..oo == true > > Michel Belleville > > 2009/10/27 bc04Inc. > > > > > I have

[jQuery] Re: Item list only loading 1 Image

2009-10-14 Thread amuhlou
you may want to try defining the size of the carousel (aka how many items you have total) in your document.ready function before or after wrap: 'circular' size: mycarousel_itemList.length, On Oct 14, 10:54 am, Nathan Chapman wrote: > So I have just changed the original HTML and CSS then just

[jQuery] Re: possible to empty file input in form with .click or .focus ?

2009-10-12 Thread amuhlou
arp wrote: > Yeah this is what I've been trying, > > i think maybe different rules apply for file inputs perhaps? > > > > amuhlou wrote: > > > Try: > > > $('#input_id').focus(function(){ > >         $(this).attr("value","&quo

[jQuery] Re: possible to empty file input in form with .click or .focus ?

2009-10-12 Thread amuhlou
Try: $('#input_id').focus(function(){ $(this).attr("value",""); }); On Oct 12, 5:59 pm, captaincarp wrote: > My image upload form has a choice of either upload image by entering url or > by browsing for a file, > > I'm trying to empty the file-input input if you focus on the url-input.

[jQuery] Re: Changing a text in a div

2009-10-12 Thread amuhlou
You'd probably want to use the text() or html() method for this. Assuming the tags in question are inside the child-pages div, your code would be something like this: $(function(){ $('.child-pages h2').text("Sub-pages"); }); On Oct 12, 9:56 am, Fynci wrote: > I am very very new to Jque

[jQuery] Re: Ajax Not Working A Second Time

2009-10-05 Thread amuhlou
the .A1 within the #info divs does not exist when the document ready event fires, so the click event is not applied. try using the live method() http://docs.jquery.com/Events/live On Oct 5, 2:54 pm, GLSmyth wrote: > I have some simple code: > > $(document).ready( >   function() { >     $('.A1'

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
ica div's height and width via css rather than inline in a style attribute. Also, I would try removing text-align: right from the div. Either that, or wrap the dinamica div in On Sep 30, 5:20 pm, Ricardo wrote: > Nothing! :) Just stay there, they are just replacement images. > >

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
I see now that it's only happening in IE6. Have you tried assigning a width to the that encloses the whole right column? On Sep 30, 5:11 pm, amuhlou wrote: > what should the images below the cycle div be doing? > > On Sep 30, 4:52 pm, Ricardo wrote: > > &

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
what should the images below the cycle div be doing? On Sep 30, 4:52 pm, Ricardo wrote: > Here is a link:http://www.softcore.com.br/loxxi/servicos.php?idCategoria=11 > You'll see the images on the right side of the page. > > On 30 set, 11:36, amuhlou wrote: > > > I&qu

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
I"m not sure I understand what you mean when you say the first div hides the second. Could you post an example page? On Sep 30, 2:31 pm, Ricardo wrote: > Hello amuhlou! I don't want to cylce the second div. I want this div > to appear bellow the fist div. Now, the first div

[jQuery] Re: Help using cylce(plugin)

2009-09-30 Thread amuhlou
the cycle plugin cycles the direct children of the div it's initialized on. If your goal is to cycle the 2nd div as well, you will need to use some wrapping divs. http://malsup.com/jquery/cycle/int2.html The examples at the bottom of that page show how you can cycle through divs. On Sep 30, 1:

[jQuery] Re: Fancybox from alt text

2009-09-25 Thread amuhlou
it looks like you have an extra $ inside your wrap method, and you also may need to add the . And it looks like your code may need to account for the space between the href and class attributes. something like: $(this).wrap('') On Sep 25, 1:44 pm, casperMC wrote: > hi, > > im trying to wrap a

[jQuery] Re: load callback doesn't wait for completion

2009-09-25 Thread amuhlou
can you post a snippet or test page of how you're using the load method? it's really hard to figure out why it might not be working without any code samples. On Sep 25, 5:07 pm, rodeored wrote: > How do I get the callback for load() to wait until the load is > complete?

[jQuery] Re: Troubles with appending page title and url to social link

2009-09-16 Thread amuhlou
where are the title and url variables coming from? On Sep 16, 9:05 pm, Jacques wrote: > Hi everyone I am trying to append the full page url and contents of > the title tag to some social bookmarking links I have the code below > but it does not seem to be working can anyone see what I am doing

[jQuery] Re: Jquery Newbie needing help..

2009-09-16 Thread amuhlou
A couple things.. 1. The click function can't be used to fadeIn the image again... because you wouldn't be able to click on it when it's hidden 2. Do you want a single click to cause the fadeOut-fadeIn-fadeOut- fadeIn? If so, you could use the callback functions of the fadeIn and fadeOut transit

[jQuery] Re: Unsubscribe

2009-09-01 Thread amuhlou
oh, looks like there's also an "Unsubscribe" button on that same Edit my Membership page. Have you tried that? On Sep 1, 8:52 pm, Peter Stulzer wrote: > Thank you amuhlou. That's what I tried first but I still get all the   > mails. Is there another way to unsubsc

[jQuery] Re: Unsubscribe

2009-09-01 Thread amuhlou
On the right side of the page, choose "Edit my Membership" There, you will be able to choose the "No Email" option. On Sep 1, 4:52 pm, Peter Stulzer wrote: > How do I unsubscribe this Newsgroup? > > Von meinem iPhone gesendet

[jQuery] Re: All Elements Except 2

2009-09-01 Thread amuhlou
Try the .not() method http://docs.jquery.com/Traversing/not On Sep 1, 8:28 pm, a1anm wrote: > Hi, > > I'd like to select all elments on my page except 2.  How would I do > this? > > The elements I don't want to select are .bar6 and .homelink. > > Thanks.

[jQuery] Re: Hover does not stop

2009-09-01 Thread amuhlou
Looking at the API the animate does have a callback function that you can use to do the stuff after the animation completes, for example $('#navigation').mouseout( function() { if(state == 1) { $(this).animate({left: '-210'},'slow', 'easein',function(){

[jQuery] Re: Content slider?

2009-08-31 Thread amuhlou
#x27;s also possible that the issue is CSS related. On Aug 31, 5:43 pm, Dennis Madsen wrote: > 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/

[jQuery] Re: Content slider?

2009-08-31 Thread amuhlou
e only use img? > > On Aug 31, 5:18 pm, amuhlou wrote: > > > A couple other slider options you could try: > > >http://css-tricks.com/anythingslider-jquery-plugin/ > > >http://malsup.com/jquery/cycle/ > > > On Aug 31, 2:45 pm, Dennis Madsen wrote: > &

[jQuery] Re: Content slider?

2009-08-31 Thread amuhlou
A couple other slider options you could try: http://css-tricks.com/anythingslider-jquery-plugin/ http://malsup.com/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 t

[jQuery] Re: simple fadeIn not working

2009-08-31 Thread amuhlou
to avoid the flash of the div while it's being hidden: http://www.learningjquery.com/2008/10/1-way-to-avoid-the-flash-of-unstyled-content On Aug 31, 2:34 pm, amuhlou wrote: > Using display none poses an accessibility issue, as screen reader > software tends to completely skip el

[jQuery] Re: simple fadeIn not working

2009-08-31 Thread amuhlou
Using display none poses an accessibility issue, as screen reader software tends to completely skip elements with display:none. On Aug 31, 1:47 pm, greaseDonkey wrote: > I would suggest to hide the container using css instead of the hide() > effect when using $(document).ready(function(){}); cau

[jQuery] Re: simple fadeIn not working

2009-08-31 Thread amuhlou
the div would need to start out hidden, otherwise the fade transition won't do anything. $(document).ready(function(){ $('#container').hide(); $("#container").fadeIn("slow"); }); if the "slow" speed isn't slow enough, you may want to try putting in the speed in mi

[jQuery] Re: Hover does not stop

2009-08-27 Thread amuhlou
can you post an example page? it's hard to visualize what's going wrong without seeing it in action. thanks On Aug 27, 8:07 pm, Mario wrote: > This works a little bit better, however, it slides still one more than > I want and I cannot access the Menu because it starts to move left > immediatel

[jQuery] Re: Hover does not stop

2009-08-27 Thread amuhlou
in CSS, try adding position: relative; to the #navigation properties On Aug 27, 7:12 pm, Mario wrote: > Hello everybody, > > I want to create a menu on the left side of the screen. OnMouseOver > the menu should slid in from the left, OnMouseOut the menu should > slide back to the right so that o

[jQuery] Re: Hover Area -> Change image

2009-08-26 Thread amuhlou
I think keeping the source in a variable is the key here, try this: $('li.clickable').hover(function() { var newsrc = $(this).find('img').attr('src').replace ("_off","_over"); $(this).find('img').attr({src: newsrc}); }, function() { var oldsrc = $(this).find('img').attr('s

[jQuery] Re: Hover Area -> Change image

2009-08-25 Thread amuhlou
children() only works for direct children of an element, so if your img is wrapped in an , it won't find the right element. Try using find() instead: $("li.clickable").hover(function() { $(this).find("img").attr("src", $(this).attr("src").split ("_off").join("_over")); }, function() {

[jQuery] Re: jCarousel Appears Vertical then Horizontal

2009-08-25 Thread amuhlou
Assuming your carousel container name is something like div id="carousel" Try setting something in your main CSS like: #carousel ul li { float: left; width: 75px; /*or whatever the width of your items is*/ height:75px; /*or whatever the height of your items is*/ } On Aug 25, 11:55 

[jQuery] Re: JQuery Cycle effects don't work in IE

2009-08-18 Thread amuhlou
I checked it on a version of IE7 using VMware and am not seeing the fade transition working. There are, however, some validation errors you may want to clean up. the id attribute cannot start with a number, and it appears that your images for the cycle area all have this in common. On Aug 18, 9:

[jQuery] Re: jcarousel outdated

2009-08-17 Thread amuhlou
I have successfully used jCarousel with jQuery 1.3.2, so I'm not sure why you would be having any issues. On Aug 17, 12:02 pm, EastsideS wrote: > Hi, I´m using jcarousel, along with a plugin called jScrollPane. Both > scripts work fine on their own. only jcarousel only works under jquery > 1.2.

[jQuery] Re: Can you put diffrent image son each of the tabs in suckerfish?

2009-08-14 Thread amuhlou
w3schools is a great resource for web tutorials. http://www.w3schools.com/tags/att_standard_class.asp On Aug 14, 12:09 pm, Stockypotty wrote: > Right ok, I will search on how to add a class to the menu, do you know > of any tutorials? > > Thanks guys

[jQuery] Re: Can you put diffrent image son each of the tabs in suckerfish?

2009-08-14 Thread amuhlou
like Liam said, you need to edit the HTML of the menu and add a class or id to each menu item, like they did in the picture you posted. Then you can target it with CSS. On Aug 14, 10:58 am, Stockypotty wrote: > Yeah as you can see in this picture: > > http://i236.photobucket.com/albums/ff288/par

[jQuery] Re: Can you put diffrent image son each of the tabs in suckerfish?

2009-08-14 Thread amuhlou
a good start would be to use firebug and inspect the code for the example page. On Aug 14, 8:30 am, Stockypotty wrote: > Sorry I didn't mean that, early morning ^^ > > I was wondering if you had any good tutorials on how to put a unique > class name on each tab? > > Unfortunately my site is no

[jQuery] Re: Can you put diffrent image son each of the tabs in suckerfish?

2009-08-14 Thread amuhlou
I'm not sure what you mean by making the text "linkable" Can you post a test page that demonstrates your questions? thanks On Aug 14, 7:28 am, Stockypotty wrote: > Yeah I was thinking of doing it the second way. > > So basically I would put a unique class name on each tab, then use > > backgro

[jQuery] Re: Can you put diffrent image son each of the tabs in suckerfish?

2009-08-13 Thread amuhlou
Your question is really more of an HTML/CSS question, so that may be why a search didn't return much in the way of results. You can either insert the images inside the elements of your tabs (not really great for accessibility) or put unique class names on each tab and pull in the custom tab image

[jQuery] Re: Call Jquery from Flash?

2009-08-13 Thread amuhlou
Where does the Flash come into play here? This may help: http://blog.codefidelity.com/?p=15 On Aug 13, 9:29 am, mirkob wrote: > I've this function in my html page > > >