Online spell checking
Hi all, Bit of an odd one but hopefully someone may have some good ideas! Basically I'm working with a client delivering a cms and they want to be able to spell check the data that they've entered before submitting the content. The won't use a normal browser, as usual they won't move off IE6! I'm thinking of creating a jQuery plugin to fire the content off to an api such as google's and display the results. However Google's has limitations of 10 words per request and a max of 1000 a day which is
[jQuery] truncate not perserving HTML
Hi, I'm using truncate 2.3 It preserves my links to some degree, but the anchor ends up getting shifted to the right. For example I have a link on the word Pizza Shop <a href="">Pizza Shop</a> I apply truncate it ends up appearing as if the html was written as follows: Pi<a href="">zza shop </a> Any ideas?
[jQuery] Superfish Navbar wrapping too soon
Hello, I'm developing a site and trying to see if I can get the Superfish menu to work in my design. Here is the site: http://home.catholicweb.com/stjudeboca/index.cfm?reinit=y The problem I have run into is that using the navbar to make a horizontal menu with one level below it, the sub menu wraps at about 700 pixels, way before the end of the main menu. If you hover over Ministries and Schedules you will see exactly what I mean. This happens in all browsers so I'm sure it's CSS, I just don't know
[jQuery] jquery.cycle - pagerAnchorBuilder
hi I'm using pagerAnchorBuilder like in the example here: http://jquery.malsup.com/cycle/pager11.html function pagerFactory(idx, slide) { var s = idx > 2 ? ' style="display:none"' : ''; return '<li'+s+'><a href="#">'+(idx+1)+'</a></li>'; }; Please check the source: http://tinyurl.com/kpmrt6 Now I would like to place the < > (pager) next to the numbers, like this: < 1 2 3 4 > - one line instead of two. How can I do that? And I'd like to alter the pager: when the first image is showed, the pager <
[jQuery] JQuery and SEO ?
Hi all! I am brand new to Jquery (and AJAX for that matter). And I am trying to figure out how best to use JQuery. If I want to build a website on JQuery: A static menu, layout and a flash-musicplayer (Its a band-website). And then get all content via Menu->JQuery - how is that with SEO? Any problems for Google to pickup and index my content? Anything I should be aware of before I start learning JQuery? Thx John
[jQuery] superfish displaying oddly in my FF3.5 install
Yesterday my host did about 10 minutes of server maintenance and when they were finished, my Superfish menu in Joomla suddenly began displaying extra spacing between each li. Here's the site: http://www.redkitecreative.com/projects/checkmark/ However, apparently this is only happening for me. I upgraded FF yesterday thinking that might be the problem, but it's still displaying with extra spacing. Have I possibly done something to FF's default settings? Is anyone else seeing the same problem? This
[jQuery] treeview: using links that don't toggle
Hi. I have a treeview with links in that navigate to other pages when clicked. I didn't want these to cause toggling when they were clicked. My lists are prerendered. I didn't find a very good way to do this, but the following works, any better ways to do this would be appreciated. This function goes in the head, it is to stop the event bubbling up to the default treeviewcode. function lihyperlinkclick(e) { location.href = '...'; if (!e) var e = window.event // handle event e.cancelBubble
Need more understanding for jQuery - HEEEELP PLS!!!
Hi all! i am new here and im happy for this place. there cant be enough help out there i have some problems to understand syntax and function of some jQuery stuff: I have a little tool to find a username in a database. If the name is still free the code should show a green box with a link in it. The link should open a thickbox with a formular inside. this is the part where i generate a link: $("#msgbox").fadeTo(200,0.1,function() //start fading the messagebox { // Here i generate
[jQuery] jQuery and javascript objects
I have some JSON that I returned from my server. I then converted it to an object using eval. It is only then that I can start manipulating it with jQuery (trust me). Currently the multilevel object is set in a var. Is there a way that I can then have jQuery use this, to get values from it? Or is there no sense in trying to use jQuery for this, and it might not even be of help? Thanks.
[jQuery] Ajax Tabs with accordion content...
Hello, I use a jquery tabs with ajax (for loading a tab content) it works very well, but when ajax have to load an accordion, it doesn't work well (i loose the accordion presentation) i have maybe a clue : ajax doesn't load well also accent if their are not code like â (yes, i'm french) thanks
[jQuery] Image hover (like tooltip) to position in viewable scroll position
I have a Tooltip (larger image view) that is being positioned via e.pageX e.pageY and i am trying to make sure it is not hidden below the current scrolled view port. I have seen many sites have this my code is something like this but i am missing something. var positionImg = function(e) { var viewportWidth = $(window).width(); var viewportHeight = window.innerHeight ? window.innerHeight : $ (window).height(); var mouseAtY = e.pageY; var mouseAtX = e.pageX; var maxBottomVPos = viewportHeight-"i dont
[jQuery] TreeView Problems
Here is the menu that I'm trying to implement. I'm not sure what I'm doing wrong, I've followed all of the demos and still the menu is not properly setting the cookie, which is causing the menu to open incorrectly when the page loads. Please let me know if there is something wrong in my code or if anyone has a suggestion that I can try out that would be great. Thanks for your help. <head> <link rel="stylesheet" href="/mars/css/jquery.treeview.css" /> <link rel="stylesheet" href="/mars/css/screen.css"
[jQuery] jquery i18n : $.i18n is not a function
Hi there, I'm tryin tu usejquery.i18n plugin. In my html i insert these javascript code <script type="text/javascript" src="js/bankone/jquery-1.3.2.min.js"> </ script> <script type="text/javascript" src="js/bankone/jquery.i18n.js"> </ script> <script type="text/javascript" src="js/bankone/i18n_properties.js"></ script> The file i18n_properties.js contain my list of keys/values . jquery.i18n.js come from http://code.google.com/p/jquery-utils/source/browse/trunk/src/jquery.i18n.js After that i write
[jQuery] How to target change css attribute of P tag when hovering over parent div
I have the following code $('.box').hover( function(){ $(this).css('background-color','#6bc6f2'); $("p").css ('color','#fff') }, function(){ $(this).css('background-color','#fbf9f9'); $("p").css ('color','#000') } ); I have the .box class applied to a div basically I what to hover over the div change the background color of the div and at the same time change the text color of any text wrapped in p tags. I am getting close but with this code every instance of the p tag gets swapped out I need to
[jQuery] jquery json make html table
I have a table that i need to build from a json file. Here is both the json file and the table's html. See the main goal is either get the jquery to update the table output every 15 to 20second or just update the table fields every 20 seconds, it doesn't need to update the icon, host but it does need to update cur, rps and the blank field with the scoreboard data, it would be a plus if I could tell it how many servers and have it out the table, but i figured I would start with the basics of just
[jQuery] Search Functionality in DataGrid
Hi Folks, I want search functionality in the grid..i found one link but it is in php...but i donno php :-( i want it in jsp.. Here is the link: http://trirand.com/jqgrid/jqgrid.html#. in this there is a take any exampel which contains search records..it is really very nice. please sort out my problem.. one more link i got for grid but it does nt have the functionality of searching another link:http://tablesorter.com/docs/index.html#Examples can anybody help me in this. Regards, Bharath
[jQuery] error jquery-1.3.2.js(line 3633)
I have 3 drop down menu's where is post the value's bij a button.click (see code below). But when i push the button i see an error in fire bug "POST" http://localhost/agenda nieuw/handler.php 67ms jquery-1.3.2.js(line 3633)" I looked online for awnsers but couldn't find any. Maybe you guys can help me. Here is my js code. <script type="text/javascript" src="jquery-1.3.2.js"></ script> <script type="text/ javascript"> $(document).ready(function() { $("button").click(function() { $.post('handler.php',
[jQuery] Need Help in Table Filter
Hi Friend, I am trying the table filter ..i found one excellent link: <a href="http://ideamill.synaptrixgroup.com/jquery/tablefilter/tabletest.htm">http://ideamill.synaptrixgroup.com/jquery/tablefilter/tabletest.htm</a> i tried it worked great for me But when i tried with database connection,i have an issue with the search, if the table column contains any string varchar it is giving drop down.i am confused!!! can you please help me in this. Please check the url: <a href="http://img6.imageshack.us/img6/3341/tablexek.jpg">http://img6.imageshack.us/img6/3341/tablexek.jpg</a>
[jQuery] Superfish - Menu put in Master page (asp.net MVC) doesn't behave ok in content pages
Hi I am using SuperFish menu plugin to create menu system for my web. It works ok on my home page but doesn't seem to be ok with other pages. The problem is that I can't see "Arrow" in other pages. Then I tried calling it in specific page using same code as master page (like below) then it works. But I need to refer the script again in my content page in addition to master page otherwise it gives error saying "$('ul.sf-menu').superfish()" is not defined function. <script type="text/javascript" src="<%=Url.Content("~/Content/webui/
[jQuery] Tutorial evaluation
Hi, I have just finished a beginner's interactive tutorial about jQuery for my colleagues, and I wonder if anyone could give any feedback on it - it's my very first training material. http://babna.eu/jQuery/ Thanks! Thomas
How to target a P tag in a div on mouseover
I have the following code $('.box').hover( function(){ $(this).css('background-color','#6bc6f2'); $("p").css('color','#fff') }, function(){ $(this).css('background-color','#fbf9f9'); $("p").css('color','#000') } ); I have the .box class applied to a div basically I what to hover over the div change the background color of the div and at the same time change the text color of any text wrapped in p tags. I am getting close but with this code every instance of the p tag gets swapped out I need to know
[jQuery] [validation] Remote rule, show loading symbol
Hi, I am using a remote rule & an external file to check in a form that a username is available. I am trying to show a loading symbol (or a message that says "checking your username is available" ) while the ajax query is running. Does anyone here know how to do this? Thanks!
[jQuery] [autocomplete] Adding custom data retrieval function
It would be nice if the autocomplete plugin accepted a function that retrieved the data on behalf of the plugin instead of being stuck with either static data or a relatively inflexible canned ajax request. $("#example").autocomplete(function (term, success, failure) { /* do custom method for retrieving data */ }); This seems like it would be fairly easy to do. Simply making the request function an option would probably suffice. I will probably hack this up this afternoon and have a patch for it
[jQuery] Click on anchor, wait 1/2 second, then scroll to matched ID
Hi I am trying to create a nice little effect with an unordered list with anchors to a definition list with matching ID's on each <dt>. When a link in the <ul> is clicked, I want to delay the scroll for half a second, and then scroll down to the right spot. Here is what i have written so far: JavaScript: $('ul li a').click(function() { $('li').removeClass('selected'); $(this).parent('li').addClass('selected'); $(this).animate({ opacity: '1' }, 500, function() { var jump
[jQuery] jQueryUI droppable "drop" function firing on "over" only if i have on my draggable a "connectToSortable" option set
Hello guys hope anybody can help me with this little bug. You can see the code on http://designvictim.com/jqueryui/index.html If you want to download a .zip with the files its here: http://designvictim.com/jqueryui/source.zip Now here is my problem: I'm trying to make something similar to the widget drag and drop from Wordpress. I've gotten pretty close to what we wanted to accomplish but we wanted to be able to when you drag a item out of the "Drop Area's" and drop it outside then it would erase
[jQuery] Javascript: Send / Pass value of child window to parent window
Hi All I have found nice article for Send / Pass value of child window to parent window http://hspinfo.wordpress.com/2008/01/17/javascript-send-pass-value-of-child-window-to-parent-window/ Regards Ranga
[jQuery] Javascript: Send / Pass value of child window to parent window
Hi All I have found nice article for Send / Pass value of child window to parent window . <a href="http://hspinfo.wordpress.com/2008/01/17/javascript-send-pass-value-of-child-window-to-parent-window/">http://hspinfo.wordpress.com/2008/01/17/javascript-send-pass-value-of-child-window-to-parent-window/</a> Regards Ranga
[jQuery] jQuery UI Ajax tabs: content not refreshing in IE6 - cache problem?
I am using the Ajax method to load tabs using jQueryUI's tab functionality. these work fine in all browsers except IE6, where once an Ajax tab has been loaded (the tab links to a Django .html template file) it WILL NOT reload unless you clear out IE6's cache totally. this is particularly problematic for me because the tabs are loading different parts of our site's messaging system, so it makes it impossible to see new messages when they arrive. I'm loading tabs using the simple $(selector).tabs();
[jQuery] jQuery progress bar
Hi, I am using jQuery progress bar, it is working fine. i want to blur(non function) background actions, please suggest me how to do this. Thanks, Haranal.
[jQuery] JQuery Dynamic Validations issue.
Hi, I am using the JQuery validation plug in for form validations. My page contains a loop in which dynamic forms are generated and within each form some text fields are also dynamically generated. I have assigned the id and name attributes both to form and fields with dynamically appending a value. Now I want to apply the validation on all these form, please note that each form contains its own submit button. I have tried using the following selector, $('[class^="commForm"]').validate(); // I assigned
[jQuery] how to change 2,5 to 2,50 ?
hi, thats my code: endpreis =Math.round(endpreis*100)/100; to round the price of something but i'd like to have 2,00 or 2,50 instead of 2 and 2,5. i'd be happy about any help. --weidc
[jQuery] Caching nodes
Hi there, I'm developing a site that has some js visual effects and many graphic elements to move. So I have to take care of each single query on the DOM as it could take too much time to be executed, resulting in a flicking animation. I thought I could cache in memory a node and then querying it, but I can't understand if it made much sense. Something like: var list = $("ul.list"); and then executing any query in ul.list in this way: $(list).find("li.selected").addClass("blah"); instead of: $("ul.list
[jQuery] getScript problem with ie6
Hi I download asynchronously a js with: $.getScript( mapScript, function(){ initMap(); } ); mapScript is a string that contains the microsoft virtual earth scripts. initMap display the map using the objects defined in mapScript. It works fine in all browsers: when mapScript is downloaded, the function initMap display correctly the map. Only in IE6, there is a problem: if during the download of the script mapScript no others events (for example a window.print())
Accordion style list
I've been searching all around, but I'm not sure what this type of list is called, so if someone can point me in the right direction, I'd really appreciate it. I'm trying to create an accordion style list, but I need to have multiple elements open at the same time. So I've written the code, and it works fine, but I want to add a right facing triangle at the start of the header, and when clicked, I want it to change to a down facing triangle and show the content. I'm trying to change the class of
[jQuery] $.data question
Hi<div> </div><div>Sorry if its already been asked</div><div> </div><div>when i used $.data and pass in ''(empty string), it return me 7. no matter what i have put for ''.</div><div>when i looked at the code i believe 7 was just a generated id from jQuery. and the reason why it always return the id is because of </div> <div>// Return the named cache data, or the ID for the element</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>return name ?</div><div><span class="Apple-tab-span"
[jQuery] Ajax call modifying returned html
Hello all, I have a problem with returning html data from an ajax request. I have php method which is called via ajax and returns a long html string which consists of multiple tables, each table represents one question in a questionnaire. They display fine. I then have a button which calls a second php method that returns one individual table - identical in structure to the multiple tables that were returned previously. However,when displayed,the new table has the an inline style "display:block;"
Sortable
Hi, I'm using sortable and must get the id of the element being moved. Somebody help me? My code: $(function() { $("#sortable").sortable(); $("#sortable").disableSelection(); }); <div class="demo"> <ul id="sortable"> <li class="ui-state-default" id="item_1">Item 1</li> <li class="ui-state-default" id="item_2">Item 2</li> <li class="ui-state-default" id="item_3">Item 3</li> <li class="ui-state-default" id="item_4">Item 4</li> <li class="ui-state-default" id="item_5">Item 5</li> <li class="ui-state-default"
[jQuery] documentation system for jquery
Hi all, I wanted to ask which system you use to produce the jquery documentation (core and plugins). Thanks, David
[jQuery] How long does it take to download jquery?
Simple question, and I know the answer is not simple. How long does it take to download jquery? Does anyone have any numbers that would shed some light on this? I know that there are many variables, but does anyone have any numbers reflecting how long it would take, for example, the 85th percentile or something like that? Or have a reasonably informed guess? Thanks -Geoff
[jQuery] jQuery - Ajax and Load question
Hello, I have a function that have this: $.ajax({ type: 'GET', url: 'index.php', data: 'id=' + productId + '&qtd=' + quantidade }); This piece of code is working great, but i need to know how to get the response from the specified url, for example, the response from index.php is two, i need to get that to place it inside a div, i know with load i can do that, but i want to be able to send in the response an array with some data. Hope
Next Page