[jQuery] Re: fadeIn nav help

2008-10-10 Thread Liam Potter
thanks a lot this is definitely going to help. at least I wasn't too far off. MorningZ wrote: This might help you out http://paste.pocoo.org/show/87599/ On Oct 10, 9:33 am, evo [EMAIL PROTECTED] wrote: Hi, new to jQuery trying to have a span fade in and fade out when I hover over a

[jQuery] Re: fadeIn nav help

2008-10-10 Thread Liam Potter
Still not working, your example works fine, put in some similar edits to make it work like i want it, still works i copied over to my html and it doesn't work no mores, here is my code http://paste.pocoo.org/show/87601/ MorningZ wrote: This might help you out

[jQuery] Re: fadeIn nav help

2008-10-10 Thread Liam Potter
ahh forgot to put the class back in.. Cheers MorningZ, all is good now. MorningZ wrote: Your selector $(#wrapper #topbar a.nav) your html a href=#home/a See the problem between the two? On Oct 10, 10:52 am, Liam Potter [EMAIL PROTECTED] wrote: Still not working, your example

[jQuery] Re: making the accordion remain open

2008-10-21 Thread Liam Potter
Hi Jörn, I was wondering if you had anything in a workable state for me to use? Thanks, Liam evo wrote: This sounds like something which could definitely work. Thanks Jörn On Oct 21, 12:09 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: I'm working on cookie persistence: When accordion is

[jQuery] performing actions on single elements with widely used classes

2008-11-03 Thread Liam Potter
Hi, I'm having trouble figuring out how I can perform say, a hide animation on a div, by clicking a button on one div, which uses a class used by other divs. *Lets say I have this:* div class=message a href=# class=deleteDelete/a pMessage text/p /div div class=message a href=#

[jQuery] Re: Gradientz

2008-11-04 Thread Liam Potter
doesn't seem to work with IE8, even in compatibility mode. weepy wrote: Just released a jQuery plugin Gradientz which creates graduated backgrounds without the need for images. * Uses VML in IE and canvas in Firefox, Webkit. * Cross Browser: Tested on FF3, IE6, IE7, Safari * Fast

[jQuery] Re: How to detect when the document has changed its dimensions.

2008-11-06 Thread Liam Potter
Rather then using jQuery to update the position, tut the absolutely positioned element in a relatively positioned container, that will grow/shrink as the page grows (such as the wrapper). If you are using a z-index on the absolutely positioned element then IE will ignore it because it is in

[jQuery] Re: Equal columns with a twist

2008-11-06 Thread Liam Potter
why add the sizer class, it seems no matter how much content is in there it won't shrink/grow beyond 400px so you could set this on the div directly. bmclaughlin wrote: Hello, I am trying to solve the following issue: - There are 3 columns on a page. - When the page first loads each column

[jQuery] Re: calling style

2008-11-06 Thread Liam Potter
he's commented out the jquery call out. All you would need is this; jQuery(function() { $(#div1).load(starterkit.html); }); Satyakaran wrote: Difference between the two code? On Nov 6, 12:36 pm, Satyakaran [EMAIL PROTECTED] wrote: function load() {

[jQuery] Re: Event Firing Twice

2008-11-06 Thread Liam Potter
The link you provided doesn't seem to work. n8cshaw wrote: One more interesting note... if the parent div is visible (display: block) when the page loads, I do not see this behavior. It is only when the parent div is not visible (display: none) on page load that it happens. On Nov 6, 9:07 am,

[jQuery] Re: performing actions on single elements with widely used classes

2008-11-06 Thread Liam Potter
? On Nov 4, 8:44 am, evo [EMAIL PROTECTED] wrote: anyone? On Nov 3, 5:28 pm, Liam Potter [EMAIL PROTECTED] wrote: Hi, I'm having trouble figuring out how I can perform say, a hide animation on adiv, by clicking a button on onediv, which uses aclassused by other divs. *Lets say

[jQuery] Re: Finding id and setting as variable

2008-11-07 Thread Liam Potter
).id to $(.msg).attr(id) - Richard On Fri, Nov 7, 2008 at 7:27 AM, Liam Potter [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: The error I get in firebug is $(.msg).id is undefined basically what I'm trying to do is pass this into an ajax post to delete the message, so it's

[jQuery] Re: How to select a group of similar named objects?

2008-11-07 Thread Liam Potter
$(.class).show(); $(.class).hide(); nmiddleweek wrote: Hello, Is there a shorthand way of setting the visiblity to hidden and display to none? and a shortcut for the other way round? perhaps .show() that includes the display:inline; Cheers, Nick On Nov 6, 9:19 pm, jquertil [EMAIL

[jQuery] Re: Select all options on button click

2008-11-07 Thread Liam Potter
why not have an all option in your select box and do the rest server side? JQueryProgrammer wrote: Hi All, I am trying to write a JQuery function which would select all my options in the select control with the click of a button. I am able to do it with the following function:

[jQuery] Re: How to select a group of similar named objects?

2008-11-07 Thread Liam Potter
it switches between display:block and none. nmiddleweek wrote: ah, ok, that's what I had but didn't think it was doing the display:inline/none bit?... will try again. Thanks, Nick On Nov 7, 3:29 pm, Liam Potter [EMAIL PROTECTED] wrote: $(.class).show(); $(.class).hide(); nmiddleweek

[jQuery] Re: span tag is width:80px but is only showing the width of contents?

2008-11-07 Thread Liam Potter
the most simple way to do this, is to simply apply display:block on the span. span style=display:block;width:80px;background:#00FF00;A/a that will fix it all. Andy Matthews wrote: That's a LOT of markup. You could actually use an input field if you just want to set a background color an

[jQuery] Re: span tag is width:80px but is only showing the width of contents?

2008-11-07 Thread Liam Potter
display:inline-block; Andy Matthews wrote: Actually that will NOT fix it all. That makes the span into a block level element which will force it to the next line. andy -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Liam Potter Sent: Friday

[jQuery] Re: span tag is width:80px but is only showing the width of contents?

2008-11-07 Thread Liam Potter
:20 pm, Liam Potter [EMAIL PROTECTED] wrote: display:inline-block; Andy Matthews wrote: Actually that will NOT fix it all. That makes the span into a block level element which will force it to the next line. andy -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: Finding id and setting as variable

2008-11-07 Thread Liam Potter
results? something else? On Nov 7, 7:19 am, Liam Potter [EMAIL PROTECTED] wrote: Hi guys, this should be a quick one I have a div, which has a unqiue id (pulled from the database) so something like this. div class=msg id=msg%#Eval(PrimaryKeyID)% /div and I'm trying to get the id number

[jQuery] Finding id and setting as variable

2008-11-07 Thread Liam Potter
Hi guys, this should be a quick one I have a div, which has a unqiue id (pulled from the database) so something like this. div class=msg id=msg%#Eval(PrimaryKeyID)% /div and I'm trying to get the id number from it like this var uid = $(.msg).id.replace('msg', ); as I'm running a similar

[jQuery] Re: slideDown animation jumps - even without padding set.

2008-11-07 Thread Liam Potter
does the div have the have no height? if not set a height on the div, if it needs to be expandable then someone who knows more about this will need to help you. Though looking into the dimensions plugin may help. http://brandonaaron.net/docs/dimensions/#sample-2 jonhobbs wrote: I know

[jQuery] Re: window.close() in jQuery

2008-11-11 Thread Liam Potter
depends how the pop up was initiated and type of pop up. more details please. Debby wrote: Hello, can anyone explain how to close popup window programmatically in jQuery? Thanks in advance.

[jQuery] Re: jqModal

2008-11-11 Thread Liam Potter
change $().ready(function() { to $(document).ready(function() { Rule13 wrote: I'm trying to trigger the following modal after the page loads. I've tried 'autofire:true' and jqmShow() to no avail. I am receiving an error message that 'h' has no properties. I'm obviously doing something

[jQuery] Re: onmouseclick get class

2008-11-11 Thread Liam Potter
First your html is wrong, you ca't self close a div tag. it should be div id=chess-board div class=chess-board div id=chess-board_piece_1 class=r style=r/div div id=chess-board_piece_2 class=n style=n/div div id=chess-board_piece_3 class=b style=b/div /div /div and the

[jQuery] Re: [ANNOUNCEMENT] jquery.timepickr.js: first official release

2008-11-11 Thread Liam Potter
Nice plugin but, how often do you need to input the time into a form? and then, is it really that hard to input the time into a form? Alexandre Plennevaux wrote: impressive, congratz ! On Tue, Nov 11, 2008 at 3:34 PM, h3 [EMAIL PROTECTED] wrote: Hi everyone, Yesterday I released the

[jQuery] Re: Remove CSS setting (not class)?

2008-11-11 Thread Liam Potter
$(#myElement).css(height, auto); MorningZ wrote: try $(#myElement).css(height, null); On Nov 11, 7:52 am, Shawn Grover [EMAIL PROTECTED] wrote: I have an odd situation where a DIV can be displayed in one of 3 states: - normal (X x Y pixels in dimension), - minimized (hidden) -

[jQuery] Re: link fade in / out

2008-11-12 Thread Liam Potter
not entirely sure if it will work this way but try $(a).bind(mouseenter,function(){ $(this).fadeTo(500,1); } }); $(a).bind(mouseenter,function() { $(this).fadeTo(300,0.33); }); Althalos wrote: *bump* On 11 Nov, 19:15, Althalos [EMAIL PROTECTED] wrote: Hi. I have a menu consisting

[jQuery] Re: link fade in / out

2008-11-12 Thread Liam Potter
not entirely sure if it will work this way but try $(a).bind(mouseenter,function(){ $(this).fadeTo(500,1); } }); $(a).bind(mouseleave,function() { $(this).fadeTo(300,0.33); }); Althalos wrote: *bump* On 11 Nov, 19:15, Althalos [EMAIL PROTECTED] wrote: Hi. I have a menu consisting of

[jQuery] Re: [Superfish] Third horizontal navigation?

2008-11-12 Thread Liam Potter
I've never used superfish but I'm guessing it would be css changes, probably float:left on the the li tag the some widths, padding etc. kidhermes wrote: kidhermes wrote: Hello I've try to put a third horizontal navigation with Superfish instead vertical. How I can do that easly? Is

[jQuery] Re: Event Capture Architecture

2008-11-12 Thread Liam Potter
I would do a seperate bind method for each element saqib wrote: Is there any open source project so that I can their working in this scenario (ie multiple event capture) On Nov 10, 9:33 pm, saqib [EMAIL PROTECTED] wrote: I am developing an application in which I have to define click

[jQuery] rotate images

2008-11-13 Thread Liam Potter
Hi, need a little help. I'm rotating some images and need it to loop. So far I have this var rotate = $(.rotate) .animate({opacity: 1.0}, 3000) .animate({marginTop: -32px}, slow) .animate({opacity: 1.0}, 3000) .animate({marginTop: -64px}, slow)

[jQuery] Re: Destroy Interval at DOM Object removal

2008-11-14 Thread Liam Potter
That's pretty cool. To make it a bit more difficult, why not add vertical movement aswell, and if you did the vertical movement in all angles, you could create a controllable 3D object. Pom wrote: Hi! I killed my plugin-idea and rewrote the whole thing and now I have it working. Thanks

[jQuery] Re: How to create own jQuery plugin?

2008-11-18 Thread Liam Potter
http://docs.jquery.com/Plugins/Authoring Debby wrote: Hello, Can anybody expalin how to create own jQuery plugin? Some basic stuff.. Guidelines to follow..

[jQuery] Re: Firefox and JS Function Overloading My Computer?

2008-11-18 Thread Liam Potter
can't you just put your site in a wrapper div and give it the css property of margin:0 auto no need for javascript to center a site. OscarGodson wrote: I'm writing a site in a lot of javascript that has a lot of effects. I'm really trying to push the limits on jQuery. Right now my site has

[jQuery] Re: how to blockUI for whole document from iframe

2008-11-18 Thread Liam Potter
don't use it inside the iframe... balavignesh wrote: Hello friends, While using ajax , i am blocking the UI part using the following jquery , $(document).ajaxStart(function(){ $().blockUI({message: 'img src=/images-system/ loading.gif /'})}).

[jQuery] Re: SOT: Using FF2 input element sometimes including padding in width...

2008-11-18 Thread Liam Potter
Do you have to use percentages? I have a feeling an exact width in px might help. Dan G. Switzer, II wrote: This is slight off-topic, but I thought maybe someone on this list might have seen the issue before. I've got an input element that has some a large padding to include a background

[jQuery] Re: Problems using $.load() on remote contentw ith a large dropdown (select)

2008-11-19 Thread Liam Potter
can we seen an example? the_woodsman wrote: Hi all, I have a html page with a massive (200+ options) drop down: select name=data[Something][country_id] id=someID option value=1United Kingdom/option option value=39Afghanistan/option option value=40Aland Islands/option etc etc! By

[jQuery] Re: Modify CSS with jQuery depending on visitors country

2008-11-19 Thread Liam Potter
Better off doing this server side. (antenna) wrote: Hi, I'm quite new to jQuery and wondered if this was possible. I need to hide a bit of content on a web page if the visitor is outside of the UK. I'm wondering if jQuery can detect what language the visitors browser is set to (e.g. 'en',

[jQuery] Re: How to position a footer always at bottom?

2008-11-19 Thread Liam Potter
I don't see the point of using jquery for this, this is all possible with pure css. howa wrote: Consider the code: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; html head title/title script type=text/javascript src=jquery-1.2.6.min.js/script

[jQuery] Re: asp.net and jquery - reactions to this letter

2008-11-19 Thread Liam Potter
I'd also disagree with these. I'm developing an application using jQuery with a asp.net developer, both of us having no problems at all. Stamen Georgiev wrote: On Nov 18, 11:52 pm, rolfsf [EMAIL PROTECTED] wrote: A friend had sent this rant in to microsoft, regarding jquery, which is

[jQuery] Re: Finding matching classes

2008-11-19 Thread Liam Potter
you won't need the if statement. $(document).ready(function(){ $([EMAIL PROTECTED]'triggerClass'] [EMAIL PROTECTED]'triggerClass']).addClass(foundMatch); }); this will find the h3 with a class of triggerClass, found within a body tag with the class of triggerClass and add the

[jQuery] Re: highlighting elements of the page

2008-11-19 Thread Liam Potter
if they are all highlighted with the same color, surely you can't tell if they both have the bg applied? [EMAIL PROTECTED] wrote: Hi, I'm trying to highlights elements of the page on mouseover. I want to highlight all td's h1's and p's when the mouse is over. $(td, h1,

[jQuery] Re: Finding matching classes

2008-11-19 Thread Liam Potter
, -Alan On Nov 19, 9:45 am, Liam Potter [EMAIL PROTECTED] wrote: you won't need the if statement. $(document).ready(function(){ $([EMAIL PROTECTED]'triggerClass'] [EMAIL PROTECTED]'triggerClass']).addClass(foundMatch); }); this will find the h3 with a class of triggerClass, found

[jQuery] Re: Finding matching classes

2008-11-19 Thread Liam Potter
a class of classTwo, then the script would spot the match and add class foundMatch to my H3. Sorry I didn't explain that more clearly. If you can help more, thanks again in advance and either way, thanks for your quick and helpful reply. Cheers, -Alan On Nov 19, 9:45 am, Liam Potter [EMAIL PROTECTED

[jQuery] Re: Resize an element without affecting the layout

2008-11-19 Thread Liam Potter
use absolute positioning and set the parent element to relative. vani wrote: Is it possible to create an animated resize of an element without affecting the layout of the parent element table? I'm using jQuery 1.2.6 and possibly personalized jQuery UI, if necessary.

[jQuery] Re: Ho can I make my Superfish menus animate faster than fast

2008-11-19 Thread Liam Potter
use numbers, but with no quotations, 1000 = 1 second zdislaw wrote: Are 'slow' 'normal,' and 'fast' the only three values possible for speed: '___'? I would like the animation to go a bit faster than it does with the 'fast' setting, but I don't want to lose the animation altogether. Can

[jQuery] Re: Detecting a click off an element

2008-11-19 Thread Liam Potter
just also create a transparent fullpage overlay, so when a user clicks on the page (actually the div overlay) you can do something like $(div.overlay).click(function () { $(.classname).hide(); }); jonhobbs wrote: HI, I'm trying to make a layer popup when you focus on a text box.

[jQuery] Re: Underline stroke/height with Jquery css?

2008-11-19 Thread Liam Potter
no. Whats wrong with using the border-bottom? Pete wrote: I'm looking for a way to adjust the height of an underline element. Specifically I'm not looking to do a border-bottom CSS attribute and I was wondering if there is some method in JQuery that could style a CSS element that cannot

[jQuery] Re: Resize an element without affecting the layout

2008-11-20 Thread Liam Potter
//div/td /tr /table ...I'm trying to resize the img elements. On 19 stu, 18:15, Liam Potter [EMAIL PROTECTED] wrote: use absolute positioning and set the parent element to relative. vani wrote: Is it possible to create an animated resize of an element without affecting the layout

[jQuery] Re: Resize an element without affecting the layout

2008-11-20 Thread Liam Potter
stu, 09:57, Liam Potter [EMAIL PROTECTED] wrote: is the div necessary? Try taking it out. vani wrote: Thanks for replying, but I'm still having trouble making it work. I tried to set the table to relative and img to absolute but it didn't work as intended. This is the layout

[jQuery] Re: Resize an element without affecting the layout

2008-11-20 Thread Liam Potter
make sure you have made the td position:relative Ivan Svaljek wrote: If I do that, they all pile up on each other at the top/left corner of the table, like this: http://tinyurl.com/5tdmgm On Thu, Nov 20, 2008 at 10:21 AM, Liam Potter [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote

[jQuery] Re: Window.open and jquery

2008-11-20 Thread Liam Potter
show us code, give us a link. Tolis Christomanos wrote: Hi all, I am using window.open to open a new window to display a form. The form uses jquery for validation but i get the following error $ is not defined though i include jquery in the head Any ideas?

[jQuery] Re: Resize an element without affecting the layout

2008-11-20 Thread Liam Potter
ok, got it. Un comment the div in the td, and apply the position relative to that. for some reason position relative doesn't seem to work on a table cell. Ivan Svaljek wrote: Here is the link, but it changes often: http://tinyurl.com/634p9s On Thu, Nov 20, 2008 at 12:20 PM, Liam Potter [EMAIL

[jQuery] Re: Hi all. How to define Chrome browser?

2008-11-20 Thread Liam Potter
That's because they both use the same rendering engine, WebKit. I'm not sure right now if you can single one from the other. mtest wrote: How possible to define Chrome browser like other, for example Safafri: if ($.browser.safari) { alert('This is Safari') } it intersting that

[jQuery] Re: Resize an element without affecting the layout

2008-11-20 Thread Liam Potter
I could somehow position the center of the images to coincide with the center of parent cell? Any ideas on that one, and perhaps compatible with jquery animated resize? On 20 stu, 12:43, Liam Potter [EMAIL PROTECTED] wrote: ok, got it. Un comment the div in the td, and apply the position

[jQuery] Re: Resize an element without affecting the layout

2008-11-21 Thread Liam Potter
: That's it, weehee! Now if only I could somehow position the center of the images to coincide with the center of parent cell? Any ideas on that one, and perhaps compatible with jquery animated resize? On 20 stu, 12:43, Liam Potter [EMAIL PROTECTED] wrote: ok, got it. Un comment

[jQuery] Re: linkselect plugin problem (related hover gets deactivated) -- help please

2008-11-21 Thread Liam Potter
Carl, can you not delete the quoted messages as most people dont use a web interface to follow newsgroups and now I have no idea what your reply relates to. clorentzen wrote: Dan -- Yep, that was it. Now the hover state of the parent nav panel doesn't get disturbed. ...And you were right

[jQuery] Re: NEWB ALERT: Why when calling a pre-existing function from .click() is it executed on page load?

2008-11-21 Thread Liam Potter
$(#qSearchBut).click(function () { $(this).quickSearch() }); .mini.moke wrote: Hi there, I'm pretty new to JQuery. I have a couple of elements that need to call the same function so my code looks like this: $(#qSearchBut).click(quickSearch()); Pretty simple I thought. But this

[jQuery] Re: get top most parent

2008-11-24 Thread Liam Potter
header2obj.children().children().children(#submenu); chitgoks wrote: hi, i am stumped so i am posting it here. no luck searching google for many hours this is my html code div id=firstpane class=menu_list !--Code for menu starts here-- p id=header1 class=menu_headHeader-1/p

[jQuery] Re: Why doesn't code execute when Drop Down is changed or Button clicked.

2008-11-24 Thread Liam Potter
try $(#clickMe).click(function () { alert('four'); }); bkbonner wrote: I've been trying to figure out why when I click the button nothing happens...Can someone shed me some light on this example? html head script src=jquery-1.2.6.min.js/script script

[jQuery] Re: asdf

2008-11-24 Thread Liam Potter
and a good asdf to you to sir. Weston Weems wrote: asdf

[jQuery] Re: Click off a div and have it disappear

2008-11-24 Thread Liam Potter
if you just want it to be similar to a mouseoff then bind a mouseleave function to the li rather then using mouseoff. shogunmike wrote: Hi guys, Since this is my first post I thought I'd introduce myself - I'm Mike, working on a web startup in London. We're using jQuery (because it's

[jQuery] Re: Using jquery to construct menus like nbc.com

2008-11-25 Thread Liam Potter
bind a mouseenter function to the menu div, then a mouseleave function to the sub menu. Ted wrote: I have, and have used the suckerfish method before. The problem is I've already created the CSS for the menus based upon them living each in their own div, and would like to engineer them based

[jQuery] Re: Pulling images dynamically from a folder.

2008-11-25 Thread Liam Potter
any server side language. fr0st003 wrote: So what I could do is use something like PHP, to pull images from the folder place them into a array, use the math function to pull something at random then use Javascript to style the information. Would this be possible to do with Python? I have some

[jQuery] Re: Selector Help

2008-11-26 Thread Liam Potter
almost $('.link').click(function () { $(this).parent().BLAHBLAHBLAH(); }); Jason wrote: Code: fieldset a href= class=link/a /fieldset fieldset a href= class=link/a /fieldset fieldset a href= class=link/a /fieldset When a link is clicked, I would like to be able to reference the

[jQuery] Re: jQuery timing out on page load

2008-11-27 Thread Liam Potter
I'm guessing the path is wrong, are you using absolute paths or relative? ricardobeat wrote: It shouldn't timeout if you're not running any functions, are you using the packed version? Are you sure you don't have any javascript code on these pages? On Nov 11, 3:01 am, harryhobbes [EMAIL

[jQuery] Re: Submiting custom attributes to server side with form pluggin

2008-12-01 Thread Liam Potter
I'm developing an application and came across this problem. The asp programmer got around it by taking the values from the forms, then applying the values to a hidden form element with the right name for each, this seemed to do the trick. ristov_nca wrote: Hi everyone, I've been trying to

[jQuery] Re: liscroll doens't work correctly!

2008-12-01 Thread Liam Potter
Try adding a width onto the li. Mahmoud M. Abdel-Fattah wrote: Hello, I'm using liScroll here : http://alia.hdeya.com I don't know what's the problem ! Thanks Regards, Mahmoud M. Abdel-Fattah

[jQuery] Re: Problem with Jquery tabs

2008-12-02 Thread Liam Potter
put style=display:none on the content divs. serpicolugnut wrote: I'm having an issue getting Jquery tabs to run correctly. I'm using the technique described at http://media.jqueryfordesigners.com/jquery-tabs-part2.mov . I've setup a test case here:

[jQuery] Re: Fixed div, content scrolls under it

2008-12-03 Thread Liam Potter
if you don't care about ie6 then position:fixed with a z-index above everything else will do the trick. for ie6 you will need some javascript, though even then it will be jumpy. Andy Matthews wrote: No, not like that. I'm looking to essentially simulate a frameset, where the navigation

[jQuery] Re: Simple Selector Question -- Context

2008-12-03 Thread Liam Potter
it would be this $('p.error:visible') Joe wrote: If I have the following: var pError = $('p.error'); Then I can do the following with no problem: pError.text('lorem); Yet, I want to check for the paragraphs that have the class error that are visible, I would think it is something like

[jQuery] :last in IE6

2008-12-05 Thread Liam Potter
I have a simple function to add a last class to the last li tag in a specific ul $(.createNewOrder ul li:last).addClass('last'); problem is in IE6 it selects all the li's and adds the class. Anyone come across this before?

[jQuery] Re: :last in IE6

2008-12-05 Thread Liam Potter
on class=last alt Karl Swedberg wrote: On Dec 5, 2008, at 6:46 AM, Liam Potter wrote: I have a simple function to add a last class to the last li tag in a specific ul $(.createNewOrder ul li:last).addClass('last'); problem is in IE6 it selects all the li's and adds the class. Anyone come

[jQuery] Re: Need help adding rows to JCarousel

2008-12-05 Thread Liam Potter
So, the carousel is scrolling separate divs right? what's stopping you from nesting a table inside the div that will be scrolled? nat wrote: I am desperate to get rows added to JCarousel, I am a js novice so I have made many attempts to hack with css with no success. I am trying to create a

[jQuery] Re: :last in IE6

2008-12-05 Thread Liam Potter
! .alt {} and .last{} is that ok? On Dec 5, 2:59 pm, Liam Potter [EMAIL PROTECTED] wrote: As it turns out, it's not a jQuery problem at all, the last function works fine, it came down to an ie6 bug if i have class=last alt (alt for striping) and declare css like li.last.alt { blah } ie6 see's

[jQuery] Re: :last in IE6

2008-12-08 Thread Liam Potter
yep, I got around it by doing this $(this).removeClass(last); $(this).removeClass(alt); $(this).addClass(lastalt); ricardobeat wrote: Have you tried li.alt.last? :D On Dec 5, 12:59 pm, Liam Potter [EMAIL PROTECTED] wrote: yes I know this, defining li.last.alt allows me apply specific

[jQuery] Re: How can I make a td clickable?

2008-12-08 Thread Liam Potter
display:block the a and give it a height and width of the td you don't need to use jquery for everything. Kayhadrin wrote: Indeed, the click() event on the link is not enough to activate the link. :( Good catch! On Dec 8, 2:27 pm, Karl Swedberg [EMAIL PROTECTED] wrote: On Dec 7, 2008, at

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2008-12-08 Thread Liam Potter
it seems your CSS needs a good look at in IE. I'm in work right now but I'l lsee if I can't fix it up in Ie for you. I like the idea of this, would be good for CMS use. Nicolas R wrote: Greetings! I've put together a plugin that creates a mac-style finder out of a list. The plugin is still

[jQuery] Re: SlideToggle a DIV inside another DIV

2008-12-08 Thread Liam Potter
try this $(document).ready(function() { $(.gb_result .btn-edit).click(function(){ $(this).sibling(.gb_edit).slideToggle(); }); }); StoneGut wrote: Hello, I have a div (gb_results) that includes another div (gb_edit) - when a button with class edit in the gb_results DIV is

[jQuery] Re: SlideToggle a DIV inside another DIV

2008-12-08 Thread Liam Potter
EDIT-- /div !--Entry container-- On closer inspection it seems my EDIT link is within another DIV (for formatting and positioning) --- ack! On Dec 8, 11:10 am, Liam Potter [EMAIL PROTECTED] wrote: try this $(document).ready(function() { $(.gb_result .btn-edit).click(function

[jQuery] Re: SlideToggle a DIV inside another DIV

2008-12-08 Thread Liam Potter
it SHOULD work. On Dec 8, 11:30 am, Liam Potter [EMAIL PROTECTED] wrote: ok try this $(document).ready(function() { $(.guestbook_result .btn-edit).click(function(){ $(this).parent().child(.guestbook_edit).slideToggle(); }); StoneGut wrote: Didn't work - thanks though

[jQuery] Re: SlideToggle a DIV inside another DIV

2008-12-08 Thread Liam Potter
DIV's are opening - with your code in place nothing happens. No DIV movement. On Dec 8, 11:53 am, Liam Potter [EMAIL PROTECTED] wrote: my mistake, should of been child should be chilren $(document).ready(function() { $(.guestbook_result .btn-edit).click(function

[jQuery] Re: SlideToggle a DIV inside another DIV

2008-12-08 Thread Liam Potter
=- On Dec 8, 12:05 pm, Liam Potter [EMAIL PROTECTED] wrote: i just noticed all the font tags (you will want to remove these, the font tag is no longer used) so it would of been getting that as the parent, this one should work. $(document).ready(function() { $(.guestbook_result .btn-edit

[jQuery] Re: How modal windows work ?

2008-12-08 Thread Liam Potter
bascially, it will be a div the same height and width as the webpage with a background color with an opacity set, or maybe an alpha png depends who coded it. generally that is how they are done. jh wrote: Hi everyone ! I'm really curious about how modal window work behind the jquery. When

[jQuery] Re: :last in IE6

2008-12-08 Thread Liam Potter
cheers Karl, this should help with my coding, cheers :) Karl Swedberg wrote: On Dec 8, 2008, at 3:55 AM, Liam Potter wrote: yep, I got around it by doing this $(this).removeClass(last); $(this).removeClass(alt); $(this).addClass(lastalt); just a minor thing, but it's usually a good idea

[jQuery] Re: externalizing script seems to break append()

2008-12-11 Thread Liam Potter
show us your script Brian wrote: When I move my script to an external file, where before it was between script tags in head, append(div...blah.../div) installs its text argument as text within the DOM. When the script was internal, the text argument was properly installed as markup. Any

[jQuery] Re: What's the correct way to write this code?

2008-12-12 Thread Liam Potter
success: function(response){ if (response.login = Login Successful); {top.location.href = site_manager.cfm} else (response.login == Login Unsuccessful); {$('#contentdiv').empty().fadeIn(1000).append(response.login)}; } Rick Faircloth wrote: How

[jQuery] Re: Opacity for a menu background, but not for the element inside

2008-12-12 Thread Liam Potter
Jim, read the question again ;) Anyway. There is no simple solution to this problem, I'd advise using a PNG image as it is the cleanest way to achieve this. Jim D wrote: You can use the CSS 'opacity' property. It accepts a value between 0.0 and 1.0. For example, if you wanted to set the

[jQuery] Re: Submit a form automatically

2008-12-12 Thread Liam Potter
you could do something like this... $(document).ready(function () { document.NAME_OF_FORM_HERE.submit(); }); Rick Faircloth wrote: Sorry I don't have an answer for you, Adam. (I'm new to js and jQuery) But I was just curious as to what you were trying to do with a dynamically created (and

[jQuery] Re: DOMWindow

2008-12-15 Thread Liam Potter
|$('#modal').bind('keypress', function(e) { if(e.keyCode==27){ // esc pressed... do anything here... } }); |

[jQuery] Re: [TUTORIAL] Creating an OS Web Interface in jQuery (Part I)

2008-12-16 Thread Liam Potter
good for a beginner to start learning from, but what does this offer?, really it is some pretty graphics and a click and drag script and some mouse clicks ? Rick Faircloth wrote: Great idea, Adrian! Good work! Rick -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: jQuery becomes Unresponsive

2008-12-16 Thread Liam Potter
use a tables it's ridiculous to use divs to replace a table, when you are showing a table. tableless designs doesn't mean not using tables at all, just not using it to structure the site layout. If you have tabular data, use a table. thousands of divs is going to slowdown any browser and

[jQuery] Re: Selector not working ?

2008-12-18 Thread Liam Potter
Can I ask why you don't just use a link for these? $(#welcome-sip).click(function() { window.location =http://www.net-vitesse.com/content/mclink;; }); $(#welcome-services).click(function() { window.location =http://www.net-vitesse.com/content/services;; }); $(#welcome-soa).click(function()

[jQuery] Re: Selector not working ?

2008-12-18 Thread Liam Potter
You can wrap the link around the image and text. Antoine Roux wrote: Hi, You are right, it appears I did not understand the way click() and mouseover() are working. It solved my problem. To answer Liam : I did not use a link as I am using both a picture and a text and I'd rather have the

[jQuery] Re: a question to animate

2008-12-18 Thread Liam Potter
animate the width, not the position. Ante Damjanovic wrote: Hello, i wrote a accordion like plugin for a page navigation and i want an element to grow up and move to the left side. The only way i found was: jQuery(elem).animate({ width:“583px“, left: „-525px“}); with this method the

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread Liam Potter
? : Nope... notice that there's a small space after the ending double quote.. ( got it ? ) :) tat's where IE sucks ! Cheers ! Aryan On Thu, Jan 15, 2009 at 5:05 PM, Liam Potter radioactiv...@gmail.com mailto:radioactiv...@gmail.com wrote: Those 3 examples are exactly the same? Also

[jQuery] Re: Alternative stylesheet for jQuery.com

2009-01-15 Thread Liam Potter
you should give stylish a try to do client side CSS changes rather then greasemonkey. https://addons.mozilla.org/en-US/firefox/addon/2108 Mark Gibson wrote: Any chance of getting an alternative stylesheet added to jquery.com? I've got a small 1024x600 display, and the heading of jquery.com,

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread Liam Potter
Those 3 examples are exactly the same? Also, they are double quotes, not doube codes. Sagar Arya wrote: Hello, This completely works fine.. How ever it was a v v v v vv simple mistake when i include the .js files... there shouldn't be any spaces between the double() codes..

[jQuery] Re: Imade fade loop on mouseenter

2009-01-15 Thread Liam Potter
() { }) } //end of for-loop } doThis(); but then it doesn't even run.. This is rather urgent and I'm really strugling here, so if anyone has any suggestions, please suggest away. - Liam Liam Potter wrote: I've just taken another look and it is actually fading

[jQuery] Re: Imade fade loop on mouseenter

2009-01-15 Thread Liam Potter
I've just taken another look and it is actually fading the rest of the images, all at the same time. It seems to me the loop is running, but doesn't wait for the first image to finish fading, would using setTimeout doing anything? evo wrote: Hi Guys, I'm having some trouble looping through

  1   2   3   4   >