[jQuery] Menu content within text file
hi all, i'm trying to build a menu ..whose content will fetched through any text file..it maybe json..xml or any other format. is there any way possible to create menu at runtime with the help of the data available.
[jQuery] “(validate)”
I'm using the jQuery plugin: Validation. How can I validate, say a textbox inside a specific div element that has a specific id? $(document).ready(function() { $(#aspnetForm).validate({ rules: { txt_1: { minlength: 2, required: true }, txt_2: { required: true, email:true } }, messages: {} }); }); I have a textbox in a div with an id = testdiv and the above code doesn't seem to locate the textbox. Thanks
Re: [jQuery] Menu content within text file
try to use an associative array to build the menu php: get data from a yaml file or txt or whatever. then build the array structure and encode to json. Also could make the file directly in json format $menu array(link1 = http://;, link2 = array ( link2.1 = http:/, link2.2 = http://..; ) ) echo json_encode($menu); jquery: var mymenu; $.ajax({ async:false, success:function(data) {mymenu = data; (render the menu) }, url:http://urltomenufile.php;, type: get, dataType: json }); Thats all -- Carlos De Oliveira Departamento De Sistemas Consultor Senior 0426 517 73 01 0212 204 69 60 cdeolive...@grupozoom.com card...@gmail.com
[jQuery] JQuery tablesorter problem
I am facing problem with jquery.tablesorter.js It's working fine if I have more than column in sorting/header list. But if I have one column in sorting/header showing following error. o is undefined o.order = o.count = s[1]; (jquery.tablesorter.js at line 421) Please suggest me fix for this Regards Nagaraju P
Re: [jQuery] Jquery Image Rotator Question
Hey There Jacques, I'm looking at the same (to avoid the use of Flash and use simple HTML!) There's a good example at http://malsup.com/jquery/cycle/add3.html I guess this could be changed to contain a dynamically created array (or batches of arrays) that add specific (in my case CMS driven) images to the collection once pre-loaded. Big benefit is that if JS off user still sees a couple of images (I want to change this to one image but suspect it's not going to be easy!) Would be interested in any flash replacement you consider :) Cheers Dylan Jacques-31 wrote: My company has suggested that we replace all our flash based image rotators with jquery versions. I have used Jquery cycle before http://www.malsup.com/jquery/cycle/download.html But have a question Do these plugins allow the images to be downloaded after the page has rendered? Some of our flash rotators have hundreds of larger images in them. Can we use jquery to dynamically load these into a rotator after the page renders? Can somebody point me to a good example if so? Does any know of any other disadvantages to using jquery over flash for this type of thing other then when users have javascript disabled? Thanks for you help! -- View this message in context: http://old.nabble.com/Jquery-Image-Rotator-Question-tp27444324s27240p27452191.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Move up and Down the Div Block with Dynamic content
Hi, I am having a kind of project where i want to move the div block with dynamic content, up and Down, similiar to yahoo homepage.(Move Top and Move Down With arrow Markd in Yahoo) Is it possible to do, do u guys have any idea pls help me. thank you -- View this message in context: http://old.nabble.com/Move-up-and-Down-the-Div-Block-with-Dynamic-content-tp27452202s27240p27452202.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
Re: [jQuery] “(validate)”
On Thu, Feb 4, 2010 at 7:28 AM, Søren gruby mrgr...@gmail.com wrote: How can I validate, say a textbox inside a specific div element that has a specific id? Validate validates forms so to validate a field, it has to be in a form - doesn't matter whether it's in another div or what. Each rule entry refers to a field's name. From your example, it looks like you have a form with id=aspnetForm but you don't specify what your input's name is; if it isn't txt_1 or txt_2 then it won't be validated. You can find some samples here: http://jquery.bassistance.de/validate/demo/ Nathan
[jQuery] Open/Play Server side files
Hi, I just want to know is there any way to open the server side files with the respective programs via jquery/php/javascript. For eg, if a text file is in server side we need to open it via our notepad or any text editor. Similarly images via paint. Similary open Audio/Video files with the respective programs. I believe, we can view the text/html/image files as a html page by using ajax load functions (.load()), but we couldnot open the audio/video files. Is there any way to do as I mentioned above. Thanks in Advance.
Re: [jQuery] Open/Play Server side files
I just want to know is there any way to open the server side files with the respective programs via jquery/php/javascript. For eg, if a text file is in server side we need to open it via our notepad or any text editor. Similarly images via paint. Similary open Audio/Video files with the respective programs. I believe, we can view the text/html/image files as a html page by using ajax load functions (.load()), but we couldnot open the audio/video files. Is there any way to do as I mentioned above. All you need to do is sent an appropriate HTTP response header, i.e., with the corresponding mime-type - everything else will be handled by your browser's mapping of mime types to default actions. Best regards, Andreas
[jQuery] Forms Plugin - Button Id
Hi I am using the Forms plugin to do an Ajax submit , and I have two button on the page I need to know which one has been clicked and trigger an event based on this. I am not sure how to do this, this event shouldnt stop the form posting or anything but just need to know which one is clicked. Some code $(this).ajaxSubmit({ dataType: 'json', resetForm: false, beforeSubmit: function(formData, form, opts) { $('input[type=submit], input[type=image]', this).attr('disabled', 'disabled'); }, success: function(json) { $('input[type=submit], input[type=image]', this).removeAttr('disabled'); $('#form').submit(); } } }); -- View this message in context: http://old.nabble.com/Forms-Plugin---Button-Id-tp27452251s27240p27452251.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
Re: [jQuery] Forms Plugin - Button Id
On Thu, Feb 4, 2010 at 9:21 AM, neojquery w.as...@rocketmail.com wrote: I have two button on the page I need to know which one has been clicked and trigger an event based on this. http://api.jquery.com/click/ Nathan
Re: [jQuery] Fwd: Multiple file upload + flash component
DA: It does seems that the URL you send talks about usage of php. I am looking for without php as php is not allowed in our case. Any one else tried the multifile upload using the flash component...for multiple file selection from file selector ? I am already using multifile library of jquery. On Wed, Feb 3, 2010 at 5:23 PM, D A dali...@gmail.com wrote: I am looking for a multifile uploader with html or jsp not with php. This should be allowed to select the multiple files from the file selector. I am sure that we can do that using the flash component. I am not familiar with flash. I am using the multifile uploader from Jquery already. Any help on this is appreciated. This might be of interest to you: http://www.appelsiini.net/2009/10/html5-drag-and-drop-multiple-file-upload -DA
[jQuery] fade in first problem
Hi, I am using the jQuery Cycle plugin to rotate backgrounds on my website. I am using the fade effect, with random image order and fading in the first image. The problem is, the timeout works even on the very first image. But that means, after the page is loaded, I have to wait 30sec. to see the first image. I have been trying to play around the variables, delays, timeouts, but non of them would work. My goal: have a fade random slideshow, the first image fade in after 2 sec., then all the other images should change every 30sec. Here is my code, please help me out of this: script type=text/javascript $(function() { $('.pics img').css({ opacity: 0 }); setTimeout(function() { $('#slideshow').cycle({ random: 1, delay: 2000 }); $('.pics img').css({ opacity: 0 }); }, 3); }); /script
[jQuery] Issue with duplicated userCollapseText for JQuery Expander :(
Hello JQuery group, I'm must say that I really enjoy using the jquery.expander control for a simple and intuitive UI. It works really well with news items that need to include a Read More... and Close... option. I just have a strange issue/artifact with one of the controls properties, the userCollapseText property. The strange thing about this issue is that I'm using the control on a test repeater which works fine (I'll explain in a bit) but on our test box in a DIFFERENT repeater, it somehow creates duplicated Close links when the item is expanded. Please note that both test apps are using version 1.4.1 of the JQuery javascript library and version 0.4 of the JQuery extender plugin. The first example is as follows (note the expandText and userCollapseText are populated in the code-behind, this is an ASP.NET app): head runat=server titleUntitled Page/title script src=/js/jquery.js type=text/javascript/script script src=/js/jquery.expander.js type=text/javascript/ script script type=text/javascript $(document).ready(function() { // override some default options $('p').expander({ slicePoint: 80, // default is 100 expandText: '%= GetExpandText %', // default is 'read more...' expandEffect: 'show', userCollapseText: '%= GetCollapseText %' // default is '[collapse expanded text]' }); }); /script /head body form id=form1 runat=server div asp:Repeater ID=ExpanderTestRepeater runat=server ItemTemplate p style=width: 350px %# DataBinder.Eval(Container.DataItem,Value) % /p /ItemTemplate /asp:Repeater /div /form /body This works just fine as here are the copied results of a closed/ expanded item: Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots … Read More... Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. ^ Close... (There are three items in this repeater and they all work perfectly!) The issue is with the test apps on our testing box: The script code is basically the same: script src=/js/jquery.js type=text/javascript/script script src=/js/jquery.expander.js type=text/javascript/script script type=text/javascript $(document).ready(function() { // override some default options $('p.BodyMarker').expander({ slicePoint: 80, // default is 100 expandText: 'br /Read More...', // default is 'read more...' expandEffect: 'show', userCollapseText: 'br /^ Close' // default is '[collapse expanded text]' }); }); /script As well as the repeater: asp:Repeater ID=rptNews runat=server ItemTemplate p class=title span class=date asp:Label runat=server ID=lblNewsTime Text=%# DateTime.Parse(Eval(Date).ToString()).ToString(MM.dd.)%/ asp:Label /span asp:Label runat=server ID=lblTitle Text=%# Eval(Title) %/asp:Label /p p class=BodyMarker asp:Literal runat=server ID=ltrContent Text=%# Eval(Body)%/asp:Literalbr / /p div id=newsdivider/div /ItemTemplate /asp:Repeater Unfortunately the output yeilds a duplicated ^ Close link: 01.21.2010COGNEX OFFERS NEW VISION TOOLS FOR SOLAR CELL INSPECTION Cognex Corporation (NASDAQ: CGNX) has further expanded its range of inspection … Read More... 01.21.2010COGNEX OFFERS NEW VISION TOOLS FOR SOLAR CELL INSPECTION Cognex Corporation (NASDAQ: CGNX) has further expanded its range of inspection … Read More...solutions for solar cell manufacturing processes. The new VisionPro® Solar Toolbox includes pre-configured software tools for the most common vision alignment and inspection applications in photovoltaic (PV) solar production. With the addition of the Solar Toolbox, users have the option of working either with the basic VisionPro software library, or using the pre-configured tool set as a starting point for setting up vision inspection and alignment applications. VisionPro software’s industry-leading tools for location, identification, and inspection can also be leveraged throughout the value chain to help manufacturers achieve higher quality, faster throughput, and better process control. ^ Close ^ Close If you have any suggestions as to what I may be doing wrong, please let me know at your earliest convenience. Thanks very much in advance for your time! Jason Priddy jason.r.pri...@gmail.com
Re: [jQuery] JQuery Developer
May i know the work, Am from chennai india... sample of my work spsmobile.co.uk On Thu, Feb 4, 2010 at 7:11 AM, Madan madan.ah...@gmail.com wrote: I am currently seeking a JQuery Developer with strong Javascript, HTML, CSS etc. This is a job with an enterprise level company in the peninsual (around Palo Alto). Please contact me ASAP. This position will move fast. Regards, Madan -- Regards B.S.Bharanikumar http://php-mysql-jquery.blogspot.com/ Article JQUERY : checkbox,selectall,selectnone,invertselection,checkbox count
Re: [jQuery] JQuery tablesorter problem
Please provide the code you're using to invoke tablesorter. It's likely a syntax error. On Thu, Feb 4, 2010 at 05:36, Nagaraju man25...@gmail.com wrote: I am facing problem with jquery.tablesorter.js It's working fine if I have more than column in sorting/header list. But if I have one column in sorting/header showing following error. o is undefined o.order = o.count = s[1]; (jquery.tablesorter.js at line 421) Please suggest me fix for this Regards Nagaraju P
[jQuery] TableSorter problem: calling textExtraction()
I know practically nothing about javascript, so maybe this is just a simple matter of incorrect syntax. The following code works for making a table sortable: $(function() { $(#team_loses).tablesorter({ widgets: ['zebra'], headers: {2: {sorter: 'rank'}, 6:{sorter: false}, 7:{sorter: false}, 12:{sorter: false} } }); }); However, I try to also use textExtraction, and the table cannot be sorted in either FF or IE $(function() { $(#team_loses).tablesorter({ widgets: ['zebra'], headers: {2: {sorter: 'rank'}, 6:{sorter: false}, 7:{sorter: false}, 12:{sorter: false} } , textExtraction: function(node) { return node.childNodes[0].childNodes[0].innerHTML; } }); }); -- View this message in context: http://old.nabble.com/TableSorter-problem%3A--calling-textExtraction%28%29-tp27460924s27240p27460924.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] DD_roundies
Hello everyone... I'm using DD_roundies for IE round corners and it works great. BUT, I cant seen to figure out how to make the following work: a class=a2 href=test.htm/a .a2 {width: 100px; height: 100px; background-image: src=/img/a2.png no repeat; float:left; border:1px; border-color:#000;} .a2:hover {background-position: -100px;} DD_roundies.addRule('.a2', 6px');
Re: [jQuery] Fwd: Multiple file upload + flash component
DA: It does seems that the URL you send talks about usage of php. I am looking for without php as php is not allowed in our case. Flash and jQuery are both client side technologies. As would be HTML 5. So none of those technologies would specifically have to be paired with any specific server-side technology. -DA
[jQuery] [Maybe OT] Table width 100%
This may be OT. It could be pure css or it could require some jQuery. I have a div set to 600px wide and 400px tall. Inside I load different height tables so I have overflow: scroll to make the div scrollable. On FF and Safari, if I set the table width to 100%, it stretches to the left side of the vertical scroll bar with no horizontal scroll bar. On MSIE, it runs to the width of the div to the right side of the vertical scroll bar and then shows the horizontal scroll bar cutting off text as it's hidden under the scroll bar. Is there anyway to trick IE to run it to the left side of the scroll bar rather than the right without JS/jQuery? Is jQuery the only way to make this work? Thanks Steffan --- T E L 6 0 2 . 7 9 3 . 0 0 1 4 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline stef...@execuchoice.net Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 YAHOO : Steffan_Cline MSN : stef...@hldns.com GOOGLE: Steffan.Cline Lasso Partner Alliance Member ---
Re: [jQuery] please test my link - takes only 2 secs
Am using FF3, am not find any error On Thu, Feb 4, 2010 at 2:47 AM, jquertil til...@gmail.com wrote: Hello all, if you have 2 seconds to spare, please see http://www.tilmauder.com/as4/JS2ASinJquery.htm and send me errors you may (or rather hopefully WILL NOT) be getting. What's supposed to happen: the page displays an orange swf file with a dynamic text field. When you click the button at the top, the text inside the orange swf is supposed to change. I'm interested in people who run: IE7, IE8, FF3 on Windows XP, Vista, 7 Safari 4, FF3 on Mac OSX Thanks a bunch! Your help is appreciated. -- Regards B.S.Bharanikumar http://php-mysql-jquery.blogspot.com/ Article JQUERY : checkbox,selectall,selectnone,invertselection,checkbox count