[jQuery] Re: Link Clicks Double Firing

2010-01-14 Thread pedalpete
Thanks for clarifying that Bill. I see your issue with my solution. I'm still learning to be a better programmer, and getting your type of feedback is really helpful. Thanks On Jan 14, 6:37 am, bill wrote: > hi pedalpete, your solution does work perfectly fine, sorry for not > making

[jQuery] Re: Select all items in list on form submit

2010-01-14 Thread pedalpete
Can you give a bit more detail? Is the submit not firing? or the .each? I always like to give my selectors an element+class/id, apparently it is more efficient, and I have noticed that some browses (it seems only sometimes) will miss some elements when only using the id/class. But throw some ale

[jQuery] Re: What is the proper way to write this if statement?

2010-01-13 Thread pedalpete
Everything that I've seen says you have to check the length of the element you are looking for. So I think you want if($(this).parents('ul').length==0){ $(this).addClass("active"); } If a parent UL was found, the length would be > 0

[jQuery] Re: Link Clicks Double Firing

2010-01-13 Thread pedalpete
Hi Bill, I'm still learning lots, and was hoping you could better explain what was wrong with my solution (as it seems the other solutions are FAR more complicated. What I was trying to acheive was to just disable the link for javascript enabled browser, and keep it enabled for those without jav

[jQuery] Re: Link Clicks Double Firing

2010-01-13 Thread pedalpete
You'll want to unbind the click event for the link, this should work $(#factsheets td a').unbind('click'); Since the link is inside the cell, a click on the link should still trigger the link. Let me know how it goes (I don't get to answer questions very often ) On Jan 13, 1:22 pm, Collectonian

[jQuery] jquery draggable on live events

2010-01-13 Thread pedalpete
I was sure that drag & drop from the jQuery UI wouldn't work on events that are added dynamically to the dom. But I found this thread which says to use '.live('mouseover')' to get it to work, and it seems drag works like a charm. Droppable, I can't seem to get the simplest of 'alerts' after an it

[jQuery] Adding/Removing and Resizing jScrollPane - Reinitializing jScrollPane

2009-09-04 Thread pedalpete
I am building a little widget which is using jScrollPane to add a scrollbar for where the data doesn't fit inside the alloted space. When the user clicks on the data, I hide what they had, and show the clicked data in a different format. Sometimes the data needs a scrollbar, sometimes not, and s

[jQuery] get parent where

2009-08-02 Thread pedalpete
I've been trying to get a specific parent element traversing up the DOM until I find it, but it is getting to be some very verbose code, and I'm thinking there must be a better way. I have a bunch of events which is fired on a click, and I am trying to figure out which of the parent divs was clic

[jQuery] Re: consistently unable to get return false to work, why?

2009-07-28 Thread pedalpete
il).after("works"); > > It's missing a closing quote (") after "email". > > On Jul 27, 12:28 pm, pedalpete wrote: > > > > > Thanks John, > > > I wasn't familiar with the .live() before, but of course I'll use that > > w

[jQuery] Re: consistently unable to get return false to work, why?

2009-07-27 Thread pedalpete
liveQuery plugin. Why not just use > .bind() or .live()? > > --John > > > > On Mon, Jul 27, 2009 at 5:11 PM, pedalpete wrote: > > > So, this isn't related to any one bit of code, but it seems to be a > > problem I run into almost everytime i need to stop

[jQuery] consistently unable to get return false to work, why?

2009-07-27 Thread pedalpete
So, this isn't related to any one bit of code, but it seems to be a problem I run into almost everytime i need to stop a form or link for doing what it was originally intended to do (submit). Now, i have used return false; many times, but it never works at first. I'm never sure what I end up chan

[jQuery] Re: livequery breaking on inserting html in IE

2009-07-13 Thread pedalpete
.text() was appending the name times the number of clicks, so if 'future of the left' was clicked 3 times, the name variable would be 'future of the leftfuture of the leftfuture of the left'. No idea why it wouldn't clear out the previous, but text seems to work. On Jul 13,

[jQuery] livequery breaking on inserting html in IE

2009-07-13 Thread pedalpete
I've been working on this for quite a while trying to figure out why I can only get a click to be recognized by IE once. If a user clicks on another element, and then goes back to the original one, nothing happens. I've gone right down to this jQuery("ul.showList li.show div.showData, ul

[jQuery] Re: trigger click on an anchor

2009-07-13 Thread pedalpete
jQuery doesn't care what you are linking to, as long as that file is there, it will be retrieved (I can't think of any reason why not).' you could use $('#clickme').click(function() that would I believe be more efficient On Jul 13, 8:45 am, sso wrote: > if I have a link on my page like this

[jQuery] return false; on links only working on first click in IE

2009-07-12 Thread pedalpete
I've been trying to make my very ajaxy site more SEO friendly, lots of the returned actions from ajax can be retrieved as a full page, so it's just a matter of exposing the links. Up until now I've had 'span' tags which I have now changed to 'a href' so that the search engines will follow them. I

[jQuery] Re: Cycle Plugin : [cycle] terminating; too few slides: 1

2009-03-24 Thread pedalpete
can help here. On Mar 24, 5:18 pm, Asinox wrote: > Hi, but im doing... i have a foreach  with php for load the images, in > the home pages i got the message, but in the another part to the > website is fine... > > On Mar 24, 7:16 pm, pedalpete wrote: > > > The message me

[jQuery] Re: Cycle Plugin : [cycle] terminating; too few slides: 1

2009-03-24 Thread pedalpete
The message means that there isn't enough data in the cycle for it to cycle through. Likely you are only loading your cycle wrapper once, but you didn't include any code or a url, so it's tough to tell.

[jQuery] Re: chaining events from different sources

2009-03-21 Thread pedalpete
set off a chain > of effects: > > http://plugins.jquery.com/project/EffectChain > > On Mar 20, 4:39 pm,pedalpete wrote: > > > I've been trying to work with animation timing, and haven't been able > > to get this to work properly. > > > What I have is tha

[jQuery] chaining events from different sources

2009-03-20 Thread pedalpete
I've been trying to work with animation timing, and haven't been able to get this to work properly. What I have is that I add a class to an element, and that element is transitioned via a css transition. I then want to hide a child element once the css transition is complete. I've tried to use a

[jQuery] jumpy navigation slides (possibly due to hide, animation order)

2009-03-19 Thread pedalpete
I've spent the last few days creating a mobile/iphone optimized version of my site. I looked at jqTouch & iUI, but I thought it would mean a bunch of configuring of new pages, and I wanted to just be able to use my own API and a bunch of code I had already written in order to accomplish this. It

[jQuery] jquery on iphone - why does this scroll to the top?

2009-03-17 Thread pedalpete
I've been working on an iphone version of my site, and though their are lots of comments re: animation on mobile safari, I actually don't think it's all that bad (maybe it was previous versions, I'm on v.2). I have an iphone like UI working fairly well, where the user can select something and the

[jQuery] make sure animate stays on screen (top of animate anyway).

2009-03-16 Thread pedalpete
I started working on a mobile app for my site, and it's working pretty good so far, but I have a problem with the animations. What i've got (you can see it at http://zifimusic.com/v2/mobile), the page gets a list of concerts which is scrollable. clicking a result will slide the list over and show

[jQuery] nyromodal with javascript in ajax response

2009-03-16 Thread pedalpete
I've got what should be a fairly simple implementation of the nyromodal (like thickbox). I use the modal multiple times on my page, and call it by just using nyromodal as the class on the a-tag that makes the request. The problem I'm having is that on one page I'm trying to put my javascript wid

[jQuery] Re: Loading More Entries According to the Users Screen Size

2009-03-09 Thread pedalpete
I hope I understand you problem correctly, a bit difficult to get the visual. Two things you didn't specify 1) how many results you expect to get per screen size 2) will subsequent requests result number be equal no matter what size? or also depend on the screen size? What i would suggest is to

[jQuery] jquery .data() not sure if I'm using this properly

2009-03-04 Thread pedalpete
I'm trying to figure out how to set and retrieve data without putting it into a class, element, or anything else visible, and in the dom. My site is integrating Facebook connect, and sometimes if a user hasn't logged in, I bring them to the login, but I'm trying to remember what function would ha

[jQuery] Re: html data in IE

2009-03-04 Thread pedalpete
I can't display the 'issue' as i've rewritten the page to get rid of the errors. I'm just not sure if the way I have gone about fixing it is a bad move. On Mar 4, 10:29 am, James wrote: > Can you put up a demo page that displays this issue? > > On Mar 3, 6

[jQuery] Re: placing cycle plugin at root document level to use on content loaded via AJAX

2009-03-03 Thread pedalpete
>From what I can tell by the code you've included, your abilities here are much better than mine, but I do load content via Ajax into my cycle, What I had to do was to stop the cycle, empty, then replace and restart. My code looks like this [code] success: function(response){ jQue

[jQuery] html data in IE

2009-03-03 Thread pedalpete
I've been struggling with IE for a few days now, and looking through the HTML check in debugbar, it shows that IE would throw an error on every .html(''), so I took any place where I had the html defined within the html(). I put the html into a javascript variable, and then it told me that the

[jQuery] Re: Stopping slideUp/slideDown mid animation

2009-02-25 Thread pedalpete
Check out the hoverIntent plugin http://cherne.net/brian/resources/jquery.hoverIntent.html it puts a 'pause' on the hover so for both loading and unloading the hovered section, it attempts to figure out what the user wants to do. On Feb 25, 3:57 am, Jon wrote: > I'm using slideUp and slideDow

[jQuery] Re: failing miserably in IE

2009-02-24 Thread pedalpete
:58 pm, pedalpete wrote: > Thanks MorningZ, > > strange that that is not the error I'm getting at all. > My errors have pointed a break in the jquery.1.3.1.min.js (which > seemed odd). > > I completely removed the references to dynacloud, but still get the > jquery and

[jQuery] Re: failing miserably in IE

2009-02-24 Thread pedalpete
attern > (scroll down to 'Keep private functions private', which makes sure > that the code can use "$" even if "noConflict" is specified) > > fix up that plugin script and you should be all good > > On Feb 24, 4:56 pm, pedalpete wrote: > > > So I

[jQuery] Re: failing miserably in IE

2009-02-24 Thread pedalpete
So I got a version up and running, obviously you'll see by looking this that it isn't a complete work, but if fails completely in IE, but works in FF & Chrome. http://ec2-75-101-196-181.compute-1.amazonaws.com/v2/ I've picked it apart and put it back together, and it seems I just keep ending up

[jQuery] return false not stopping the form submit

2009-02-23 Thread pedalpete
I've got a page where i submit a very similar form for ajax response multiple times. I had this working, and have now split this out so that the variables are retrieved in a function and returned in an object. Unfortunately, now that I've done that, the submit form seems to be ignoring the 'retur

[jQuery] Re: failing miserably in IE

2009-02-23 Thread pedalpete
up, even if you think it should all be working properly > together. Make sure that jQuery library is working correctly and one- > by-one add in the other things. Make sure that all your links to > external Javascript/CSS files are not broken. > > On Feb 23, 9:14 am, pedalpete wrote: &

[jQuery] failing miserably in IE

2009-02-23 Thread pedalpete
I'm not sure where to even start with this. I've got a page with a ton of scripts that I've basically copied from one of my other pages (which works fine in IE). Of course, some of the scripts have changed, but I've got strange things failing everywhere. The common errors I was getting an 'undefi

[jQuery] Re: .click to start dropdown, hover out to clear (mixing the two)

2009-02-17 Thread pedalpete
Ok, actually got this working with the following code [code] $('form#filterList span.holdDate').click(function(){ $('span#datePickers, div.datepicker').slideDown('fast'); $('span#datePickers, div.datepicker').hover( function(

[jQuery] Re: .click to start dropdown, hover out to clear (mixing the two)

2009-02-17 Thread pedalpete
; $(elem).hover( >      function() { >          // do something on mouseover >      }, >      function() { >           // do something on mouseout >      } > ); > > On Feb 17, 1:07 pm, pedalpete wrote: > > > I've got a fairly simple form with a few dropdo

[jQuery] .click to start dropdown, hover out to clear (mixing the two)

2009-02-17 Thread pedalpete
I've got a fairly simple form with a few dropdowns which I currently trigger on hovers. A use requested that instead of a hover, that the dropdowns be triggered by a click event. No problem, except that I need the dropdown to slideUp when the user hovers out. I've taken a look at the .hover docu

[jQuery] Re: click events on links

2009-02-14 Thread pedalpete
i've done this before just leaving out the href in the a tag. if you aren't going to use it, you may as well not put it in. On Feb 14, 5:48 pm, introvert wrote: > Hello. > > I have a simple anchor href link on which I put on click event > handler: > > > $("#pause").click(function () { >     //d

[jQuery] strange loop with livequery click

2009-02-14 Thread pedalpete
I've got a page that I'm loading via ajax, and the first time I load the page, the click function works great. If I make a second ajax request and load new data, the clicks are triggering the function twice. Even though I empty the div before loading the new data, and then call livequery on the cl

[jQuery] Re: simple getting elements from ajax response not working

2009-02-14 Thread pedalpete
Hi Mike, yes, the response is an html with just a bunch of li's with a bunch of other within each li. On Feb 14, 3:40 pm, Mike Alsup wrote: > > The 'html(response) gets filled with ther response, but I can't get > > either html or attribute id from the li. > > The response has 10 li's, so I'm

[jQuery] simple getting elements from ajax response not working

2009-02-14 Thread pedalpete
I've got what should be a very simple script, but I can't seem to get anything but 'null' or 'undefined' when trying to get an elements html or id. The 'html(response) gets filled with ther response, but I can't get either html or attribute id from the li. The response has 10 li's, so I'm trying

[jQuery] Re: How do I update this with ajax??

2009-02-11 Thread pedalpete
I think the problem is that you have "return window.location.href (...)" I believe javascipt/jquery is understanding that as - onclick datepicker, go to href. If you want to get that href via ajax you have to create an ajax function you could do [code] $("#myDatePicker").datepicker({ onSelec

[jQuery] Re: How do I update this with ajax??

2009-02-10 Thread pedalpete
without seeing your jquery, it's tough to say exactly what is going on, but have you got 'return false;' at the end of your select function? That stops the page from submitting (refreshing). On Feb 10, 5:32 pm, AndreMiranda wrote: > Hi!! > > I have a page with DatePicker and a list of events tha

[jQuery] Re: Another Slide Effect?

2009-02-10 Thread pedalpete
two things 1) posts to the forum don't show up immediately (not sure why, but sometimes it takes some time) 2) i think you are looking for the slideDown http://letmegooglethatforyou.com/?q=jquery+slide+down On Feb 10, 1:18 pm, "Clemens K." wrote: > (hope this time the posting works) > > hi. > >

[jQuery] animate the top of a div before the bottom

2009-02-10 Thread pedalpete
I'm trying to get an animation effect similar to opening a application on mac, where the top of the div will animate first, followed by the bottom of the div. Top of the div gets wider, and tapers to the bottom and then the bottom half animates to match. Has anybody seen this before? The div has

[jQuery] Re: Convert from AjaxRequest to jQuery/ajax

2009-02-08 Thread pedalpete
Sorry Tim, I didn't understand it that way. You should still be able to do this fairly simply. You don't have to specify the url, you can pass it as a variable. But you would need to put your $.ajax function into another function, and call it when clicked. You can also build the data variables

[jQuery] Re: Convert from AjaxRequest to jQuery/ajax

2009-02-08 Thread pedalpete
I believe the code you are looking for would be something like this [code] $('form').submit(function(){ var cell1 = $('#cell1').html(); var div1= $('#div1").html(); var span1=$('#span1").html(); $.ajax({ type: "GET", url : 'urlToGet.php', data: 'cell1='+cell1+'&div1='+d

[jQuery] reloading new objects from json

2009-02-08 Thread pedalpete
I've got a ajax request that grabs a json response. In order to be able to sort and get data from the response, I put the response into a few objects using [code] function(jsondata){ var dates={}; var ids={}; $.each(jsondata.entry, function(){ i

[jQuery] Re: traversing ajax response with .find in Safari/Chrome

2009-02-07 Thread pedalpete
Sat, Feb 7, 2009 at 9:02 AM, pedalpete wrote: > > > I'm trying to get a div from an html ajax response. > > my code is pretty simple > > > [code] > >        success: function(response){ > > >                                        var > > newItem=$(respons

[jQuery] Re: jquery, ajax, and search engines

2009-02-07 Thread pedalpete
Search engines don't see dynamic content. You can put some content in a noscript tag, and that will be visible to a search spider, and anybody who doesn't have javascript (enabled). On Feb 7, 7:06 am, jhm wrote: > I've noticed when I fill in dynamic content on a page using jquery > that when you

[jQuery] traversing ajax response with .find in Safari/Chrome

2009-02-06 Thread pedalpete
I'm trying to get a div from an html ajax response. my code is pretty simple [code] success: function(response){ var newItem=$(response).find("div#item").html(); alert(newItem); } [/code] This works fine i

[jQuery] ajax submit val() not submitting updated data

2009-01-05 Thread pedalpete
Hi all, I've been working with this page for a while, and I can't seem to figure out the problem (it's running locally as it is just a tool for me to try to fix up some data). Basically what I have is a page that looks at the user submitted data. The data is in a input box - but for simplicity i

[jQuery] Re: Changing query parameter

2008-11-28 Thread pedalpete
I'm not sure what you bean about changing depending on 'where I'm using the plugin'. you could use an if statement to set the parameter to change. for instance [code] if(q=='foo'){ var term=q; } if(term==null){ term=q; } [/code] something like that I think, but you haven't really spelled out wh

[jQuery] Re: ajax post variable error in safari/chrome

2008-11-27 Thread pedalpete
t; open both, the dynamic and the saved on firefox > check if the headers look the same > > good luck. > > > > pedalpete-2 wrote: > > > I know this is kinda weird, and I can't seem to find where the issue > > is. > > > i've been working on a tag c

[jQuery] Re: animation conflicts - cycle/other in IE

2008-11-17 Thread pedalpete
Thanks Mike (and sorry about getting your name wrong, not sure how i managed that). You are correct of course, I changed the settings to timeout: 1, speed: 2000, and response time is much better in IE. I'll check it on lower powered computers to make sure I am being more responsible with CPU

[jQuery] animation conflicts - cycle/other in IE

2008-11-17 Thread pedalpete
I recently added David Malsup's Cycle plugin to my site, and I love the functionality it provides. However, i noticed that some animations/events where responding REALLY slowly in IE. I started pulling things out of the page to see what was causing the slowdown, and from what I can tell, it's the

[jQuery] Re: jCarousel pagination with numbers?

2008-11-17 Thread pedalpete
I was looking for a similar set-up and went with the Dave Malup's cycle plug-in as it handles the paging. Should be easier to add next/prev arrows to that plugin rather than add paging to a carousel. http://malsup.com/jquery/cycle/ I didn't need back/forward, so I haven't needed to build that in

[jQuery] Re: how to fade in newly dom created content?

2008-11-12 Thread pedalpete
I've been having a similar issue with sliding an element to be visible after adding it to the dom. I think the problem is that your class is visible, and therefore it will just show-up, rather than fade in which you are doing after. Have you tried setting the visibility of messages to hidden, an

[jQuery] Re: Cycle Plug-in works with ajax on first call, not on subsquent calls

2008-11-05 Thread pedalpete
My apologies Mike, I am using firebug with Firefox, and hadn't seen that error in quite a while, I then realized that from my first post on this subject to when you re-requested the url, I had re-introduced the error on the testing site. Now combining the fix with stopping and emptying the cycle

[jQuery] Re: Cycle Plug-in works with ajax on first call, not on subsquent calls

2008-11-04 Thread pedalpete
Thanks Mike, here's the link and a description of how to get it to not work.. http://zifimusic.com/cycle The cycle loads perfectly the first time (you see it load after a few seconds - it will say 'feature artists' , and that will scroll through the cycle). Then, if you filter the list of resul

[jQuery] Re: Cycle Plug-in works with ajax on first call, not on subsquent calls

2008-11-04 Thread pedalpete
Thanks Mike, I had assumed that stopping the 'cycle' would clear it and allow me to reassign it, but apparently that isn't working. I've tried [code] $('div.allPops').cycle('stop'); $('div#popList').empty();

[jQuery] Re: Show/Hide. Could someone, please, help me with this?

2008-11-04 Thread pedalpete
Should be pretty simple Miguel. The first thing I would do is add an ID to each legend and/or image you want to trigger the show so you can tell which one has been clicked and add a common class to all the legends and images. Then put the id as a class of the fieldset you would like to show/ hide

[jQuery] Cycle Plug-in works with ajax on first call, not on subsquent calls

2008-11-04 Thread pedalpete
Hey jqueriers! I've been working on implementing a carousel on my live music site HearWhere so that I can scroll through popular shows. After playing with a few different plug-ins, I settled on the AMAZING cycle plugin by Mike Alsup. I've got the cycle working on my dev site http://zifimusic.com/

[jQuery] Re: Selecting option of select with different ID using same code

2008-10-28 Thread pedalpete
Not sure if I understand, but you can't add an id to the links? is that correct? Any chance you can have your links read "Select option with Blue text" ? That way you could use the .html() selector to get the value of the clicked item and feed that into your "("#productImg" + optionValueText).show

[jQuery] slideDown with append

2008-10-28 Thread pedalpete
I'm sure this one is super simple for a bunch of people, but I'm a bit stuck. I have a list of items (show listings) and when a user clicks on a show, I want a map to slideDown and display a map of the location of the show. If the user clicks on another show, the map that is being shown slides i

[jQuery] Re: thickbox breaking other javacript functions

2008-10-23 Thread pedalpete
Looks like this might not have been a Thickbox issue in the end. The flash which I was loading i think was doing some strange things to javascript. I resolved it by using an iframe with thickbox instead of ajax. On Oct 23, 1:40 pm, pedalpete <[EMAIL PROTECTED]> wrote: > I've b

[jQuery] thickbox breaking other javacript functions

2008-10-23 Thread pedalpete
I've been working on implementing thickbox into my site, and I can launch the thickbox no problem, and the site works (all the javascript functions don't have a problem) before launching thickbox. However, once I launch thickbox, javascript functions that worked previously, no longer work. The li

[jQuery] Re: what is the best way to do this

2008-10-15 Thread pedalpete
I don't think you can 'get' class attributes (though you could try $ ('div').attr('class');). I you can get the ids. I set the id and then use jquery search class so if you had [code] [/code] etc. you could get the divs by using [code] $('div.profile').attr('id'); [/code]

[jQuery] ajax post variable error in safari/chrome

2008-10-03 Thread pedalpete
I know this is kinda weird, and I can't seem to find where the issue is. i've been working on a tag cloud for my site hearwhere.com and everything works from FF/IE, but safari and chrome won't let me pass a multi-word variable into my query. You can test it out at http://zifimusic.com/v3 The si

[jQuery] Re: why is this code inefficient?

2008-09-24 Thread pedalpete
using  $('div.divideDate'). This means that jQuery can > just check "div" elements for the divideDate class rather than every > element on the page. > > Karl Rudd > > On Thu, Sep 25, 2008 at 5:01 AM, pedalpete <[EMAIL PROTECTED]> wrote: > > > I thoug

[jQuery] why is this code inefficient?

2008-09-24 Thread pedalpete
I thought I was getting the hang of jquery and javascript, but then i wrote this small function, and it is really taking a long to run - like 15+ seconds. The purpose of the function is that i have a list of concerts ordered by date. I want to show the date when the date changes, so for all conce

[jQuery] Re: datepicker plugin: question regarding date range

2008-09-24 Thread pedalpete
I've just started using the javascript .addMonth(1) function for adding a month to the selected date. It is working flawlessly so far. I took a look for a subtractDay() function, but haven't found much. Apparently you can use a php type date function in javascript [code] d = new Date(d.getYear(),

[jQuery] Re: dynaCloud - alphabetical sorting and allow & in words?

2008-09-22 Thread pedalpete
On Sep 21, 6:45 pm, pedalpete <[EMAIL PROTECTED]> wrote: > I've been playing with theDynaCloudplugin over the weekend and as > per normal, I don't have a standard implementation. > > I'm using the tag-cloud as a way to define musical genres on my site. > The lis

[jQuery] Re: cool new DatePicker with a familiar name, but how to make multi-month start with current

2008-09-22 Thread pedalpete
ent: '2008-10-01', >       calendars: 3, >       starts: 1 >    }); > > Hope that helps, > -Wayne > > On Sep 22, 2:40 pm, pedalpete <[EMAIL PROTECTED]> wrote: > > > I've been using Kevin Lucks datepicker for the past few months, and I > > w

[jQuery] cool new DatePicker with a familiar name, but how to make multi-month start with current

2008-09-22 Thread pedalpete
I've been using Kevin Lucks datepicker for the past few months, and I was trying to figure out how to make it a 'range' datepicker when I came across http://www.eyecon.ro/datepicker/ The naming will probably get confusing, but this is a really nice range picker. I am having one problem with it th

[jQuery] Re: star ratings pllugin

2008-09-21 Thread pedalpete
my quick guess would be that you need a comma. [code] class="star {split:4, required:true}" [/code] but that is just a quick guess based on what i've seen in Jquery before. On Sep 21, 4:54 pm, chadmichael <[EMAIL PROTECTED]> wrote: > I would like to be able to feed two options into the class nam

[jQuery] dynaCloud - alphabetical sorting and allow & in words?

2008-09-21 Thread pedalpete
I've been playing with the DynaCloud plugin over the weekend and as per normal, I don't have a standard implementation. I'm using the tag-cloud as a way to define musical genres on my site. The list is created dynamically, which is why dynacloud is an awesome implementation. But I'm having a few

[jQuery] Re: scrollTo anchor or class in div

2008-09-11 Thread pedalpete
t to be pretty simple. > > You put >   $('#showsList') > And >   > > They obviously don't match :) > > -- > Ariel Fleslerhttp://flesler.blogspot.com/ > > On Sep 10, 8:51 pm, pedalpete <[EMAIL PROTECTED]> wrote: > > > I've up

[jQuery] Re: scrollTo anchor or class in div

2008-09-10 Thread pedalpete
tion.toString(). > > Also, note that you're using jQuery 1.2.4 which was a bad version, try > upgrading to 1.2.6. > > Cheers > > -- > Ariel Fleslerhttp://flesler.blogspot.com/ > > On Sep 9, 8:42 pm, pedalpete <[EMAIL PROTECTED]> wrote: > > > Sorry A

[jQuery] Re: scrollTo anchor or class in div

2008-09-09 Thread pedalpete
can't figure out what kind of scrolling you need. > > If you can reduce the situation/problem to something small and > minimalistic, I'll check it out asap. > > Cheers > > -- > Ariel Fleslerhttp://flesler.blogspot.com/ > > On Sep 9, 4:03 pm,pedalpete<[EMAIL PROTEC

[jQuery] Re: How to select all input elements but the button one?

2008-09-09 Thread pedalpete
Are you trying to put them all into an object? or a variable? I would normally say use something like [code] $('input').each(function(){ On Sep 9, 12:00 pm, aldomatic <[EMAIL PROTECTED]> wrote: > I'm trying to select all input elements but the submit or button. > > I appreciate the help. > > Ald

[jQuery] Re: scrollTo anchor or class in div

2008-09-09 Thread pedalpete
t; Example: > > function scrollToID( id ) { >   $('#hold').scrollTo( '#'+id, 1000 ); > > } > > $('#hold').load('someData.php', function(){ >     scrollToID( 'foo' ); > > }); > > -- > Ariel Fleslerhttp://flesler.blogspot.c

[jQuery] Re: scrollTo anchor or class in div

2008-09-06 Thread pedalpete
To is the one to call for an instant scroll. > > You either call LocalScroll at start, or ScrollTo manually if you want > to do all that yourself. > > Note that the 'target' property needs to be the scrollable element. > If you have a demo online, it'll be easier to pull

[jQuery] Re: scrollTo anchor or class in div

2008-09-06 Thread pedalpete
I've also tried using a class instead of id, but no joy :( On Sep 6, 3:59 pm, pedalpete <[EMAIL PROTECTED]> wrote: > Thanks Karl, I didn't realize I shouldn't start an id with numeric > characters, I've been doing it for a long time without issue. > > I

[jQuery] Re: scrollTo anchor or class in div

2008-09-06 Thread pedalpete
an id needs to start with a none numeric character). > Then use target: '#'number' + trackid > > The name attribute is really only for form input elements. > > Karl Rudd > > On Sat, Sep 6, 2008 at 12:17 PM, pedalpete <[EMAIL PROTECTED]> wrote: > > >

[jQuery] scrollTo anchor or class in div

2008-09-05 Thread pedalpete
I've got a div on my page with a scrollable list in it. When I load the page, I want the list to scroll to a specific item. Each item has a class and name, so I'm trying to address them with that. I've been toying with the flesler scroll plugins, but am not sure if they are what i should be using

[jQuery] Re: Alternate colors of a list ( )

2008-09-05 Thread pedalpete
It should be the same. [code] $('li:even').addClass('even'); [/code] I'm using it on divs, so it should work on li's as well. On Sep 5, 1:02 pm, "Gewton Jhames" <[EMAIL PROTECTED]> wrote: > Alternate background-color of trs of a table is very easy with jquery, but, > anyone knows how to alternat

[jQuery] return on error - how to handle an error when an address is not returned in jmaps

2008-09-05 Thread pedalpete
I've been using the jmaps plugin for a bit, and I added a bit of code to it so that when an address is not found, it writes a message to the user. I now have a situation where there are two different locations on the page where the message might be written to, depending on what the user has done

[jQuery] Re: ajax IE error - only loads parts of the response

2008-08-27 Thread pedalpete
HOLY FRUSTRATING!!! Turns out this was an error being that i had an extra div in the output! rrrggghh.. well, that was the first problem anyway, i suspect the second problem is similar. Thanks for the help, Pete On Aug 26, 8:31 pm, pedalpete <[EMAIL PROTECTED]> wrote: > Hey Gang,

[jQuery] Re: ajax IE error - only loads parts of the response

2008-08-27 Thread pedalpete
ld convert the response into a string anyway. Is that not correct? On Aug 27, 10:29 am, pedalpete <[EMAIL PROTECTED]> wrote: > I haven't tried using JSON, but I did try manipulating the response > directly using jquery with > [code] >  success: function(response){ >    

[jQuery] Re: ajax IE error - only loads parts of the response

2008-08-27 Thread pedalpete
I haven't tried using JSON, but I did try manipulating the response directly using jquery with [code] success: function(response){ var popList = $(response +' .thisPopList').html(); var showsList = $(response+' .thisShowList').

[jQuery] ajax IE error - only loads parts of the response

2008-08-26 Thread pedalpete
Hey Gang, I've got two problems with IE (6&7) on a page that works perfectly in Safari. The problem seems to be that when retrieving an ajax response, only parts of the response are properly loaded into the page. if you want to take a look, I've set up a test environment at http://zifimusic.com

[jQuery] Re: jquery is not defined (newbie)

2008-08-24 Thread pedalpete
Looks like you are not properly refrencing the jquery script. You should have an entry in your header that looks like [code] [/code] except the src should point to YOUR jquery file. On Aug 24, 10:12 am, Scott Phillips <[EMAIL PROTECTED]> wrote: > I am trying to get datepicker plugin (http:/

[jQuery] Re: How dynamically create iframe and add/remove data from it

2008-08-24 Thread pedalpete
Personally, I try not mixing jquery components with standard javascript (like your document.createElement), with the exception of within functions. Somebody else can probably comment on what is appropriate. I'd write this something like [code] $('#container').append(''); $('#commentiframe').attr(

[jQuery] Re: My site asks for a pswd if JQuery is activated

2008-08-23 Thread pedalpete
if there is no function within your [code] $(document).ready(function(){ }); [/code] Then this shouldn't be. Did you download directly via the jQuery site? jQuery should sit quietly until you call a function, so somewhere the password function is being called. On Aug 23, 11:37 am, MBaas

[jQuery] Re: IE - 'object does not support this property or method'

2008-08-22 Thread pedalpete
Thanks Mike, I can't believe I missed that one. Using .join() to create the var works nicely too, and I assume the .length is quicker than an if statement? Looks simpler anyway. Thanks Pete On Aug 21, 1:26 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote: > You have a typo on line 68 of selectDate

[jQuery] IE - 'object does not support this property or method'

2008-08-21 Thread pedalpete
Hey gang, I've written a bit of jquery code which I am absolutely amazed works on both Safari and FF, but IE is giving me errors. I've put the code on an external server so you can see what it is. http://zifimusic.com/mapickl/selectDate.html Basically what I have is a select list which when hov

[jQuery] LightBox (or Modal) with ajax response from a POST type

2008-07-19 Thread pedalpete
I've been trying this a while using multiple types of lightboxes, as well as jqm - modal (and another modal but I can't remember what it was called). I have an ajax page that I retrieve with [code] $.ajax({ type: "POST", url: "add.php", data

[jQuery] Re: datepicker select to update a div, and strange datepicker css issue

2008-05-28 Thread pedalpete
that's great kevin, Thank you. i didn't realize the selectedDate wasn't a string, i thought if i put var x=xyz, that makes it a string. I'm still fairly new to programming and learning lots. Thanks for your help, I hope I understood that correctly. Pete

  1   2   >