[jQuery] jCarousel - next still enabled on last item

2009-08-19 Thread iceangel89
i am using http://sorgalla.com/jcarousel/ when i have reached the last item, where the next button shld have been disabled, its still enabled leading to an extra space when next is clicked. http://iceangel89.110mb.com/templates/folio3/

[jQuery] Re: jCarousel - next still enabled on last item

2009-08-19 Thread iceangel89
best bet is to use the non packed version and step through the code till you find the issue. Actually, before that, create a much simpler page and see if the problem still exists. It might well be something else in the page that is causing the issue. Adrian On Aug 19, 9:15 am, iceangel89

[jQuery] jQuery slides causing CSS/Display issues in IE7 8

2009-07-29 Thread iceangel89
in the menu here - http://iceangel89.110mb.com/templates/em/1_index.html, the slides cause problems in IE7 8

[jQuery] Re: jQuery slides causing CSS/Display issues in IE7 8

2009-07-29 Thread iceangel89
... how do i post images here? i cant even put a link to image shack? i keep getting We were unable to post your message i guess u need to see my post @ stack overflow http://stackoverflow.com/questions/1194812/css-ie7-8-issues/1195960#1195960 for the images. or test in IE urself... sry

[jQuery] Re: jQuery slides causing CSS/Display issues in IE7 8

2009-07-29 Thread iceangel89
in IE7, the sliding menu seems to not show, until i move the mouse abit.

[jQuery] Re: jQuery slides causing CSS/Display issues in IE7 8

2009-07-29 Thread iceangel89
in IE8, after a menu slides up, the margin seems to be removed i cant even edit a post?

[jQuery] mouseleave triggering prematurely?

2009-07-26 Thread iceangel89
i am trying to develop my own accordion/sliding menu. (as a side qn, any good ones that can be easily customized/skinned?) i found that seem to trigger when i am sliding down an inner menu. since its inner, my mouse definately has not left #mainnav my test page

[jQuery] why is mouseleave triggering when i enter a child, when i have slidedown

2009-07-26 Thread iceangel89
i am trying to develop my own accordion/sliding menu. i found that seem to trigger when i am sliding down an inner menu. since its inner, my mouse definately has not left #mainnav my test page http://iceangel89.5gigs.net/test.html without that annoying test alert

[jQuery] Re: mouseleave triggering prematurely?

2009-07-26 Thread iceangel89
sorry abt the dbl post, i see my profile and the post wasnt there so i thought maybe i didnt post it. or something. anyway. the reason why i nest the hover() - which i changed to mouseover already - is because i want to attach the event to inner li a's after the slidedown. so i dont get the

[jQuery] jQuery Selectors

2009-07-25 Thread iceangel89
i am actually doing a accordion/sliding menu. here, i want to slide up sibling li ul that has been open (or displayed). can i simplify this further? $(this).parent(li).siblings(li:has(ul)).children(ul).slideUp (fast); i also noticed that i cannot skip the children() part and do something

[jQuery] Selector help needed

2009-07-24 Thread iceangel89
with the markup like: prelt;ulgt; lt;ligt;lt;a href=quot;#quot;gt;Link 1lt;/agt;lt;/ligt; lt;ligt; lt;a href=quot;#quot;gt;Link 2lt;/agt; lt;ulgt; lt;ligt;lt;a href=quot;#quot; class=quot;activequot;gt;Link 2.1lt;/agt;lt;/ligt; lt;ligt;lt;a

[jQuery] Re: Selector help needed

2009-07-24 Thread iceangel89
sorry the code is ul lia href=#Link 1/a/li li a href=#Link 2/a ul lia href=# class=activeLink 2.1/a/li lia href=#Link 2.2/a/li /ul /li /ul On Jul 24, 9:20 pm, iceangel89 iceange...@gmail.com wrote: with the markup like: prelt;ulgt

[jQuery] how to get the element that triggered the event

2009-05-21 Thread iceangel89
i have a link that onclick calls function printSection a class='print' href='javascript:printSection();'Print/a i want to find out which link isit so i can get the parent, and do whatever i need to

[jQuery] Re: Dialog (jQuery UI Dialog) closes when i cancel a form submission

2009-04-23 Thread iceangel89
anyone On Apr 22, 3:38 pm, iceangel89 iceange...@gmail.com wrote: i have a form inside dialogs. i use ajaxForm plugin for my forms. i validate using beforeSubmit ... like in the example below. the strange thing is the dialog closes in the Add/Edit Type forms but not in the Add/Edit Category

[jQuery] Dialog (jQuery UI Dialog) closes when i cancel a form submission

2009-04-22 Thread iceangel89
i have a form inside dialogs. i use ajaxForm plugin for my forms. i validate using beforeSubmit ... like in the example below. the strange thing is the dialog closes in the Add/Edit Type forms but not in the Add/Edit Category. the form did not submit which means the return false works but the

[jQuery] Re: Something is not working in IE7

2009-04-22 Thread iceangel89
anyone? On Apr 9, 11:15 pm, iceangel89 iceange...@gmail.com wrote: i seem to have some funny behavior in IE7 ... basically i have can add a option to a select elem with a ajaxForm -http://malsup.com/jquery/form/. then once added, i will repopulate the select from db. in Firefox all works

[jQuery] ajaxForm not submitting in IE

2009-04-22 Thread iceangel89
i am using the ajaxForm plugin. in Firefox it works. in IE it does not. i used IE8... for its debugger and found out that its stuck at this line of code. .. i think in unlimited loop return typeof o!==undefined!o.event.triggered?o.event.handle.apply (arguments.callee.elem,arguments):g some

[jQuery] Re: how to detect if i have past an element

2009-04-20 Thread iceangel89
anyone ... ? On Apr 20, 9:08 am, iceangel89 iceange...@gmail.com wrote: hmm, how can i detect whatever is currently front center? On Apr 19, 10:17 pm, brian bally.z...@gmail.com wrote: Make each section a div with an id. Rather than testing to see what element has been passed (named

[jQuery] how to detect if i have past an element

2009-04-19 Thread iceangel89
i am thinking of doing something like a long vertical scrolling portfolio. i have a few categories that i want to use as the navigation items. eg. web design, digital art etc. so i need a way of detecting if i have past, say web design and into digital art. but not yet into the next category say

[jQuery] Re: how to detect if i have past an element

2009-04-19 Thread iceangel89
is currently front center. On Sun, Apr 19, 2009 at 9:25 AM, iceangel89 iceange...@gmail.com wrote: i am thinking of doing something like a long vertical scrolling portfolio. i have a few categories that i want to use as the navigation items. eg. web design, digital art etc. so i need a way

[jQuery] Slide to part of a Page

2009-04-18 Thread iceangel89
how can i slide down to part of a page (say an a or div#with-id tag)? u know those horizontal or vertical sites?

[jQuery] Re: Slide to part of a Page

2009-04-18 Thread iceangel89
Yes thanks! On Apr 19, 11:10 am, Rick Faircloth r...@whitestonemedia.com wrote: Check this out, iceangel... http://flesler.blogspot.com/2007/10/jqueryscrollto.html May be just what you need. hth, Rick On Sat, Apr 18, 2009 at 11:05 PM, iceangel89 iceange...@gmail.com wrote: how can

[jQuery] recommendation for lightbox

2009-04-16 Thread iceangel89
what do u recommend for a lightbox plugin? there are alot out there

[jQuery] Slider for Gallery

2009-04-13 Thread iceangel89
i am intending to do a slider for my gallery. something like i show just 3 images 1st then have a prev next button to slide the gallery left or right to the next 3 (or 1) items. i hope u can visualize this, i think a common effect. then for a nicer effect. say i allow user to skip to a image.

[jQuery] Something is not working in IE7

2009-04-09 Thread iceangel89
i seem to have some funny behavior in IE7 ... basically i have can add a option to a select elem with a ajaxForm - http://malsup.com/jquery/form/. then once added, i will repopulate the select from db. in Firefox all works fine... in IE7 it seem to work... added and repopulated dropdown ok. but

[jQuery] Re: How to wait for getJSON to complete before continue?

2009-04-03 Thread iceangel89
i still will not be able to return false to cancel form submission if the entry does not validates right? On Mar 30, 9:50 pm, Joseph Le Brech jlebr...@hotmail.com wrote: .getJSON(url, function_name(json) {}); /* elsewhere */ function function_name(json){ }

[jQuery] Re: How to wait for getJSON to complete before continue?

2009-04-03 Thread iceangel89
i still will not be able to return false to cancel form submission if the entry does not validates right? On Mar 30, 9:50 pm, Joseph Le Brech jlebr...@hotmail.com wrote: .getJSON(url, function_name(json) {}); /* elsewhere */ function function_name(json){ }

[jQuery] How to cancel events

2009-04-02 Thread iceangel89
How can i cancel a change event? i have validated text boxes on change. so if its not validated i want to cancel the change. how can i do that?

[jQuery] .each()

2009-04-01 Thread iceangel89
i used .each to select all elements with id that starts with laLab $(*[id^=laLab]).each(function (i, obj) { alert(obj.attr(value)); }); but i cant do obj.attr(value) nor obj.val(). why is this so? when i alert(obj) its said i got HTML Input Element which is right

[jQuery] Re: .each()

2009-04-01 Thread iceangel89
oh i fixed it. its because i called that after getJSON and getJSON has not set the values yet. :) On Apr 1, 2:46 pm, iceangel89 iceange...@gmail.com wrote: i used .each to select all elements with id that starts with laLab $(*[id^=laLab]).each(function (i, obj) {    alert(obj.attr(value

[jQuery] Re: .each()

2009-04-01 Thread iceangel89
thanks On Apr 1, 6:00 pm, lukejackson lukejacks...@gmail.com wrote: .attr() and .val() are defined on the jQuery class, not the DOM element. Try $(obj).attr(value) or obj.value instead On Apr 1, 2:46 pm, iceangel89 iceange...@gmail.com wrote: i used .each to select all elements with id

[jQuery] Select elements with a prefix for id

2009-03-31 Thread iceangel89
how can i select all elements with a prefix of Lab i have textboxes with ids like Lab1, Lab2, Lab3 ...

[jQuery] How to wait for getJSON to complete before continue?

2009-03-30 Thread iceangel89
can i want for getJSON to complete before excecuting code? cos i am validating my input. and i need some values from server 1st. so apart from putting all code that is to be executed after getJSON() inside .getJSON(url, function(json) { // *** here *** }); can i have it outside? and how can

[jQuery] How to access variable outside function

2009-03-30 Thread iceangel89
i sometimes do something like var i; $.getJSON(url, function (json) { // update i i = json.var; }); how can i access the updated i outside the function(json)...?

[jQuery] Re: How to wait for getJSON to complete before continue?

2009-03-30 Thread iceangel89
hmm... is there a diff bet .getJSON(url, function_name); function function_name(json) { } and getJSON(url, function(json){ ... }); On Mar 30, 10:05 pm, Joseph Le Brech jlebr...@hotmail.com wrote: get rid of the curly braces at the end of the delegate call also :) i accidentally left them

[jQuery] Re: How to access variable outside function

2009-03-30 Thread iceangel89
... // get value from server $.getJSON(url, function(json) { if (...) { validated = false; } }); } On Mar 30, 10:09 pm, iceangel89 iceange...@gmail.com wrote: i sometimes do something like var i; $.getJSON(url, function (json) {    // update i    i = json.var; }); how

[jQuery] Re: How to access variable outside function

2009-03-30 Thread iceangel89
; } }); } On Mar 30, 10:09 pm, iceangel89 iceange...@gmail.com wrote: i sometimes do something like var i; $.getJSON(url, function (json) {    // update i    i = json.var; }); how can i access the updated i outside the function(json

[jQuery] Hide all elements after an element

2009-03-29 Thread iceangel89
I am a something like cascading drop down, except i am dealing with not only drop downs. - user must select 1st drop down, then 2nd drop down displays - when user selects 2nd drop down, 3rd drop down displays ... but when user changes the selection of 1st drop down, it will update the 2nd drop

[jQuery] post form using jquery ajax

2009-03-29 Thread iceangel89
how can i post a form to server using jquery? $.post requires me to post data in key value pairs. if the form is big then that's a bit tedious. any better way?

[jQuery] Validation

2009-03-29 Thread iceangel89
whats the best way/plugin for validation in jquery? just wondering whats the best practice for validation if user disables js?

[jQuery] Grid/Paging

2009-03-29 Thread iceangel89
whats the best way for a grid/table with paging in jquery? will it be better to do it in server side?

[jQuery] Accordian

2009-03-28 Thread iceangel89
what can i do to allow users to click on the accordion header to navigate to a page? the reason is, i am using accordions for my navigation. for some of the pages, there are subpages so an accordian is used. but for others, there are no subpages and i want users to be able to click the header of

[jQuery] [JQuery UI] Styles

2009-03-28 Thread iceangel89
i am wondering how can i create a button like the open dialog button in http://jqueryui.com/themeroller/ when i copy and paste the source for the button from the jqueryui site, i dun get the right positioning without editting the css. am i missing something? pa href=# style=display: block;

[jQuery] Re: Removing Single Option from Select

2009-03-28 Thread iceangel89
]').remove(); Pierre 2009/3/27 iceangel89 iceange...@gmail.com How can i remove a single option (with value -1, if possible) from a select?

[jQuery] Re: looping through json

2009-03-27 Thread iceangel89
this: [  department: {ID: 1, Name: Physics} ] unless you wrap it in {}: [ { department: {ID: 1, Name: Physics}} ] at which point the 'department' key name is not much use. @iceangel89, did you check out my example? On Mar 26, 8:47 pm, iceangel89 iceange...@gmail.com wrote: i am using PHP

[jQuery] IDE for JQuery?

2009-03-27 Thread iceangel89
which IDE is best for JQuery? i mean like has code completion for JQuery, at least HTML, CSS, JavaScript. best if it can also code complete PHP/Zend Framework. or your custom classes. Aptana can code complete for all except Zend Framework isit? but i saw a video i can add zend framework as a

[jQuery] getJSON

2009-03-26 Thread iceangel89
i am trying to load json. but it seems like its not working. nothing is alerted. supposed to be the case? script type=text/javascript $(function() { $.getJSON(data.js, function (json) { alert(json); }); }); /script data.js [ {Value: 1, Item: Physics}, {Value: 2,

[jQuery] Re: getJSON

2009-03-26 Thread iceangel89
be double quoted? [ {Value: 1, Item: Physics}, {Value: 2, Item: Chemistry}, {Value: 3, Item: Biology} ]; On Mar 26, 9:16 am, iceangel89 iceange...@gmail.com wrote: i am trying to load json. but it seems like its not working. nothing is alerted. supposed to be the case? script type=text

[jQuery] Re: getJSON

2009-03-26 Thread iceangel89
? {} and departments and department naming for the objects? On Mar 26, 9:59 pm, iceangel89 iceange...@gmail.com wrote: i still cant out put anything even with a simple alert(json); in firebug i see that ... below ... is returned [ {Value: 1, Item: Physics}, {Value: 2, Item: Chemistry}, {Value: 3, Item

[jQuery] looping through json

2009-03-26 Thread iceangel89
how can i loop through json like: { departments: { department: {ID: 1, Name: Physics}, department: {ID: 2, Name: Chemistry}, department: {ID: 3, Name: Biology} }} i tried $.each(json.departments.department, function(i, n) { alert(i + + n); }); and got ID: 3 Name: Biology

[jQuery] Re: looping through json

2009-03-26 Thread iceangel89
ok so it works. so for my understanding, the parameters department refers to the index (0, 1, 2) and dictionary refers to the json object that i can use something like dictionary.ID on On Mar 27, 10:04 am, MorningZ morni...@gmail.com wrote: Actually.. looking @ that JSON again after Steven's

[jQuery] Removing Single Option from Select

2009-03-26 Thread iceangel89
How can i remove a single option (with value -1, if possible) from a select?

[jQuery] Re: looping through json

2009-03-26 Thread iceangel89
a JSON converting tool for all the common languages... it takes ALL the guesswork out of this stuff On Mar 26, 10:41 pm, iceangel89 iceange...@gmail.com wrote: ok so it works. so for my understanding, the parameters department refers to the index (0, 1, 2) and dictionary refers

[jQuery] looping through json and adding dom elements (options)

2009-03-25 Thread iceangel89
i am new to jquery and what i intend to do now is to load json from server and then based on the json, remove all options from a drop down and populate it with new items from the json. something like a cascading drop down. i dunno if the json outputted is correct? do i need something like

[jQuery] Re: looping through json and adding dom elements (options)

2009-03-25 Thread iceangel89
thanks all. but what about the default Please select a value option? how can i have it such that the user either - cannot select that option - shown only on 1st run - can select the option but will cause the 2nd dropdown to empty - dunno if this is good idea or any other suggestions ? btw, as