[jQuery] Questions about $.live, Live Query and performance
$.live and Live Query are both wonderful. I am hoping to put them to extensive use in my projects. I have a few questions about $.live and Live Query and their effect on performance. Background: If I recall correctly, the original release of Live Query could have some performance problems. I don't remember if things bogged down when the DOM had a lot of elements, when you added a large number of Live Query events, did a lot of updating or exactly what. Question 1: What were the specific concerns
Get html between to div
I have a xml file with html tags I must filter a piece of the html code. <SPAN></SPAN></DIV></DIV><DIV id="editlink"></DIV><!-- /robots:noindex --></DIV><div id="content"><DIV id="column-1-of-2"><A name="comp000045e84ebf0000000f3f2c3d"><SPAN></SPAN></A><DIV class="picture-component"> <h3>Afwezigheid</h3> <DIV class="body"> <P></P> <UL> <LI>??????</LI> </UL> </DIV></DIV><DIV class="component-spacing"><SPAN></SPAN></DIV></DIV><div id="column-2-of-2"> before and after this code is more html code.
Change TinyMCE width with jquery
Hi guys! Looks like I am stuck with jQuery + TinyMCE. Since TinyMCE offers only paid support I will try to find help on this forum. I have several page templates and I want TinyMCE to reflect users choice. When user creates a page in a blog he can choose a template for a page (not for TinyMCE!) - and then accordingly to this template the width of the blog entry will change. Let's say that I have default page template - Large and another one - Small. User selects template from a dropdown list. So
[jQuery] jquery not responding
I am trying to follow the tutorials on http://blog.themeforest.net/tutorials/jquery-for-absolute-beginners-video-series/ but for some reason cannot follow along with the very first tutorial. This is ridiculous. Is there something very simple that I am doing wrong? Here is my html file. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http:// www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <link rel="stylesheet"
[jQuery] jQuery works fine locally but not so great online
Hello, I'm not very experienced with jQuery and I'm trying to use it on a website: www.fallinlovewithphotography.com On my computer (Mac OS X with MAMP) works fine but online the photos I'm trying to slide get resized. Can anybody tell me what i'm doing wrong or what can be the issue? Thank you, Alex -- View this message in context: http://www.nabble.com/jQuery-works-fine-locally-but-not-so-great-online-tp23117127s27240p23117127.html Sent from the jQuery General Discussion mailing list archive at
[jQuery] fadeOut Callback Trigger Count
Callback function of fadeOut effect is executed once for each element animated against. Is it possible to make it executed once after all elements faded?
[jQuery] [Idea] Plugin to work with Nested Sets and AJAX
Hi Developers, I've got a idea for a new Plugin, but I'm not able to develop it by myself. 1. There is a Nested-Set-Table with some Items (id, left, right, name) (http://www.edutech.ch/contribution/nstrees/index.php or http://www.thundernail.de/projekt.php?url_nr=12&submit=one&id=6 or http://www.klempert.de/nested_sets/) 2. There should be a JQuery-Plugin which performs some actions to the tree: Moving, inserting, deleting. (http://www.gosu.pl/MyGosuMenu/demo/ DynamicTree/example2.html) 3. The action
[jQuery] Making a div a parent when clicked, and then making all others children?
Hey Everyone I wonder if someone can help. I have a sliding div that is used a few times on a page, which has the same mark up, but uses .class selectors. When i click on the <a> it makes the hidden part of the div slide down, but at the moment it makes all of them slide on the page, because it is targeting the same class. So what i want to do is have it so only one slides at a time. I have had a look around, but i am new to jQuery, so i am trying to learn as i go along. What i was thinking was that
[jQuery] jQuery formatDate and javascript dateFormat
Is there a specific reason why formatDate patterns does not use the java (or javascript) dateFormat standard? Gets quite messy when you have to translate all dates from standard format to jQuery standards... :S
Exclude sections of document from being selected...
I'm trying to figure how to exclude parts of the document from being selected. Lets say I have this HTML <div id='one'> <input name="op" id="edit-1-1" value="Submit 1-1" class="form-submit" type="submit"> <input name="op" id="edit-1-2" value="Submit 1-2" class="form-submit" type="submit"> </div> <div id='two'> <input name="op" id="edit-2" value="Submit 2-1" class="form-submit" type="submit"> <input name="op" id="edit-2" value="Submit 2-2" class="form-submit" type="submit"> </div> And
[jQuery] Help- jquery Dynamic Image load - dbl click = loads twice
I have cobbled together an image loading script similar to lightbox but loads into a specific div and now overlay. The problem - if you double click or triple click on a thumbnail you get 2 or 3 of the same image loading. Solution - I need something that checks to see if the same image is loading or already loaded and if it is - do nothing. You can see an example here - http://jwillis.net/v2/galleries/landscapes.shtml http://jwillis.net/v2/galleries/landscapes.shtml Any help would be most appreciated!
[jQuery] SuperSelectors - a jQuery plugin that enables full CSS 2.1 selector support (even in IE6)
Hey there- I recently finished up a plugin that I think has the potential to be really useful for folks. It uses jQuery's excellent selector support to work around some of the crummy CSS selector support in legacy browsers. If you've ever had to spend time adding 'class="radio"' to all the radio buttons on your site, this plugin is for you. If you've ever had to add 'class="first"' to an list item because not all of your target browsers support 'li:first', this plugin is for you. If you've ever had
[jQuery] Jquery MVC
Hi I'm trying to use Jquery MVC ( http://jollytoad.googlepages.com/mvcusingjquery). I tried the hello example (http://jollytoad.googlepages.com/mvc- demo.html). it was ok. When I update jquery (in the demo) to jquery 1.3.2. I got this error [Exception... "'Syntax error, unrecognized expression: [@ref]' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no] Line 0 Why expression [@ref] cannot been recognized in
[jQuery] jcarousel lite beforestart improvement
Hi, It would be nice to add the following modification to the jcarousel lite plugin: o.beforeStart.call(this, vis()); -> o.beforeStart.call(this, vis(), to); This way a handler able to update for example an info panel which is related to the next item. Best Regards, Felhő
[jQuery] jQuery introduction script (Alert Message is now showing!)
Hallo Im new to jQuery. I have donwloaded the jquery-1.3.2min file and i have copied that introduction code from the website and saved it in the same directory as the jquery file. When i run the script it seems to be working and when i click on the link it goes to the website, but isnt this script suppose to show an alert message first, before it goes to the website? Please what am i doing wrong? Have a saved it correctly or is the file i donwloaded not valid? Please help. The code follows: <!DOCTYPE
[jQuery] explain the "e" in function
Hi I cant find any generall documentation for the "e" in functions, for exampel: $().click( function(e) { }) Here I can get the position lite this "e.pageY" But what else can I get fron the "e"? Can someone please post a generall explanation on the "e" all the best // johannes -- View this message in context: http://www.nabble.com/explain-the-%22e%22-in-function-tp23132897s27240p23132897.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Superfish Menu
Hi there, Using the following tutorial, I have built a nice superfish navbar style menu http://users.tpg.com.au/j_birch/plugins/superfish/#sample4 However, I am stuck at few CSS customizations. 1. Currently the menu is in its fixed size (width). I want to spread it to 100%. I tried adding width=100% in sf-navbar class and it works fine. 2. But I have just 1 sub-level in the menu i.e. just like how is it in the example above. Both the level bars have their own colors. When they stretch across the
[jQuery] Noob Q's For SlideUp on a Hidden Footer?
I know, noobie here. I'm having trouble getting a slideUp effect to work correctly with a footer. I can easily get a slideDown from the top of the page to work, but when I try and reverse it the div that slides up covers the button. Basically I need to know how to bind/attach the activation button/tab to the div that's sliding up. I know I saw it working somewhere and wish I had saved the link because I could use it right about now. I know this is probably an easy one for anyone else, but I'm admittedly
[jQuery] How to rewrite this in jQuery?
Hi all, I have been trying to find a way to do this in jQuery but am a little stuck. Basically, due to a CMS we use, we can't enter IDs for any elements in the HTML code, but we can add classes and say a rel tag. We are wanting to build a tabbed layout using jQuery, but obviously this would require elements with IDs for a straightforward solution. How can I make jQuery read say this code: <div rel="tab-1"></div> <div rel="tab-2"></div> and replace the 'rel' with 'id' ? Or is this asking too much?
[jQuery] Does jQuery iCalendar plugin work with outlook?
Hello everybody ! Have you ever tried the jQuery iCalendar plugin (http://keith- wood.name/icalendar.html) ? it should be able to add an appointment to your outlook but I couldn't make it work. Even trying their proper example. If anybody has already tested it, I would be pleased to share his knowledge and experience :) Thanks a lot in advance
[jQuery] quick fix
there could be a better solution but I made it using firebug for quick : go to style.css (line 9) edit this rule from : .photo img { padding:16px 0 0 16px; position:relative; } to this one .photo img { padding:16px 0 0 16px; position:relative; height:503px !important; width:754px !important; } have a nice day.
Open a menu in accordion based on value passed to it
Hi All, I am using JQuery accordion to create a menu box , my problem is that say if I have 4 containers (Divs/menu ) and at runtime I want to open one of them depending upon the variable passed. I know using the option "active:2" will open the 2nd container but can anyone please tell me what is the syntax to set it dynamically... thanks in advance
[jQuery] How to run cf regex (or regular regex) on this code?
<div>Normally, when I'm trying to cause a passage of text to respond to line breaks, I use this ColdFusion code:</div> <div> </div> <div>#replace(myText, '#chr(13)#', ' ', 'all')#</div> <div> </div> <div>and that keeps the line breaks intact when the text is output to the screen.</div> <div> </div> <div>But how can I write that code inside this js? Or do I have to do it outside the js?</div> <div>("row[4]" represents the text)</div> <div> </div> <div>out.push('<div id="sectionTextDIV">' + row[4]
[jQuery] hover and/or fadeTo breaking layout in IE 6 and 7
I'm using jquery to add a smooth fade effect when users mouse over a menu item. The site has split navigation, with this effect applied to all menu items on the page. Hovering over the main top navigation works fine, but hovering of menu items in the second and third level split menu (IE 7) causes the content area to shorten by about 50px. In IE 6, the page displays properly until the script is applied, then the content area is automatically shortened by about 50px (before the user hovers over the
[jQuery] get Ajax answer to test it
Hi everyone, I'm getting in trouble with ajax and jquery. Here is what i need: I want to execute a php script to test the value of an input. There is no problem with event and triggering the request. Here is my code : $.ajax({ url: 'emplacements/verifiernumero/numero/'+input.val(), success: function(responseText){ // on success callback alert("on a fait la rek"+$.html(responseText)); }, error: function(responseText){
Need to calculate the no of days between two dates?
I had created a jquery calender by using [url] http://jqueryui.com/demos/datepicker/ [/url] I have some thing like this:: Check in Date :: 21/04/2009 Check out Date :: 25/04/2009 I need to calculate the no of days between two dates? The Result should be something like this :: 4 Could you please help me out of this?
[jQuery] cluetip ajax authentication
Hi there, I've been using cluetip calling an ajax page. The problem I am finding is that the ajax page is part of forms authentication so if this expires and a person hovers over an element to display the cluetip it will try and request the ajax page but come up with NTLM prompt. How can I detect that the ajax page tried to redirect to login page and suppress the NTLM username/password prompt? Regards DotnetShadow
[jQuery] jQuery Cycle plugin - addslide (again)
I read a lot of posts about this issue, but can not find a solution. Also have seen the addSlide examples for the jQuery cycle plugin. I try to add slides to the cycle plugin with AJAX, one slide at a time with the following code. function onBefore(curr, next, opts, fwd) { // on Before arguments: // curr == DOM element for the slide that is currently being displayed // next == DOM element for the slide that is about to be displayed // opts == slideshow options // fwd == true if cycling forward, false
[jQuery] jeditable and event bubbling
I'm sure there's an easy solution to this, but I've spent most of the evening experimenting with it and an obvious means of preventing the default behavior escapes me. Here's the scenario: I have a span embedded in an anchor tag. The content in the span is editable via jeditable. Editing is triggered by an external element (another span). There are several such items in the page in an unordered list. So, something like this in the markup: <ul> <li><a href="somelink1"><span class="editme">Link 1</span></a><span
[jQuery] jquery MVC
Hi all, I'm using jquery MVC (http://jollytoad.googlepages.com/mvcusingjquery) When upgrading to jquery 1.3.2, I got this error [Exception... "'Syntax error, unrecognized expression: [@ref]' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no] My question is " what's wrong with seletor [@ref] in jquery 1.3.2"? Is there another jquery mvc ? Thank in advance, Van
[jQuery] open modal from onClose of previous modal -- problems
I have a case where I wanted to open modal "B" from the onClose handler of modal "A". This works fine, but then the "close" button of modal "B" fails to function properly. However, if in the onClose handler, i simply do a setTimeout(...,0) to delay the re-opening of the modal until immediately after the onClose handler finishes, and everything works fine. Are you aware of this problem/bug/limitation?
[jQuery] Getting started with jQuery
Hello Can somebody maybe please give me a basic code to start testing jQuery, cause the beginners code on this site is not doing anything for me? Thank you
[jQuery] slider issues
Hello, I have a website that has codaslider but it doesn't work, can anyone please help me with figuring out why it doesn't work? Website: [url]http://www.naspos.com/zindex/index.html[/url]
jquery tabs
when i create tabs... all html is larger that what my style sheets define.. how do i stop this?
[jQuery] jquery truncate issue
I am having a small issue using truncate js, it all works fine when the full text is displayed, but when the text is truncated it seem that some html tag are been move out of place in the display. the error can be seen here http://clubheadbangbang.org/ the code: <strong>Rest</strong> are back, anyone who witnessed their previous ......... not to be missed !<br/><br/> <strong>Rest</strong> initially began life in late 2001. seem to display as if it was: Rest a<strong>re b</strong>ack, anyone
[jQuery] [autocomplete] Some Problems
I have some problems about jQuery autoComplete plugin. I use this one: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/. Here are problems: (1) select in IE6. It seems this can be fixed by using bgiframe plugin. Here is the author' optional: bgiframe plugin to fix select- problems in IE, just include to apply to autocomplete. But, it doesn't work properly. At first, it's ok. But scroll the result list, and you will see select on top again. (2) If you drag the scroll bar of result
coda-slider
Hello, I have a website that has codaslider but it doesn't work, can anyone please help me with figuring out why it doesn't work? Website: http://www.naspos.com/zindex/index.html
[jQuery] this.appendChild(E) error
<html> <body> Hello folks, I'm getting an IE-only error (IE6/7) on a page for which I cannot find a solution. IE reports an error (Unexpected call to method or property access) at line 12. The Script Debugger is pointing to "this.appendChild(E) " in jquery (v1.3.2 rev. 6246). The context of the code is below - IE chokes at the line indicated. I have loaded the json field 'doeditor' with nothing and with simple text and the error is still thrown, so I don't believe it is anything in the field per
[jQuery] add href to table row from link inside row
I want to make rows in a table clickable. the row already contains a link in a TD cell which works - however, i've added a hover effect to the table and want to copy the href from the link and add it to the row itself all rows in the table have class .Row to make selection through JQuery easier. I can add href fairly easily to the rows, but i don't understand how to scan the row for a link (there is only one) and copy it to the row's href. HELP
[jQuery] jquery works on evrything but mac->firefox ...?
I am having problems with my jquery under firefox on mac os. i have read some thing about unused js with mac and ie but i dont see what is wrong. one of my problems is a search component i made that submits and loads with jquery ajax. it works fine with eveyrthing but on mac os the results fall to the bottom of the page, the url is here: http://undergroundinnertainment.com/2009/index.php?option=com_usersearch&Itemid=75 another problem i am having under mac os is where i am rebuilding links on a page
Next Page