[jQuery] not getting new width when adding options to a select

2007-10-31 Thread charlie
I've bugged it here: http://jquery.com/plugins/node/787 and here: http://dev.jquery.com/ticket/1870 but I'm wondering if any one has any ideas for a workaround (other than switching browsers unfortunately) . Basically, in IE6 the width() on a select box (or it's surrounding div/span) is not

[jQuery] Re: not getting new width when adding options to a select

2007-10-31 Thread charlie
just going to put it in the logical order (first add the rows, then check the width) and ignore that little quirk though. My immense thanks! -Charlie

[jQuery] global error handler

2007-12-02 Thread charlie
Hi all, I'd like my application to be able to check my ajax results for an array with an index of error before it gets passed along to whatever function made the call to finish doing whatever it's doing. It looks like this would be easy if global events were called before local events, but as

[jQuery] Re: global error handler

2007-12-06 Thread charlie
I ended up doing modifications to the jQuery core to make this possible. Thank you for the response. I think I'll try my callback method described (sorta) above, if no one else can come up with a better solution. I'd rather write more code now and stay on the upgrade path!

[jQuery] help with a strategy?

2008-03-04 Thread charlie
Hi all, the application I'm attempting to write couldn't be simpler: I want to display rows of data, retrieved from a database and allow people to edit or delete those rows and add new rows. Backend is PHP, but I'd prefer to keep that out of the picture. So far I'm passing my rows successfully

[jQuery] Re: Open a particular menu in accordion based on value passed to it

2009-04-20 Thread Charlie
you can pass the index for the accordion panel to the next page in a url after a hash or search symbol . On page with accordion extract the data from the url and use it to activate panel in accordion. here's a working example

[jQuery] Re: Changing the arrow color : Superfish

2009-04-24 Thread Charlie
arrows are image files, modify the image in css images folder Praveen wrote: How to change the arrow color(right and down arrows) in the superfish menu? -Praveen

[jQuery] Re: div contains li - select div but NOT li

2009-04-27 Thread Charlie
your question isn't very clear . If you are trying to select based on what is inside the div these should help: $("div:contains("Some Text")).// do something or $("div:has(li[class=something])").// do something http://docs.jquery.com/Selectors need to be more specific what you are trying

[jQuery] Re: div contains li - select div but NOT li

2009-04-27 Thread Charlie
Thank you very much On 27 avr, 13:55, Charlie charlie...@gmail.com wrote: your question isn't very clear . If you are trying to select based on what is inside the div these should help: $("div:contains(&

[jQuery] Re: ajax append problem

2009-04-27 Thread Charlie
$(".content").load("test.html#content"); this will grab only the id content from test.html and load it , can refine this down to elements within #content as well example on jQuery site shows same method clicforw...@googlemail.com wrote: Hello Michael, thanks for this. I got a error:

[jQuery] Re: jqery.load missing html tags

2009-04-28 Thread Charlie
got similar results however if take out the "*" it works fine. The "*" is redundant since jQuery will look for all anyway clicforw...@googlemail.com wrote: Hello, im using .load to get a part of a html site into my div. Problem: For exapmle i have some markup like: pstrongsome

[jQuery] Re: load and unload site

2009-04-28 Thread Charlie
I don't know first one is semantically correct or not but it works: $("#playGround div").html(""); also $("#playGround div").contents().remove(); also $("#test_div *").remove(); clicforw...@googlemail.com wrote: Hello, im loading external site like this.

[jQuery] Re: JQuery Script doubling div

2009-04-30 Thread Charlie
($(this).attr("href") + ' #content *') will return the contents of #content on the page being loaded without the div container with same ID using less generic ID named " content" would be another obvious solution Laegnur wrote: Hello In a website that I am developing, I have a tab

Re: re[jQuery] moveAttr('href') on document load?

2009-05-03 Thread Charlie
removeAttr() will take the whole href property out of the tag a href="" Test/a will become a Test/a if you want to keep href property you could overwrite the href values $('#add a').attr('href','#'); produces a href="" Test/a Sam Granger wrote: $(function() { $('#add

[jQuery] Re: Superfish Vertical Menu - Can I change it to display submenus on left?

2009-05-04 Thread Charlie
I've done this with a horizontal superfish, make it go right to left, not a big difference on vertical style sf-menu ul's for the sub menus are absolutely positioned, work those off right side references , look for left floats that now need to be right etc the arrow class ( default is

[jQuery] Re: get param from URL

2009-05-04 Thread Charlie
window.location.search will return "p=item" window.location.hash will return "id=1" simple test in firebug: alert(window.location.hash); gozigo_milis gozigo_milis wrote: Dear all, Can u give me script with jquery how to get URL after # Example : index.php?p=item#id=1 How can

[jQuery] Re: get param from URL

2009-05-04 Thread Charlie
window.location.hash.substring(1); this will take out the "#" sign, Charlie wrote: window.location.search will return "p=item" window.location.hash will return "id=1" simple test in firebug: alert(window.location.hash); gozigo_milis

[jQuery] Re: “Superfish” Vertical

2009-05-09 Thread Charlie
add the superfish-vertical.css file to page along with the superfish.css, and in tag ul class="sf-menu"  put class="sf-menu sf-vertical". Done, menu now vertical Englesos wrote: Hi All, I have been trying to talk “Superfish” into working as a vertical menu for phpWebsite (as discussed

[jQuery] Re: Superfish - only hide one level - how to?

2009-05-09 Thread Charlie
Simplest solution would be don't use the third level UL's, add custom classes to the 3a and 3b you are showing and use css to customize. Won't be fighting script or having to change absolutely positioned subs that way webhank wrote: i am looking for a way to have superfish only hide the

[jQuery] Re: Suckerfish menu not showing up

2009-05-12 Thread Charlie
not sure what you are seeing, appears to be working. One of the issues with swapping out menus in Joomla is the menu class in existing template.css. Some of it's rules supersede superfish.css . It makes troubleshooting superfish css a little clumsy if left in. cacaoananda wrote:

[jQuery] Re: Browser differences in handling xml file structures?

2009-05-14 Thread Charlie
I'm using $ajax xml successfully for a google map project. The xml being delivered seems to have unusual tag structure but $ajax still parses it using following: $.ajax({ type: 'GET', url: 'somefile.xml', dataType: 'xml', error: function() { // do something }, success:

[jQuery] Re: Superfish - Multi-Column Dropdown

2009-05-16 Thread Charlie
you can put columns into the sub menus fairly easily with supersubs.js okdok wrote: I would like to integrate a multi-column superfish into a Joomla! 1.5.10 production site. Has anyone been able to accomplish something similar?

[jQuery] Re: problem with horizontal menu style

2009-05-16 Thread Charlie
fix your overflow: hidden in parent div rui wrote: Sorry! Here it is: www.freequizzes.info/codigo On 15 maio, 18:21, Ethan Mateja ethan.mat...@gmail.com wrote: Link? On Fri, May 15, 2009 at 12:00 PM, rui mourato@gmail.com wrote: I've just installed this

[jQuery] Re: problem with horizontal menu style

2009-05-17 Thread Charlie
a specific file? Rui. On May 16, 5:13pm, Charlie charlie...@gmail.com wrote: fix your overflow: hidden in parent div rui wrote:Sorry! Here it is:www.freequizzes.info/codigoOn 15 maio, 18:21, Ethan Matejaethan.mat...@gmail.comwrote:Link? On Fri, May 15, 2009 at 12:00 PM, ruimourato

[jQuery] Re: How to print json data, key and value

2009-05-19 Thread Charlie
$.each(data,function(i) { name = "name - " + data[i].name; surname = "surname -" +data[i].surname; age = "age -" + data[i].age; console.log(name) etc... }); I'm not good at explaining the exact terms _javascript_ definitions for "value and key" but they are

[jQuery] Re: Superfish - Multi-Column Dropdown

2009-05-19 Thread Charlie
have been working with suckerfish menu's for a year or so and have just gotten into the multicolumn feature. What I have yet to wrap my head around is how to create the second column. Any examples are greatly appreciated. On Sat, May 16, 2009 at 10:16 AM, Charlie charlie...@gmail.com w

[jQuery] Re: Superfish - Multi-Column Dropdown

2009-05-19 Thread Charlie
o wrap my head around is how to create the second column. Any examples are greatly appreciated. On Sat, May 16, 2009 at 10:16 AM, Charlie charlie...@gmail.com wrote: you can put columns into the sub menus fairly easily with supersubs.js okdok wrote: I would like to integrat

[jQuery] Re: hoverIntent mouseover on page load

2009-05-19 Thread Charlie
grab the index of menu click, pass it in the URI , grab it on opening page and pass it to the new page menu. Works great for opening jQuery UI tabs and accordions however they have "selected" or "activate" functions built in. Might be a little more difficult depending on how menu script

[jQuery] Re: JQuery Slide Panel

2009-05-19 Thread Charlie
google maps function resizeMap(); donb wrote: A Google map will not render itself property if the dimensions of the map container are not defined at the time the map initializes. And a 'display:none' container will have zero height and width. Perhaps you can load the map off the side

[jQuery] Re: Superfish: Mega Menu Ability

2009-05-20 Thread Charlie
put a div inside sub li, put whatever you want in the div. If various dropdowns have different widths add supersubs.js and adjust accordingly Hetneo wrote: Hi Cy Morris, Firstly, great extension, love it!! Just wondering if it has the ability to be easily adapted into a mega menu style?

[jQuery] Re: superfish mouseover behaviour on page load

2009-05-20 Thread Charlie
have you tried using pathToclass? built in function in superfish allows opening path you choose by adding class of your choice. Examples on superfish home page pauln wrote: I'll restate this previously posted issue with a little more context... I'm using superfish with hoverIntent to

[jQuery] Re: Loading / Handling Large Data for Sorting and Pagination

2009-05-23 Thread Charlie
I'll bet there are 30 different answers for this based on how the data is being delivered, processed. and how you are using "jQuery Library"- plugins, methods, functions, event binding etc. I just set up jQGrid with several thousand rows in database and am amazed at how fast it works!

[jQuery] Re: Superfish: 3rd Level Links (Fly-outs) are not showing up in Internet Explorer

2009-05-25 Thread Charlie
you have a series of compounding problems here. Simplest to fix is getting rid of "left: -50%" hack by clearing out all the non essential css from the container div "navigation". Getting rid of "inline" in that div will also fix the hack for "weird CMSMS menu template problem". Next make

[jQuery] Re: Superfish with multicolumn sub navigation

2009-05-26 Thread Charlie
simple recipe for multi column subs with superfish put div into 2nd level li. Put whatever you want inside this div, images, multiple divs, heading tags etc. Style divs any way you need use supersubs.js to adjust widths if not all sub menu's are same width Hetneo wrote: Hi

[jQuery] Re: Where to find a proper slide effect?

2009-05-26 Thread Charlie
look at demo on jQuery site, works exactly same as your sciptaculous example http://docs.jquery.com/Tutorials:Live_Examples_of_jQuery. not sure why your's causing issues, used this many times myself with same result M.M. wrote: I've searched the archives, and lot of people asked this

[jQuery] Re: 2 links = 1 action

2009-05-26 Thread Charlie
$('.contenttitleh1a, .itema').click(function() { ... heohni wrote: Hi! currently I have this: $('.contenttitleh1a').click(function() { ... Is there a way to say $('.contenttitleh1a'). or $('.itema'). click(function() { .? It's just that I have 2 different links to click but

[jQuery] Re: Newbie needs to update existing JQuery code

2009-05-26 Thread Charlie
I'm working on a Google Map app using jQuery and Google maps code together but I got very confused trying to follow your questions. you can pass variables ( index, lat/long or whatever works easiest) from small map to the URL that opens big map. invesitgate jQuery .attr() to do this,

[jQuery] Re: Superfish with multicolumn sub navigation

2009-05-27 Thread Charlie
y of (like in the example) getting superfish to display the child and the grandchild elements? Thanks, Charles On May 27, 1:25pm, Hetneo charles.kingsley.no...@gmail.com wrote: Hi Charlie, I guess the next question is what happens if there are li items within the div? Superfishdoes not display

[jQuery] Re: Loading google map js on a certain point of action

2009-05-27 Thread Charlie
$.getScript("url") might help heohni wrote: Hi, on my contact page, I have some hidden divs. One is for a google map. This div is only shown when the user has clicked to open the div. As I am working with smarty my template looks like this: span id="gmap" {literal} script src=""

[jQuery] Re: Making a button in active

2009-05-27 Thread Charlie
another option is put an overlay over them Fluffica wrote: I thought "oriHref" was a fancy part of jQuery there. Well, hopefull thinking. Unfortunatly I've got a long list of dynamic links, and need to disable them all when one is clicked. Putting the original href back into each one

[jQuery] jQGrid Ajax search parameters- Top toolbar method

2009-05-28 Thread Charlie
using jQGRid version 3.4.4 I have jQGrid working great with several thousand records, bottom toolbar search, add , delete etc are working fine in all columns. I installed the top toolbar search bar using .filtergrid and it is sending ajax only when I hit enter key, not autocomplete style as

[jQuery] Re: Print functionality

2009-05-29 Thread Charlie
I've never done this but if I was to try I'd try putting a dialog outside of all main containers, clone whatever needs printing to the dialog, set main containers print css to display:none waseem sabjee wrote: I'm not sure if thee is an automated command for this but one method is to

[jQuery] Re: Re: Superfish

2009-05-31 Thread Charlie
menu css is not typically quick fix stuff, there are a lot of elements at play, so getting a quick fix solution in a forum isn't easy. The relative and Z-Index issues have nothing to do with your situation. The process will involve a restructuring of your css backgrounds Background of menu

[jQuery] Re: help with accordion with IE (strange flickering)

2009-05-31 Thread Charlie
markup isn't correct for accordion, also page doesn't validate on w3c validator. Fix the markup and should work fine sadist wrote: hi, i am developing a site, which i intend to use accordion at my frontpage. everything works good with all browsers except for in IE 6 or even 7, it is

[jQuery] Re: a jQuery solution for an MSIE problem?

2009-05-31 Thread Charlie
not much to go on here. Google "IE problem" and there are a little more than a few issues show up pretty hard to troubleshoot a bunch of empty div's, an unknown image and a generic "problem", all packed into a 100px tall container . The underlying concept though sounds like jQuery would help

[jQuery] Re: Superfish Horizontal Nav-bar Question

2009-06-02 Thread Charlie
not a perfect solution but you won't see any subs for any of the time cursor is over "Home" $(".sf-menu li:eq(0)").hover( function () { $(".lower").css("left","-999em"); }, function () { $(".lower").css("left","0em"); } ); gerbert wrote: Joel Birch are you around? Anybody else

[jQuery] Re: JSON- PHP generated JS-file question

2009-06-03 Thread Charlie
you can search the json array with $.each var nameWanted = "a"; var data=""> {"id":"2","prijs":"5","naam":"b"}, {"id":"3","prijs":"22","naam":"c"}]}} $.each(data.channel.items,function(i,item) { if (data.channel.items[i].naam == nameWanted) { index=i; prijsWanted=

[jQuery] Re: Cycle flashes all images on pageload

2009-06-03 Thread Charlie
overflow: hidden should help. Also you are loading 2 instances of jQuery file which can cause issues instamattic wrote: Is there a way to prevent the brief display of all the photos in the cycle when the page loads? Problem affects IE7 and maybe others. http://scotthardinghomes.com/

[jQuery] Re: Selector help

2009-06-04 Thread Charlie
invalid code div dl class="entry" Dave Maharaj :: WidePixels.com wrote: I am cleaning up some html code and originally i had li div class="loading" id="loading_profile"/div div id="profile" dl class="entry" dtProfile Settings/dt dd class="skills" ?php foreach

[jQuery] Re: A beginerhaving problems with jquery

2009-06-06 Thread Charlie
you already have what you need whenever you see a reference to jquery.js ( in tutorials,plugin docs etc) you can substitute jQuery.1.3.2.js. or any other version The numbers after jQuery are version numbers, but this is the jquery.js you are needing. You can do one of following: save the

[jQuery] Re: Moving a div container from within to before a p container

2009-06-06 Thread Charlie
One reason I follow this board is to learn how to do things I haven't encountered. I had no idea off top of my head how to do what you want but in quest to learn jQuery many of the problems on this board are great for training one's self. Thanks to team jQuery for such a good library and for

[jQuery] Re: Moving a div container from within to before a p container

2009-06-06 Thread Charlie
i did realize after reading your post my bad for not paying closer attention to the OP, wrapping it all first then moving out of p makes sense mkmanning wrote: This still won't move the optional caption text (see my post above). On Jun 6, 4:21pm, Charlie charlie...@gmail.com wrote

[jQuery] Re: Make Learning Jquery Accordian Work With Unordered List

2009-06-08 Thread Charlie
the reason it doesn't work is ul.links isn't a sibling of the li that click occurs on, it is nested inside that li and therefore is a child. In the Learning jQuery example, the div's that are being opened and closed are siblings of the h3 that is being clicked .next() will look for a

[jQuery] Re: tabs are not created

2009-06-08 Thread Charlie
not much to work from here but sure sounds like script isn't activating did you include jQuery.js and jQueryUI.js files? are paths to these files correct? is order correct? did you intitiate $("#tabs).tabs(); ? is syntax correct? more code or link would help, markup alone doesn't tell a

[jQuery] Re: Cycle plugin help

2009-06-10 Thread Charlie
have you looked at the "even more advanced demos" on cycle site? If ever there was a plugin with a large variety of examples Cycle is it! You could at least find some examples that come close to what you want and be more specific about what it is you are trying to do by referencing them. Look

[jQuery] Re: Superfish: 3rd submenu

2009-06-10 Thread Charlie
this response refers to a specific use in a CMS, in this case Joomla. Admin of a menu in a CMS has nothing to do with extensibility of the markup or script functionality. you can extend the markup virtually indefinitely without any css or script mods by continuous nesting of UL's. Of course

[jQuery] Re: Accordion List Issue

2009-06-11 Thread Charlie
navigation : true In accordion will match link within accordion content to page url and open that section when page loads Skunkmilk wrote: Hi All, Very new to Jquery and was hoping i can get some help. I have an accordian list much like the example here :

[jQuery] Re: How to test/filter for all divs being hidden ?

2009-06-11 Thread Charlie
this is confusing, all the #content div's are already hidden by css ( display:none) and you say it's already working . Not very clear what you are trying to accomplish $("#content div").hide(); // this will hide every div within #content using part of your click function below a "filter"

[jQuery] Re: jQuery UI dialog not behaving

2009-06-11 Thread Charlie
try taking the dialog constructor out of the click functions maybe load is firing before the dialog call is complete this seems to be the norm, not trying to build it inside a click also first link doesn't validate on w3 validator, always worth checking validation when DOM weirdness occurs

[jQuery] Re: Accordion List Issue

2009-06-11 Thread Charlie
exactly terry irwin wrote: Thanks Charlie, Do you mean using it like this ? $(document).ready(function(){ $("#accordion").accordion({ active: false, collapsible: true, navigation : true }); }); On Thu, Jun 11, 2009 at 11:19 PM, Charl

[jQuery] Re: using find method on a documentFragment attached node

2009-06-11 Thread Charlie
var d=$('div.pointer').length; alert(d); amit wrote: Hi, I am writing an application that converts an ajax xml response into html using client side xslt transformation. The transformation is achieved using following snippet, which works fine - transform:function(xml){ if

[jQuery] Re: select top level of nested structure

2009-06-11 Thread Charlie
one little addition to markup add an id ="list" to ul due to $sortable requirements $("#section_list li:not('li ul li')").each( function(i) { position= i+1 myId="foo_"+position $(this).attr("id",myId); }); $("#list").sortable(); $("button").click(function() { var

[jQuery] Re: create a floating Superfish menu

2009-06-12 Thread Charlie
give ul.sf-menu an absolute position with css and apply the floating script to ul.sf-menu instead of the div container in example everything else in menu css and script remains the same I believe dimensions.js is deprecated in current jquery.js and is now built into core Yuri Timofeev

[jQuery] Re: remove one element in an array

2009-06-12 Thread Charlie
changing to class will do what you need here's an example using live() instead of livequery since it is built into jquery now and works for click function you are using I just changed to a UL instead of images http://jsbin.com/ewutu fabrice.regnier wrote: hi ;) An id must be

[jQuery] Re: Jquery Widgets !!

2009-06-12 Thread Charlie
look on jquery UI main page, there's a developers guide for widgets and tutorial Amit wrote: Hi Group, I just wanted to knew if we can create widgets using jquery , if yes, how?? -- Regards, Amit Kr. Sharma Mobile: 09780141161

[jQuery] Re: Superfish menu issue - flyouts expand beyond window boundaries

2009-06-12 Thread Charlie
simplest solution is to add an extra class to the culprit sub ul's either by hard coding it in markup or using jquery . From there it depends on the situation you have, number of sub levels and which levels are being troublesome. If it's just a matter of sliding first level left a bit, use

[jQuery] Re: DivMenu

2009-06-13 Thread Charlie
get better response with a link to see the problem, jsbin works great , has built in script libraries including jquery Glazz wrote: nobody can help me out?

[jQuery] DivMenu

2009-06-13 Thread Charlie
['font-family'], 'font-size' : opcoes['font_size'] }); /** end **/ }); /** end **/ }; On 13 Jun, 14:42, Charlie charlie...@gmail.com wrote: get better response with a link to see the problem, jsbin works great , has

[jQuery] Re: When using append() , appended content is not treated by jquery

2009-06-14 Thread Charlie
problem is events won't trigger on new element introduced to DOM after document ready has fired unless you use live() or livequery(), these allow to bind to elements before they enter DOM read up on it, will be an easy fix Eric-Sebastien Lachance wrote: Sorry if the subject is somewhat

[jQuery] Re: Enable Submit button

2009-06-15 Thread Charlie
this does not mean click both at same time, it is standard method of applying function to more than one selector and applies to *any* selector individually look at examples http://docs.jquery.com/Selectors/multiple#selector1selector2selectorN bharani kumar wrote: Assume if we give

[jQuery] Re: Removing Inner Tags

2009-06-15 Thread Charlie
assuming you're keeping the a tag there are quite a few ways to do this, here's a few: 1) $("div h1 a").appendTo("div"); $("div p, div h1").remove(); 2) var link=$("div h1 a"); $("div").html(link);// nothing left in div except a tag with this example, would wipe out anything else in div too

[jQuery] Re: - Superfish menu screws up my menu..

2009-06-16 Thread Charlie
this is a css issue very common with Joomla integration of new menu, the original template menu css does not get removed when installing a new menu and some of this css is needed to adapt new menu to theme of template. There are different techniques that can be used to style a menu , yet

[jQuery] Re: jQuery Works fine with Firefox and Internet Explorer 8. Not with IE7?

2009-06-17 Thread Charlie
page breaks in IE 7 w3 validator shows broken tags and microsoft debug has error here : }).playlist(".entries"); good practice to run validator (easy click from Firefox developer toolbar) , can find issues that may not be obvious, or when page not acting properly

[jQuery] Re: First Parent Siblings

2009-06-17 Thread Charlie
$(".classa").click(function () { $(this).parent().next(".classdiv").toggle(); }); FrenchiINLA wrote: Thank you for the reply. I would like to show hide the div located right after the h3 when a.classa is clicked, and not all other div.classdiv located on other lines. Thanks

[jQuery] Re: How to test/filter for all divs being hidden ?

2009-06-17 Thread Charlie
o "x1-button" the if statement " appears to return true again. As it appears that "#content div" is for any div in #content being hidden versus ALL. So I am looking to understand how to write the filter/test to check if ALL the divs in #content being hidden

[jQuery] Re: How to dynamically size an li?

2009-06-17 Thread Charlie
if contents are text just use css, not likely a need for scripting this li { float: left; width: 25%; text-align: center} wrap contents in another tag if you want to visually separate borders, backgrounds etc Brian wrote: What I Have: I have a bunch of inline blocks next to each other

[jQuery] Re: simple beginner question

2009-06-18 Thread Charlie
you're each idea is right on track $(".logo").each(function(){ $(this).hover(function(){ /// *this* within an *each* will single out the individual .logo you hover over $(this).find(".caption").animate({opacity:"show"}, "fast");// look within this .logo only }, function(){

[jQuery] Re: jQuery 1.3.2 in IE5.5

2009-06-18 Thread Charlie
not sure if this will help you or not but IE tester has an IE5.5 script engine, as well as 6,7 8 http://www.my-debugbar.com/wiki/IETester/HomePage Rodrigo Sebastin Alfonso wrote: Yeah, I thought so, but it's not an option to me to work without Win 95 (yes, I also said WTF). Client needs!

[jQuery] Re: Add items to list, is this a proper approach?

2009-06-19 Thread Charlie
"according to what's in this list." no way to see from here what's in your list, what you want to look for or what you want to do once you find( or don't find) what you are looking for maubau wrote: I'm trying to create a list, to which you can: 1. add and remove items. 2.

[jQuery] Re: Image resize

2009-06-19 Thread Charlie
that's a server side issue, not client side bharani kumar wrote: when upload , On Fri, Jun 19, 2009 at 7:33 PM, mojoeJohn mojoej...@gmail.com wrote: resize it in what way? on a hover or an image replacement or what? On Jun 18, 11:25pm, bharani kumar bharanikumariyer...@gmail.com

[jQuery] Re: Superfish IE question

2009-06-19 Thread Charlie
rule of thumb is to have jquery.js load before any other jquery scripts, you have superfish.js loading before jquery.js kanjigirl wrote: I'm using Superfish for the first time on this page: http://www.redkitecreative.com/projects/rickett/ In IE7 I'm getting an error with

[jQuery] Re: claering feilds in div

2009-06-20 Thread Charlie
$("input[type='text']").val(""); kalyan Chatterjee wrote: Just use this a simple html button: input name="button2" type="reset" id="button2" value="Reset" / On Jun 20, 9:58am, naz s.na...@gmail.com wrote: i have try this code but it also clear my buttons name .i just want to

[jQuery] Re: Removing an emptied paragraph from the DOM

2009-06-20 Thread Charlie
parnt.length isn't zero so if you are still using that test could the the problem think about it a second, if you assign $(this).parent() to it how can length be zero? also you have a syntax error $(this).insertBefore(p)// should have quotes around p unless it is a variable if you aren't

[jQuery] Re: adapting xhtml layout for JQuery photo slider to PHP blog template

2009-06-20 Thread Charlie
your source is all corrupted by injecting your images aimg//a inside the href of another a page is breaking as result try to make the code match the design of original plugin example first, verify by checking source in browser wildbug wrote: I figured out how to limit the photos to 4.

[jQuery] Re: slideToggle doesn't work in IE

2009-06-20 Thread Charlie
IE doesn't seem to recognize option click try this in both FF and IE $("select *").click(function () { alert(this.tagName); }); In FF will get alert returning "Option", in IE doesn't fire try this: $("#kies_land").change(function () { if ($(this).val()=="nederland") {

[jQuery] Re: Problems on IE7

2009-06-20 Thread Charlie
i tried this in IE 7 and was able to get to search after closing modal without complete lock up page does however have a significant number of validation errors, multiple use of ID's, broken tags, invalid xhtml tags ,style tags inside body all over the place etc and error console keeps

[jQuery] Re: jQuery UI dialog not behaving

2009-06-20 Thread Charlie
t;Ok": function() { $(this).dialog("close"); } } }); fredriley wrote: Thanks for the reply, Charlie. Sorry I've not got back on it until now. On Jun 11, 10:32pm, Charlie charlie...@gmail.com wrote: try taking the dialog constructor out of the click functions maybe load is

[jQuery] Re: am searching popup plugin

2009-06-21 Thread Charlie
not to mention jquery UI Dialog http://jqueryui.com/demos/dialog/ options don't show how to set it fixed for scrolling but that's easily modified with jquery.css() brian wrote: jquery.popup? There are a couple of different versions of that, I think:

[jQuery] Re: slideToggle doesn't work in IE

2009-06-22 Thread Charlie
it works fine here http://jsbin.com/ogoni Thavipa wrote: Hmm, thx for your reply.. but, it doesn't work..:( On 20 jun, 18:09, Charlie charlie...@gmail.com wrote: IE doesn't seem to recognize option click try this in both FF and IE $("select *").click(function (

[jQuery] Re: Submenu disappears too fast

2009-06-22 Thread Charlie
try setting delay as in Superfish API http://users.tpg.com.au/j_birch/plugins/superfish/#options if that doesn't do anything chances are your script isn't firing . Main menu won't appear any differently if script isn't firing non firing script can be for any number of reasons is this a CMS

[jQuery] Re: am searching popup plugin

2009-06-22 Thread Charlie
, please try to understand myrequirement, Thanks On Mon, Jun 22, 2009 at 12:01 AM, Charlie charlie...@gmail.com wrote: not to mention jquery UI Dialog http://jqueryui.com/demos/dialog/ options don't show how to set it fixed for scrolling but that's easily modified

[jQuery] Re: Problems on IE7

2009-06-22 Thread Charlie
firebug and fiddler but they dont show much. Also, I tried on another PC and I got the same problem with IE7. Thanks! On Jun 20, 6:04pm, Charlie charlie...@gmail.com wrote: i tried this in IE 7 and was able to get to search after closing modal without complete lock up page does however

[jQuery] Re: How to abort fadein/out processing?

2009-06-22 Thread Charlie
take a look at Hover Intent plugin, page explains your problem http://cherne.net/brian/resources/jquery.hoverIntent.html adamscybot wrote: This doesnt work at all, even without the stop(). Nav bar is unresponsive.

[jQuery] Re: I am new to this Jquery....i need to display 4 messages(in news sectiiion) one after another in a div tag

2009-06-22 Thread Charlie
waseem, why would you make this so complicated for someone just learning jquery? OP didn't provide any info on where messages are coming from. Creating arrays, click counts etc when you don't have enough information to set anything up is very likely going to confuse someone. A couple of

[jQuery] Re: Problems on IE7

2009-06-22 Thread Charlie
with this... On Jun 22, 9:31am, Charlie charlie...@gmail.com wrote: validator shows recurring ID's missing script type's, broken tags , invalid style placements, invalid xhtml tags etc,http://validator.w3.org/check?verbose=1uri=http%3A%2F%2Fpjm.com the errors part can be seen in web dev toolbar in firefox

[jQuery] Re: Error : 'document' is undefined

2009-06-22 Thread Charlie
try here: http://jquery.com/ if you plan on using jquery much or any web development install Firefox and Firebug extension. Far more friendly development browser if you can't download from above site the following is Google hosted jquery and is great way to use it, no file paths or

[jQuery] Re: basic jQuery/JavaScript pattern

2009-06-22 Thread Charlie
since jquery is _javascript_, and probably the best reference on the web for learning _javascript_ ( and many other languages) is w3schools.com try this link: http://www.w3schools.com/js/js_functions.asp hard to beat their explanations and "try it yourself" examples jerome wrote: I

[jQuery] Re: crazy if... !not working.

2009-06-22 Thread Charlie
you're loading jquery twice. Remove top one, not recommended to serve it from jquery site, put your animation script below your local version of jquery should work then umcosta wrote: Ok, here is what I want to do (extracted from: http://docs.jquery.com/Traversing/hasClass): script

[jQuery] Re: .load() function control

2009-06-22 Thread Charlie
here's a couple of options: add a class to your FAQ only used for the click function, remove the class inside the load success function. change $("FAQ).click.. to $(".newClickClass").click.. after appending content : removeClass("newClickClass") or simpler hide or remove #FAQ if

[jQuery] Re: Toggle Not Working

2009-06-22 Thread Charlie
appears you are trying to use toggle with 2 functions the same way hover works with it's 'over' function and 'out' function toggle arguments are toggle(speed,[callback]) try this: $('a.toggle').click(function(){

  1   2   3   4   5   6   7   8   >