[jQuery] Calculate time since post
I am wondering if jQuery has any solutions to calculate the time since a post was made. Say it was created on June 2, at 11:30pm, I would like to have the display continue to change as the days go on. So, tomorrow, it would read, posted 1 day 20 hours ago, or something like that. Has anyone had experience with this?
[jQuery] Re: How to make webpage to adjust to user display settings.
On Jun 2, 9:18 am, Aaron <[EMAIL PROTECTED]> wrote: > ok I am currently working on a website and I need to have my website > to adjust to the clients display settings so like for an example > that if the user has a higher display settings my webpage through > javascript would resize all the elements on my webpage to keep the > orignial look. Javascript is not the answer - use HTML and CSS. > so I am gussing somthing along the lines of first grabbing the > clients display settings and then use that to then scale every element > on the html page with the power of 2 or somthing. Don't do that. Consider someone with a desktop across 2 x 61cm displays set to 1920 x 1200px, do you think they'll be happy if you spread your web page over their entire display? -- Rob
[jQuery] Re: Selecting elements with multiple classes
> 1) > . > $('.child') works fine and selects all elements with class "child" > > 2) > $('.child)' does not work and selects nothing Say what? You'll have to post a demo for me to believe this. You do have a typo there though, where you have $('.child)' I assume you meant $('.child'). This type of CSS query is the very bedrock on which jQuery is built.
[jQuery] Re: Select option value
> This seems to be a better one: > > function specify(current) > { > alert( $j(current).children("[EMAIL PROTECTED]").val() + " " + > $j(current).children("[EMAIL PROTECTED]").text() );} Better in what way?
[jQuery] Re: Clicking on the whole div area.. not just the small icon image.
Try giving the div a background color. On Jun 2, 4:17 pm, Danjojo <[EMAIL PROTECTED]> wrote: > I am trying to get a click event on the whole div area around the > image that toggles a menu. > In FireFox I can click on the whole div and my functionality works. > > In IE7 I have to click only on the tiny arrow icon. > > How do I allow the whole div to control the event? > > $(document).ready(function() { > $('ul.linkContainer:not(:first)').hide(); > > $('div.arrowToggle').click(function() { > var $nextUL = $(this).next(); > var $visibleSiblings = $nextUL.siblings('ul:visible'); > > if ($visibleSiblings.length ) { > $visibleSiblings.slideUp('fast', function() { > $nextUL.slideToggle('fast'); > }); > } else { > $nextUL.slideToggle('fast'); > } > }); > > }); > > > src="/images/arrow_right.png"/> >
[jQuery] Selecting elements with multiple classes
Hi All, A simple example: 1) . $('.child') works fine and selects all elements with class "child" 2) $('.child)' does not work and selects nothing How can I fix this and select the elements in case of multiple classes? Is there something as a wild card to select any elements containing "child" as one of the classes? Thanks A -- View this message in context: http://www.nabble.com/Selecting-elements-with-multiple-classes-tp17611909s27240p17611909.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Re: Newb – unordered list - get list item visibility
G, I tried a quick demo of what you were trying to accomplish and I think I have something that might work. I'm still pretty new around here, but I hope this helps. $(document).ready(function(){ var cnt = $('#errList li:visible').size(); alert(cnt); }); If someone knows a better way, I'd love to learn. -Adam On Mon, Jun 2, 2008 at 2:50 PM, GiJeet <[EMAIL PROTECTED]> wrote: > > Hello, I just starting out with JQuery and I'm struggling with a > problem. I have an unordered list, id = "errList" with several list > items. Each list item has it's own id, e.g. id="one", id="two", etc. > I'm using a CSS and in the CSS I use the id of each to initially > set the visibility of each to hidden (eg: visibility: hidden;). Upon > validating certain fields of the form, if validation fails I switch > the visibility of a specific li to visibility: visible. All works ok, > except I have a header message such as "Please fix the following > errors" and I only want to display this message if any of the list > items have their visibility style attribute set to visible. So I want > to get the count of list items where their visibility style attribute > is set to visible but can't seem to extract that set. > > Some failed tries: > var cnt = $('ul#errList > li.style[visibility]').not('[visibility==hidden]'); > var cnt = $("#errList li").css("visibility" == "visible" ).size(); > > any help would be appreciated. > > G >
[jQuery] Re: Select option value
This seems to be a better one: function specify(current) { alert( $j(current).children("[EMAIL PROTECTED]").val() + " " + $j(current).children("[EMAIL PROTECTED]").text() ); } -- View this message in context: http://www.nabble.com/Select-option-value-tp17592925s27240p17611145.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Re: jQuery.SerialScroll
The scrollable pane (#slideshow) doesn't haev overflow on IE, so it can't scroll. You need to fix the styling. Cheers -- Ariel Flesler http://flesler.blogspot.com On 2 jun, 08:18, Ronnie28 <[EMAIL PROTECTED]> wrote: > Hi guys. > I've made this page with the serial scroll plugin. > The page code is right here:http://pastebin.com/m347ffc6 > But it doesn't work with Internet Explorer, > Can somebody help me? > Thanks.
[jQuery] Sortable Checkbox
Are there any plugins like on Apple's Pro site, with the sortable checkbox? http://www.apple.com/pro/profiles/ Thanks
[jQuery] Re: thoughts ? Announcing AJAX Libraries API: Speed up your Ajax apps with Google’s infrastructure
Scottus Nifty idea. Suggestion - Look to implement plugin options as well. Keeping track of versions is a benefit and the speed improvement is nice to a degree, but the biggest struggle is I hate having to have 5 or 6
[jQuery] Re: jcarousel - circular problem going backwards on initial load
still looking for a solution here if anyone has any ideas. On May 27, 5:23 pm, ericHurst <[EMAIL PROTECTED]> wrote: > For some reason, when my page first loads the carousel, the prev arrow > is unusable until the user has clicked on the next arrow. After > clicking the next arrow, they user is able to click the prev arrow to > their hearts content. I noticed on the 'circular' example on sorgalla > that this is not an issue with the example. My .js is exactly the > same, I think. Also, I have tested without the other javascript on the > page. Any thoughts? > > example atwww.mycomicspage.com. > > Thanks - Eric
[jQuery] Re: superfish: javascript issue
I don't see any errors on the demos. What is the url you are getting errors one? Do you have the bgiframe plugin installed too? GET /css/bgIframe.js these errors look like they are from an incorrect call of the js doc from your html... ET /css/css/css/css/ do you have something like this? if you're site is has multiple levels of pages, you need it to be something like this:
[jQuery] Newb – unordered list - get list item vi sibility
Hello, I just starting out with JQuery and I’m struggling with a problem. I have an unordered list, id = “errList” with several list items. Each list item has it’s own id, e.g. id=”one”, id=”two”, etc. I’m using a CSS and in the CSS I use the id of each to initially set the visibility of each to hidden (eg: visibility: hidden;). Upon validating certain fields of the form, if validation fails I switch the visibility of a specific li to visibility: visible. All works ok, except I have a header message such as “Please fix the following errors” and I only want to display this message if any of the list items have their visibility style attribute set to visible. So I want to get the count of list items where their visibility style attribute is set to visible but can't seem to extract that set. Some failed tries: var cnt = $('ul#errList li.style[visibility]').not('[visibility==hidden]'); var cnt = $("#errList li").css("visibility" == "visible" ).size(); any help would be appreciated. G
[jQuery] Re: JqModal
highjo wrote: i'm new to this an quite new to programming.I can fel this is great.I'm from the jqModal tutorial page and i just want to try it and add it to my project. > i'm confused wich one should i use ? or should i use all of them.code snipet javascript + jqModal.js + jquery.js+ code snipet css+ jqModal.css and html or no need for jquery since jqModal is there. I've put up a simple demo using a standalone version of the first demo from the plugin page: http://scott.sauyet.com/Javascript/Demo/2008-06-02a/ It's all zipped up at http://scott.sauyet.com/Javascript/Demo/2008-06-02a/demo.zip If you're new to creating web pages, though, this is not really the place to start. jqModal is built upon jQuery, which is built upon Javascript. Well-built web pages are built in HTML for content, with CSS layered on top for styling, and Javascript on top of that for more dynamic behavior. To use jqModal you really need to know some of the basics of HTML and CSS, you need to know how to include Javascript in your page, and you need to know how to tell jQuery what to do with the HTML it finds. This forum is really only appropriate for that last bit. Good luck, -- Scott
[jQuery] [ANNOUNCE] jQuery UI 1.5 release candidate, we’re getting excited
The jQuery UI team has released the final release candidate for jQuery UI v1.5 with a final release expected on June 8th, 2008. You can read more about this RC here: http://jquery.com/blog/2008/06/02/jquery-ui-15-release-candidate-were-getting-excited/ We would love the community to help out in this last stage of testing to ensure a solid final release so please download the RC and put it through its paces. IMPORTANT! PLEASE READ! Please post any feedback on jQuery UI to the UI mailing list found here: http://groups.google.com/group/jquery-ui?hl=en The jQuery UI is *THE* list that will provided support and feedback for jQuery UI topics. Rey...
[jQuery] Re: Queue regular function with hide and show
I wonder if it would help to wrap the table in a div and then do the slideUp/Down on the div instead of the table? That's probably the first thing I would try. If you can post a link to a test page, that would make it easier to take a look at the problem. -Mike > I really thought that would solve it, looked so promising. > > I used the slideUp and slideDown effects instead since they > looked a lot better, though it does now wait for the first > effect to complete. > If anything it starts the slideDown earlier when I use the > method you wrote, and after it's done it does slideUp and > slideDown again for the table. > I think that it might be the structure that I'm using or something. > > > > FIRST TABLE! > > > > > SECOND TABLE! > > > > The tbl class has display: none; as style so nothing shows > from the start. > In $(document).ready I show('slow') the index and that works great. > Then when I press a button to call the toggleShow('next') it > does some strange slideUp effect of the next table over the > index and then hides the next to just show it again, very > strange behavior... > > Is there any place I can see an example of this being used > and not making strange effects on every toggle. > > I know that my post really doesn't make much sense since I > can't explain the very strange effect that occurs on the: > function toggleShow(id) { > $('.tbl').slideUp( 'slow', function() { > $('#' + id).slideDown('slow'); > }); > } >
[jQuery] Re: click(fn) question
Michael Geary wrote: It's funny, my guess is the opposite of Scott's. I'm also not familiar with the flot code, but it sounds like something that may run *synchronously* and therefore locks up the browser until it is completed. Any changes you make to the DOM will not show up on the display until this finishes. That's much more likely. Since there are no real threads in JS, writing good async code is somewhat tricky. Luckily it should be easy for the OP to check if you're right. It is generally quite easy to see if the entire browser is locked up. And, as you said, there is a simple fix in that case. If it is async code and flot does not offer callback functions, there is little help to offer. -- Scott
[jQuery] Re: JqModal
Keep in mind that posts from new members are moderated to fight the terrible spam problem in Google Groups. So highjo may have posted the original message much longer ago than that. Patience is still a good thing, of course. :-) -Mike > If the datestamps on your posts are right, then you are > complaining of no response in under two hours? Is that > correct? You just need to practice a bit more patience. > Personally, I browse new posts to the group somewhere between > zero and three times per day. I would not expect an > immediate response no matter what the formatting; calling out > the group members with sarcasm will instead have the result > of pushing people away or even getting flamed.
[jQuery] Problem with jquery plugin inside an ajax loaded php page
Hi I am a noob with jquery, and I am learning by myself and building a site with jquery php and mysql. I have this problem: Start page have a div for ajax loading and many links with image gallery names that ajax load the same php page with diferent param Id for each gallery. For example one link is viewfotos.php?IdGal=1, the other IdGal=2 and so on. viewfotos.php get image names from a MySQL table and display with a jquery plugin for gallery images. The Problem is that when viewfotos.php load into the div by the ajax way it only display the list of images and the jquery gallery plugin does not work. But if I open viewfotos.php alone in browser it works OK. I think the problem is that the $(document).ready event fires when I load the start page, but not when I ajax load viewfotos.php page into a div. This is the start page code for loading with ajax: $(document).ready(function(){ var emi = "#nav a"; var rec = "#show"; var src = "images/loading.gif"; var iid = "loading"; var pre = ''; var spe = "slow"; $(emi).each(function(){ var href = $(this).attr("href"); $(this).click(function(){ $(rec).hide().after(pre).load(href, function() {$("#"+iid).remove();$(this).fadeIn(spe);}); return false; }); }); }); And here is the code inside viewfotos.php $(document).ready(function(){ $('ul').jqGalViewII(); }); I think that the problem is that I can't put a ready event on a page ajax loaded into a div, it only works at the main page, but I don't know how to put all code in the ready event at main page. Can anyone please give me some help for understanding how to make this working. Thanks Gabriel Badano -- View this message in context: http://www.nabble.com/Problem-with-jquery-plugin-inside-an-ajax-loaded-php-page-tp17606241s27240p17606241.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Re: Select option value
It's easier than you think. Just use the value of the select element itself: function specify( select ){ var spName = select.value; alert( spName ); } You may want to run the same code on the keyup event as well as the change event, to make the cursor keys select immediately: And, of course, you can use jQuery event handling instead of the inline event handling if you wish: ... $('#specifier').change( specify ).keyup( specify ); function specify(){ var spName = this.value; alert( spName ); } -Mike > -Original Message- > From: jquery-en@googlegroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of andyGr > Sent: Sunday, June 01, 2008 9:35 PM > To: jquery-en@googlegroups.com > Subject: [jQuery] Select option value > > > > Hi All, > > Here is a simple code: > > > . > . > .. > . > > > How can I get the value of the selected option? I tried > > function specify(current){ >var spName = $j(current+" option:selected").val(); >alert(spName); > > } > > But it returns undefined value. What is wrong here? > > Thanks > -- > View this message in context: > http://www.nabble.com/Select-option-value-tp17592925s27240p175 > 92925.html > Sent from the jQuery General Discussion mailing list archive > at Nabble.com. >
[jQuery] Re: .click()/.bind() bag on IE6
Can you post a link to a test page demonstrating the problem? It's hard to tell what is wrong from the posted code. -Mike _ "sreturn false:" is a typo... I rewrite my script like you council...all works good..thanks :) but this bag still interestingly for me... :\ if somebody know why IE execute event, please tell me
[jQuery] Re: JqModal
If the datestamps on your posts are right, then you are complaining of no response in under two hours? Is that correct? You just need to practice a bit more patience. Personally, I browse new posts to the group somewhere between zero and three times per day. I would not expect an immediate response no matter what the formatting; calling out the group members with sarcasm will instead have the result of pushing people away or even getting flamed. For jqModal[1], you need to use all three: 1. There must be an HTML page for testing/viewing the result of the goodness. 2. That HTML page must have the CSS, either included (in a tag or a css @import directive) or inline. 3. You need jQuery, the jqModal plugin, and the doc.ready() block that initializes the behavior for the intended elements. Non-compliant example (paraphrase of the first example on the linked page): @import "jqModal.css"; Blah $().ready(function() { $('#dialog').jqm(); }); ~Pyro [1] http://dev.iceburg.net/jquery/jqModal/ On Jun 2, 1:13 pm, highjo <[EMAIL PROTECTED]> wrote: > am i ignored or something or what i'm aking for is so obvious that nobody > replies to me at least one directive? > I don't think i'm in the wrong place. > i 'm member of differents forums and it not like this for newbies. > tell me if i miss something or not follwing this forums rules. > wow i'm impressed!! > thanks anyway. > > > > highjo wrote: > > > Hi! > > i'm new to this an quite new to programming.I can fel this is great.I'm > > from the jqModal tutorial page and i just want to try it and add it to my > > project.First i did a copy and paste but it not working.Ok i thought it's > > because i don't understand the library and i went to try another tuto like > > get started and how jquery works.It was great. > > one thing confuse me from thehttp://dev.iceburg.netpage is don't know > > which tools to use. > > i'm interested in the styling view a .don't know here to start. > > i've understood that i should have jquery (i've downloaded the > > jquery-1.2.6.js wit which i worked with the get started). > > i've downloaded the styling i mean the jqModal.css > > i've downloaded the jqModal.js > > the there are javascript,css,html code snipet for the example. > > i'm confused wich one should i use ? or should i use all of them.code > > snipet javascript + jqModal.js + jquery.js+ code snipet css+ jqModal.css > > and html or no need for jquery since jqModal is there. > > Please if any one has done it ,help me to start this interesting plugin > > -- > View this message in > context:http://www.nabble.com/JqModal-tp17601317s27240p17606212.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Re: click(fn) question
It's funny, my guess is the opposite of Scott's. I'm also not familiar with the flot code, but it sounds like something that may run *synchronously* and therefore locks up the browser until it is completed. Any changes you make to the DOM will not show up on the display until this finishes. If that's the case, you can fix it with a setTimeout: $(tab_selector).click(function() { $(clicked_tab).text("Loading"); setTimeout( function() { [Flot calls to change the datasets and redraw the graph] $(clicked_tab).text("Previous Text"); }, 1 ); }); The setTimeout will let the browser catch its breath and update the loading text before you start the lengthy flot operation. -Mike > From: Leanan > > I apologize if this gets posted twice, but it looks like my > last attempt to post got swallowed by the ether. > > I'll make it short: > > I have flot and ui tabs. Because I'm processing a rather > large set of data, and excanvas, switching the datasets > graphed takes a few seconds. I want to add feedback, so that > when a tab is clicked, it's title changes to "Loading..." and > then when the graph is drawn, it switches back to it's > original text. I have this working, but the changes only > show when I step through with a debugger. When I run > normally, it appears as if the changes to the text to > "Loading..." and back to the default aren't being displayed > until the click handler is finished, which makes it appear as > if nothing is actually happening. > > I've searched through the jquery books I have (learning > jquery and the jquery reference) as well as online > documentation and I can't find anything that confirms or > denies this behavior as being proper. > > Does anyone know how I can get the following to work and > actually display the results of the .text() calls inside the > click() instead of after the .click() has processed? Thanks > in advance > > (pseudo) > > $(tab_selector).click(function() { > $(clicked_tab).text("Loading"); > [Flot calls to change the datasets and redraw the graph] > $(clicked_tab).text("Previous Text"); > }); >
[jQuery] Re: thoughts ? Announcing AJAX Libraries API: Speed up your Ajax apps with Google’s infrastructure
Not yet, but I plan on using it here in a day or so. Looks intresting so far. On Jun 2, 12:16 pm, cfdvlpr <[EMAIL PROTECTED]> wrote: > Is anyone using this for jQuery yet? To do this, you can just use > this line of code, right? > >
[jQuery] Re: JqModal
Highjo, it's only been 90 minutes since your first post appeared here. Be patient. :-) If you posted the message earlier than that, it was probably delayed because messages from new members go through moderation to help cut down on the terrible spam problem in Google Groups. (See the Google Maps API group for an example of what happens otherwise!) It's admittedly not a perfect solution. Regarding the order you load the JavaScript, it's jQuery first, then any jQuery plugins such as jqModal, then your own code. You can put the CSS files before all the JavaScript. If you have trouble getting it to work, post a link to a test page showing what you've tried. That will make it a lot easier for someone to look at the code. -Mike > From: highjo > > am i ignored or something or what i'm aking for is so obvious > that nobody replies to me at least one directive? > I don't think i'm in the wrong place. > i 'm member of differents forums and it not like this for newbies. > tell me if i miss something or not follwing this forums rules. > wow i'm impressed!! > thanks anyway. > > highjo wrote: > > > > Hi! > > i'm new to this an quite new to programming.I can fel this is > > great.I'm from the jqModal tutorial page and i just want to > try it and > > add it to my project.First i did a copy and paste but it not > > working.Ok i thought it's because i don't understand the > library and i > > went to try another tuto like get started and how jquery > works.It was great. > > one thing confuse me from the http://dev.iceburg.net page is don't > > know which tools to use. > > i'm interested in the styling view a .don't know here to start. > > i've understood that i should have jquery (i've downloaded the > > jquery-1.2.6.js wit which i worked with the get started). > > i've downloaded the styling i mean the jqModal.css i've > downloaded the > > jqModal.js the there are javascript,css,html code snipet for the > > example. > > i'm confused wich one should i use ? or should i use all of > them.code > > snipet javascript + jqModal.js + jquery.js+ code snipet css+ > > jqModal.css and html or no need for jquery since jqModal is there. > > Please if any one has done it ,help me to start this interesting > > plugin
[jQuery] Re: JqModal
am i ignored or something or what i'm aking for is so obvious that nobody replies to me at least one directive? I don't think i'm in the wrong place. i 'm member of differents forums and it not like this for newbies. tell me if i miss something or not follwing this forums rules. wow i'm impressed!! thanks anyway. highjo wrote: > > Hi! > i'm new to this an quite new to programming.I can fel this is great.I'm > from the jqModal tutorial page and i just want to try it and add it to my > project.First i did a copy and paste but it not working.Ok i thought it's > because i don't understand the library and i went to try another tuto like > get started and how jquery works.It was great. > one thing confuse me from the http://dev.iceburg.net page is don't know > which tools to use. > i'm interested in the styling view a .don't know here to start. > i've understood that i should have jquery (i've downloaded the > jquery-1.2.6.js wit which i worked with the get started). > i've downloaded the styling i mean the jqModal.css > i've downloaded the jqModal.js > the there are javascript,css,html code snipet for the example. > i'm confused wich one should i use ? or should i use all of them.code > snipet javascript + jqModal.js + jquery.js+ code snipet css+ jqModal.css > and html or no need for jquery since jqModal is there. > Please if any one has done it ,help me to start this interesting plugin > -- View this message in context: http://www.nabble.com/JqModal-tp17601317s27240p17606212.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Re: thoughts ? Announcing AJAX Libraries API: Speed up your Ajax apps with Google’s infrastructure
Is anyone using this for jQuery yet? To do this, you can just use this line of code, right?
[jQuery] Re: Problem when trying to copy the home page design of Msn Video site
Hi there, I'm just getting back to this list after being away for a few days, so forgive me if this has been answered already (though I didn't see a reply yet). I think you will find the hoverIntent plugin very helpful for this sort of thing: http://cherne.net/brian/resources/jquery.hoverIntent.html --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 29, 2008, at 5:45 AM, Jiawei wrote: This is the msn video site: http://video.msn.com/ On the home page, we can see some small preview pictures of videos.When we move the cursor over it, the picture will disappear, and some description text about the video will show up and replace the area of the original picture. When we move the cursor out of it, the picture is back again. I am trying to imitate exactly this effect. I use both of the onmouseover and onmouseout events to do that job, and it looks just as it is the real site of msn video. But there is a problem with it and I spent a whole day on it but still can't figure out a solution. The problem is: when I move the cursor in a normal speed over several preview pictures, everything is ok, but When I move the cursor over these pictures in a high speed, some of the pictures will not come back, and the replaced description texts of them are still there. It seems as if some onmouseout events failed to execute or are missing. Could someone give me some tips about how to resolve this problem?
[jQuery] Re: reseting values of input fields that have been cloned
I haven't tested this, but I think you'd just select the inputs within the clone, and reset them before inserting, like so: var clonedRow = $("tbody.gltb tr#guest_new").clone(); $('input', clonedRow).val(''); - jason On Jun 2, 11:42 am, jarp <[EMAIL PROTECTED]> wrote: > new to jquery. here is what I am trying to do. > > -- I am using the clone function to clone a table row. > -- the table row contains 3 input fields > -- they are inheriting the values already in them > -- i need to reset them to "" (blank") > > $(document).ready(function() { > // Initialise the table > $("a.addNew").click(function() { > var clonedRow = $("tbody.gltb tr#guest_new").clone(); > //this will grab the last table row. > $("tbody.gltb tr#guest_new input").attr("value", ""); > $("tbody.gltb").append(clonedRow); //add the row back to the > table > > var n = $("tbody.gltb tr").length; > //alert(n); > //$("tbody.gltb tr#guest_new input").attr("value", ""); > //var r = $("tbody.gltb tr").get(n); > // now i am lost :-( > }); > });
[jQuery] Re: click(fn) question
I hadn't thought about that... I'll look into it.
[jQuery] Re: blockUI 2.02 error ?
FWIW, I encountered this same error and found this thread. It reminded me that I had changed FF's useragent when testing something and had never reset it. Once I fixed that everything was great. On Apr 8, 9:58 am, "Alexandre Plennevaux" <[EMAIL PROTECTED]> wrote: > nope, using the same browser , i don't get the error. Must be in my > code, but i wonder where. it's gotten so long in a six month > development time :) > > On Tue, Apr 8, 2008 at 3:52 PM, Mike Alsup <[EMAIL PROTECTED]> wrote: > > > > > strange, i'm using Firefox 2.0.0.13 on windows xp SP2. > > > > Well that's odd. Can you post a link? If not, can you debug and see > > > why it's getting to that line? > > > Do you get errors on the demo page? > > > http://www.malsup.com/jquery/block/ > > -- > Alexandre Plennevaux > LAb[au] > > http://www.lab-au.com
[jQuery] superfish: javascript issue
Hello... It was suggested that I post here because the author of superfish watches this list closely... I have an issue on IE browsers. They intermittedly show a javascrip error, both on the site that I've done using superfish and the demo site. I'm not a javascript guy so I don't have the first clue what to do about it -- help =( at demo site - http://users.tpg.com.au/j_birch/plugins/superfish/ - IE7, IE6 show javascript errors there's an object expected at line 259 at site I did I don't get javascript issues on IE7 but get them on IE6. Intermittedly - they go away sometimes on some browsers. Site is at tele fonix dot com Also in weblogs, I get a ton of stuff like: [02/Jun/2008:10:07:07 +0100] 80.168.244.40 - - "GET / HTTP/1.1" 200 30487 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" [02/Jun/2008:10:07:10 +0100] 80.168.244.40 - - "GET /css/ jquery-1.2.3.min.js HTTP/1.1" 200 54075 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" [02/Jun/2008:10:07:14 +0100] 80.168.244.40 - - "GET /css/ hoverIntent.js HTTP/1.1" 200 3173 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" [02/Jun/2008:10:07:15 +0100] 80.168.244.40 - - "GET /css/bgIframe.js HTTP/1.1" 200 4976 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" [02/Jun/2008:10:07:15 +0100] 80.168.244.40 - - "GET /css/'+s.src+' HTTP/1.1" 404 30487 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" [02/Jun/2008:10:07:15 +0100] 80.168.244.40 - - "GET /css/css/ jquery-1.2.3.min.js HTTP/1.1" 404 30487 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" [02/Jun/2008:10:07:16 +0100] 80.168.244.40 - - "GET /css/css/css/ jquery-1.2.3.min.js HTTP/1.1" 404 30487 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" [02/Jun/2008:10:07:17 +0100] 80.168.244.40 - - "GET /css/css/css/css/ jquery-1.2.3.min.js HTTP/1.1" 404 30487 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" [02/Jun/2008:10:07:17 +0100] 80.168.244.40 - - "GET /css/css/css/css/ css/jquery-1.2.3.min.js HTTP/1.1" 404 30487 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" [02/Jun/2008:10:07:18 +0100] 80.168.244.40 - - "GET /css/css/css/css/ css/css/jquery-1.2.3.min.js HTTP/1.1" 404 30487 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)" [02/Jun/2008:10:07:18 +0100] 80.168.244.40 - - "GET /css/css/css/css/ css/css/css/jquery-1.2.3.min.js HTTP/1.1" 404 30487 > ETC, IE SOME SORT OF RECURSION
[jQuery] [Tutoria] How to make accordion menu using jQuery
Tutorial: How to make accordion menu using jQuery by Roshan Bhattarai http://roshanbh.com.np/2008/06/accordion-menu-using-jquery.html
[jQuery] reseting values of input fields that have been cloned
new to jquery. here is what I am trying to do. -- I am using the clone function to clone a table row. -- the table row contains 3 input fields -- they are inheriting the values already in them -- i need to reset them to "" (blank") $(document).ready(function() { // Initialise the table $("a.addNew").click(function() { var clonedRow = $("tbody.gltb tr#guest_new").clone(); //this will grab the last table row. $("tbody.gltb tr#guest_new input").attr("value", ""); $("tbody.gltb").append(clonedRow); //add the row back to the table var n = $("tbody.gltb tr").length; //alert(n); //$("tbody.gltb tr#guest_new input").attr("value", ""); //var r = $("tbody.gltb tr").get(n); // now i am lost :-( }); });
[jQuery] Re: How to make webpage to adjust to user display settings.
Also can jquery be used in commercial webpage?? like any commercial type website can use this for free? On Jun 1, 7:18 pm, Aaron <[EMAIL PROTECTED]> wrote: > ok I am currently working on a website and I need to have my website > to adjust to the clients display settings so like for an example > that if the user has a higher display settings my webpage through > javascript would resize all the elements on my webpage to keep the > orignial look. > > so I am gussing somthing along the lines of first grabbing the > clients display settings and then use that to then scale every element > on the html page with the power of 2 or somthing. > > Is there anyway I can do this??? just to make my website adjust to the > clients display settings by scaling the elements on the page. > > If I can just make a script that I can do an if statment check on the > users display settings to then change the height and width of each > element on the page which I will assign so I can like change my > display settings and then play with the height and width of the > elements to see what looks good then use that in the if statment that > if the users has this display settings then do this ect..
[jQuery] Re: jqModal and dynamic Ajax
No one can help ? Chag -- View this message in context: http://www.nabble.com/jqModal-and-dynamic-Ajax-tp17514602s27240p17604358.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Re: How to make webpage to adjust to user display settings.
can jquery do this?? On Jun 1, 7:18 pm, Aaron <[EMAIL PROTECTED]> wrote: > ok I am currently working on a website and I need to have my website > to adjust to the clients display settings so like for an example > that if the user has a higher display settings my webpage through > javascript would resize all the elements on my webpage to keep the > orignial look. > > so I am gussing somthing along the lines of first grabbing the > clients display settings and then use that to then scale every element > on the html page with the power of 2 or somthing. > > Is there anyway I can do this??? just to make my website adjust to the > clients display settings by scaling the elements on the page. > > If I can just make a script that I can do an if statment check on the > users display settings to then change the height and width of each > element on the page which I will assign so I can like change my > display settings and then play with the height and width of the > elements to see what looks good then use that in the if statment that > if the users has this display settings then do this ect..
[jQuery] JqModal
Hi! i'm new to this an quite new to programming.I can fel this is great.I'm from the jqModal tutorial page and i just want to try it and add it to my project.First i did a copy and paste but it not working.Ok i thought it's because i don't understand the library and i went to try another tuto like get started and how jquery works.It was great. one thing confuse me from the http://dev.iceburg.net page is don't know which tools to use. i'm interested in the styling view a .don't know here to start. i've understood that i should have jquery (i've downloaded the jquery-1.2.6.js wit which i worked with the get started). i've downloaded the styling i mean the jqModal.css i've downloaded the jqModal.js the there are javascript,css,html code snipet for the example. i'm confused wich one should i use ? or should i use all of them.code snipet javascript + jqModal.js + jquery.js+ code snipet css+ jqModal.css and html or no need for jquery since jqModal is there. Please if any one has done it ,help me to start this interesting plugin -- View this message in context: http://www.nabble.com/JqModal-tp17601317s27240p17601317.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Re: innerFade and delay? or Cycle and drupal 5.x ?
It could be that the jQuery Update module is only updating to 1.1.x . I noticed this on the module page: A 2.x branch is now available. This includes the latest jQuery 1.2.3 with both compat-1.0 and compat-1.1. Do note that the install process has slightly changed so a complete reinstall is needed. Read the README.txt. Hope that helps. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 28, 2008, at 7:47 PM, jonathan wrote: On May 29, 9:20 am, "Mr.Morton" <[EMAIL PROTECTED]> wrote: Does anybody have Cycle running with Drupal/Jquery ? I've got Jquery cycle working on Drupal 5.7, using: Drupal 5.7 Jquery Update module 5.x-1.0 jquery.cycle 2.20 It's working fine using the Fade transition and paging on Firefox and Safari, but I'm getting errors in IE6. I've noticed that IE6 fails to render the demo at http://www.malsup.com/jquery/cycle/pager.html The first image appears but no pager, and the javascript error is line 30 char 30 "'console' is undefined"
[jQuery] Re: submit a form when an image is clicked rather than using input type=submit
Hi Pyrolupus, Sorry for the inconvenience. Since Google Groups doesn't have very good spam filtering, we have moderation turned on for new users. I'm not sure how many times you have to post before you're out of the moderation queue, but I think it's around 5. We have a few moderators who manually approve these posts from new users, but depending on time of day and our attention and Google's promptness in notifying us, it can take a while longer than we'd like. It's not an ideal solution by any means, but it's the best we can do while keeping the spam to (almost) zero. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 28, 2008, at 5:26 PM, Pyrolupus wrote: Why does it take four hours for my replies to show up? :( On May 28, 1:31 pm, Pyrolupus <[EMAIL PROTECTED]> wrote: On May 28, 12:45 pm, cfdvlpr <[EMAIL PROTECTED]> wrote: I'd like to use an image to submit a form. Is there an easy way to do this using jQuery? Is there some reason you can't use ? Alternatively, ::style:: #submitimg { cursor: pointer; } ::onready:: $('#submitimg').click(function() { //submit its form }); Pyro
[jQuery] Re: Livequery event firing multiple times
You're right, I guess after getting used to the standard way of doing it without livequery I just totally missed that. I'm still having a problem though, I changed the code so the livequery event only ever fires once, but no matter which groups I click the "Ass question" button for the result is the new question is always added to the first group I added a question to. Here's the updated code: http://www.w3.org/ TR/xhtml11/DTD/xhtml11.dtd"> http://www.w3.org/1999/xhtml";> Untitled Document Title Question Label On May 30,
[jQuery] Clicking on the whole div area.. not just the small icon image.
I am trying to get a click event on the whole div area around the image that toggles a menu. In FireFox I can click on the whole div and my functionality works. In IE7 I have to click only on the tiny arrow icon. How do I allow the whole div to control the event? $(document).ready(function() { $('ul.linkContainer:not(:first)').hide(); $('div.arrowToggle').click(function() { var $nextUL = $(this).next(); var $visibleSiblings = $nextUL.siblings('ul:visible'); if ($visibleSiblings.length ) { $visibleSiblings.slideUp('fast', function() { $nextUL.slideToggle('fast'); }); } else { $nextUL.slideToggle('fast'); } }); });
[jQuery] Re: click(fn) question
Leanan wrote: Does anyone know how I can get the following to work and actually display the results of the .text() calls inside the click() instead of after the .click() has processed? Thanks in advance I don't know anything about flot, but my guess is that it's processing asynchronously, so the calls to it return immediately. Can you check its documentation to see if you can put your change from loading mode into some sort of callback function? Does it have some "when finished" function you can use? Good luck, -- Scott
[jQuery] Re: How to work with checkboxes
Thank you works perfectly. -- View this message in context: http://www.nabble.com/How-to-work-with-checkboxes-tp17582264s27240p17603046.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Cluetips Protips Jtips
I really like the quality of the tooltip pop-ups found here http://www.nickstakenburg.com/projects/prototip2/ What is the closest thing we have to this level of quality in jQuery? Thanks, D
[jQuery] Adding times
Does anyone know of a good plugin/function/library for adding up times? My primary requirement is to be able to take strings like "9:00 AM" and "5:00 PM" and calculate the hours between. I don't want to reinvent the wheel, especially considering mine will end up being square... Thanks, Owen
[jQuery] Question about .click
Hello there ladies and gents, hopefully someone can point me in the right direction. I'm using a combination of flot and ui tabs, and I want the following behavior: When the user clicks on the tab, the text and background get changed to display a loading message while the flot graph is drawn and processed. When the graph is drawn, the tab returns to normal. I have this functionality, but the problem is that it's not showing. When I step through the javascript with firebug, everything works perfectly--the tab changes to display the loading, the graph gets drawn, and then the tab returns to normal. However when I'm not debugging, everything seems to process so fast that nothing appears to happen. The problem is that it's not really processing so fast--there is a noticeable few seconds delay between the time the tab is clicked and the graph gets redrawn, hence why I want this feedback. So I suppose instead of saying "it seems to process so fast" what I really mean is that it appears that the changes to the tab that get done within the click function don't actually get displayed until the click function finishes processing -- which makes it appear as if nothing has been done. I've scoured the learning jquery and jquery reference books, as well as tried to dig around on the 'net and can't find anything to confirm or deny this apparent behavior. Does anyone happen to know one way or the other, or know of any documentation that addresses this issue? Does anyone happen to know how I can get this to work? Thanks very much in advance.
[jQuery] Re: .click()/.bind() bag on IE6
"sreturn false:" is a typo... I rewrite my script like you council...all works good..thanks :) but this bag still interestingly for me... :\ if somebody know why IE execute event, please tell me 2008/6/2 Michael Geary <[EMAIL PROTECTED]>: > It's pretty hard to tell what might be wrong without seeing the actual > page. But a couple of questions and a suggestion... > > Is "sreturn false:" a typo in your message, or is that the actual code? > > Also, I assume there is some other code that sets the initial click > handler? > > Anyway, you don't need the complication of binding and unbinding the click > handler on every click. A single click handler for both states would be much > simpler. For example: > > $(function() { > var playing = false; > $("#playbta").bind("click",function(){ > if( playing ) > player.dostop(); > else > player.doplay(pos); > playing = ! playing; > return false; // you may not need this > }); > }); > > You may want to have the "playing" state set from events coming back from > your media player, but that's a separate issue. > > -Mike > > -- > My script: > > function stop() > { > $("#playbta").unbind("click").bind("click",function(){ > play(pos); > sreturn false; > }); > > player.dostop(); > } > > function play(pos) > { > $("#playbta").unbind("click").bind("click",function(){ > stop(); > return false; > }); > player.doplay(pos); > } > > it's piece of my music player... > > When user click on "play" button, text on button change on "pause" and > event "click" (of button) most change on "play(pos);return false;"... > In all browsers all good...event of button change successfully.. > but IE try execute event o_O > > for example: > when I execute function "play", IE execute "stop(); return false;" too... > o_O and I have eternal cycle :( because IE execute stop(),stop() execute > play() and so on > > how it's correct?! > p.s.sorry for my English > > > I using last jQuery > >
[jQuery] Tooltip onlink inside falls below the table
Hi, I am using Jörns tooltip plugin. The tooltip shows but below the whole table and not under the link. I am using this css: #tooltip { position: absolute; z-index: 3000; border: 1px solid #111; background-color: #eee; padding: 5px; opacity: 0.85; } #tooltip h3, #tooltip div { margin: 0; font-size:11px } The table does not have any float. I am also using tablesorter plugin on the table. Heading Link text could it be the tablesorter plugin?
[jQuery] click(fn) question
I apologize if this gets posted twice, but it looks like my last attempt to post got swallowed by the ether. I'll make it short: I have flot and ui tabs. Because I'm processing a rather large set of data, and excanvas, switching the datasets graphed takes a few seconds. I want to add feedback, so that when a tab is clicked, it's title changes to "Loading..." and then when the graph is drawn, it switches back to it's original text. I have this working, but the changes only show when I step through with a debugger. When I run normally, it appears as if the changes to the text to "Loading..." and back to the default aren't being displayed until the click handler is finished, which makes it appear as if nothing is actually happening. I've searched through the jquery books I have (learning jquery and the jquery reference) as well as online documentation and I can't find anything that confirms or denies this behavior as being proper. Does anyone know how I can get the following to work and actually display the results of the .text() calls inside the click() instead of after the .click() has processed? Thanks in advance (pseudo) $(tab_selector).click(function() { $(clicked_tab).text("Loading"); [Flot calls to change the datasets and redraw the graph] $(clicked_tab).text("Previous Text"); });
[jQuery] Re: jQuery LOGO
Anyone know who came up with the logo in use for the jQuery Linkedin group? I'm quite partial to that one actually. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Sunday, June 01, 2008 11:06 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: jQuery LOGO Joel, Your logo still sits proudly on my blog, mug, coaster and tshirt. :) It's badass. Rey... Joel Birch wrote: > Hi TolYan, > > You (and anyone else) are welcome to use the logo I created. My only > request is that it is used as it is and not taken apart and altered. > > If this logo isn't the one you are looking for then you may need to > provide a reference of the one you mean. Just so you know, I get the > feeling that a brand new logo is in the works so whatever you use may > be outdated soon. > > Download a zip file which contains many formats including several > vector formats, here: > http://users.tpg.com.au/j_birch/jQuery-logo.zip > > Joel Birch. >
[jQuery] jQuery.SerialScroll
Hi guys. I've made this page with the serial scroll plugin. The page code is right here: http://pastebin.com/m347ffc6 But it doesn't work with Internet Explorer, Can somebody help me? Thanks.
[jQuery] jQuery.SerialScroll
Hi guys i've done this page withe the plugin jQuery.SerialScroll but it doesn't work with Internet Explorer 6. The code of the page is right here: http://pastebin.com/m347ffc6 Please help me !!! Thanks.
[jQuery] Re: get class or id
Two elements should never have the same ID - make sure the links and the paragraphs do NOT have the same ID. Some people use the 'rel' tag for this sort of thing. Use the class attribute to denote objects that should be grouped (ie, the paragraphs you want to hide) Eg: 001 002 003 In you jQuery, you can then do this: $(document).ready(function() { $('#myList li a').click(function() { var t = $(this).attr('rel'); $('p.myItems').hide(); $('#'+t).show('slow'); }); }); Hope this helps - and don't forget to read the documentation if you get stuck: http://docs.jquery.com On Jun 2, 7:20 pm, jgarcia <[EMAIL PROTECTED]> wrote: > i've a dinamic menu > > > 001 > 001 > 001 > > > this menu is dynamic, ie, is automatically generated from a > database, therefore I will not know many elements i'll have in the > future or what identifiers they have. > > Moreover, i have some , one for each in the > > > > > > If somebody do click in all must be hide, but the id=001> must be show > > i've writed this code in jquery for the case "001" and is run > perfect, but a need do it general for all but without > those elements will have a priori > > > $(document).ready(function (){ > > $("#content p").toggle(); > > $("#menu ul li a#001").click > ( > function showhide() > { $("#content p#001").toggle("slow"); } > ) > } > ) > > > understand me? > > thanks in advance
[jQuery] Re: Cant add focus and blur event handlers to input of type file
OK, this is me being really stupid. The reason i cant trap the event is because the file fields are added dynamically are there fore are not assigned event handlers in the intial loading of the script. Sorted this now ;-) On Jun 2, 11:31 am, "mark.forster" <[EMAIL PROTECTED]> wrote: > I'm having a real problem hooking onto the events in input field of > type file. > > here's the scenaro. > > I've made use of the hotkeys plugin for jquery and tweaked it a little > so that hotleys and added a kind of proxy that checks for field focus > and only delegates the event (callback) if no fields have the focus. > > The code is straight forward, hook onto all input/select/textarea > field. When every field has focus set a flag to true and when they > lose focus set a flag to false. > > The flag is global (but kept in scope) and is checked against by the > event proxy. > > here is a snippet of the code: > > $(function(){ > var focus=false; > > function onFieldFocus(){focus=true;} > > function onFieldBlur(){focus=false;} > > $('input,select,textarea,file').bind('focus',onFieldFocus); > $('input,select,textarea,file').bind('blur',onFieldBlur); > > $("input[type='file']").bind('focus',onFieldFocus); > //$("input[type='file']").bind('blur',onFieldFocus); > > $.fieldFocus=function(){return focus;} > > // Hotkeys delegate method > // Acts as a proxy allowing the shortcut to perform if no field > is focused and sorts out issue with > // The keycode value populating a field if given focus > $.hotkeys.delegate=function(callback){ > //return function(){}; > > return function(){ > if(focus==false){ > setTimeout(callback,2); > return false; > } > } > } > > } > > The above code is used as follows > > $.hotkeys.add('s', {type: 'keydown', propagate: true}, > $.hotkeys.delegate( > function(e){ > $('#iSearchQuery').trigger('focus'); > } >)); > > The code works very effectively for all fields apart from the file > input field something i cant seem to hook onto. > > Is there a solution for this? doesnt have to be in jquery or be part > of the hotkeys script. Ive seen this sort of thing work in google > mail i.e. when your on the compose view and you are on the attachment > (file) field, hotkeys are disabled. If you move away from the file > field and press a hotkey they work as expected. > > How is google doing this? Am i missing something obvious? > > I have tested hooking events to a file type field in isolation and > still cant get it to work? > > Any body got any solutions here?
[jQuery] Cant add focus and blur event handlers to input of type file
I'm having a real problem hooking onto the events in input field of type file. here's the scenaro. I've made use of the hotkeys plugin for jquery and tweaked it a little so that hotleys and added a kind of proxy that checks for field focus and only delegates the event (callback) if no fields have the focus. The code is straight forward, hook onto all input/select/textarea field. When every field has focus set a flag to true and when they lose focus set a flag to false. The flag is global (but kept in scope) and is checked against by the event proxy. here is a snippet of the code: $(function(){ var focus=false; function onFieldFocus(){focus=true;} function onFieldBlur(){focus=false;} $('input,select,textarea,file').bind('focus',onFieldFocus); $('input,select,textarea,file').bind('blur',onFieldBlur); $("input[type='file']").bind('focus',onFieldFocus); //$("input[type='file']").bind('blur',onFieldFocus); $.fieldFocus=function(){return focus;} // Hotkeys delegate method // Acts as a proxy allowing the shortcut to perform if no field is focused and sorts out issue with // The keycode value populating a field if given focus $.hotkeys.delegate=function(callback){ //return function(){}; return function(){ if(focus==false){ setTimeout(callback,2); return false; } } } } The above code is used as follows $.hotkeys.add('s', {type: 'keydown', propagate: true}, $.hotkeys.delegate( function(e){ $('#iSearchQuery').trigger('focus'); } )); The code works very effectively for all fields apart from the file input field something i cant seem to hook onto. Is there a solution for this? doesnt have to be in jquery or be part of the hotkeys script. Ive seen this sort of thing work in google mail i.e. when your on the compose view and you are on the attachment (file) field, hotkeys are disabled. If you move away from the file field and press a hotkey they work as expected. How is google doing this? Am i missing something obvious? I have tested hooking events to a file type field in isolation and still cant get it to work? Any body got any solutions here?
[jQuery] functions and jquery
I have a problem with functions in jquery. Here is my code: $(function() { function klappmenu(id_name) { id_status=id_name+"_status"; head=id_name+"_head"; var id_status = $.cookie("+id_status+"); if (id_status == null){ $("h3#"+head).addClass('zu'); $("#"+id_name).css("display","none"); }; if (id_status == "zu"){ $("h3#"+head).removeClass('auf'); $("h3#"+head).addClass('zu'); $("#"+id_name).css("display","none"); }; if (id_status == "auf"){ $("h3#"+head).addClass('auf'); }; $("h3#"+head).click(function() { if ($("h3#"+head).attr("class")=='auf'){ $(this).removeClass('auf'); $(this).addClass('zu'); $.cookie("+id_status+", "zu", { path: '/', expires: 100 }); $("#"+id_name).css("display","none"); } else{ $(this).removeClass('zu'); alert(head); $(this).addClass('auf'); $.cookie("+id_status+", "auf", { path: '/', expires: 100 }); $("#"+id_name).slideDown(400); } }); } klappmenu("last5"); klappmenu("cats"); klappmenu("komm"); klappmenu("roll"); klappmenu("hot"); klappmenu("year"); }); Only the last function-call "klappmenu("year");" has an effect. Why? Here is the script in action: http://marctv.de/test/js/ the code: http://marctv.de/js/slidetest2.js
[jQuery] how can I add some icons to bitmap
Hello, I need advice about jQuery animation. I would like to make following: I have some picture (for example some map) and I need to locate (add) some icons to this picture (map). Could you give me advice how to do it? I need some plugin or JQuery Core has some useful function for it? thanks, ivan
[jQuery] get class or id
i've a dinamic menu 001 001 001 this menu is dynamic, ie, is automatically generated from a database, therefore I will not know many elements i'll have in the future or what identifiers they have. Moreover, i have some , one for each in the If somebody do click inall must be hide, but the must be show i've writed this code in jquery for the case "001" and is run perfect, but a need do it general for all but without those elements will have a priori $(document).ready(function (){ $("#content p").toggle(); $("#menu ul li a#001").click ( function showhide() { $("#content p#001").toggle("slow"); } ) } ) understand me? thanks in advance
[jQuery] jQuery Sorting not working after appending new element
I'm working with jQuery ui sortable. It's working fine until I append new element to the sortable container. I tried with sortable("refresh"). It gets the new element when i call sortable("serialize") but the new element is not draggable, though the old ones(existing from the beginning) are still draggable. Also another problem is if I keep the sortable initialization in a outer function and call it on domready it does not work. :( :( pls help...
[jQuery] Select option value
Hi All, Here is a simple code: . . .. . How can I get the value of the selected option? I tried function specify(current){ var spName = $j(current+" option:selected").val(); alert(spName); } But it returns undefined value. What is wrong here? Thanks -- View this message in context: http://www.nabble.com/Select-option-value-tp17592925s27240p17592925.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Should metadata plugin merge into the core?
Hi, I am more and more relying metadata in my codes, I think the idea in using it to store data is simply amazing, what do you guy think? Of coz livequery is also a good choice. What I think is in order to promote these plugins, we might consider provide an additional offical plugin packages for user to use? Howard