[jQuery] How can I create a (style) .class dynamically?
I'm working on a plugin that allows a user to specify style classes to be applied to an element before and after an action is complete. I need to set defaults, though. How can I create these classes dynamically without assuming there is an existing stylesheet or style block in the document? -- View this message in context: http://www.nabble.com/How-can-I-create-a-%28style%29-.class-dynamically--tf3276875.html#a9113019 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________
[jQuery] Best way to do AJAX... CF or jQuery?
It's all good. Credit where credit is due my friend. ____________________________________ Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 amatthews@dealerskins.com www.dealerskins.com -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Rey Bango Sent: Friday, February 23, 2007 9:26 AM To: jQuery Discussion. Subject: Re: [jQuery] Best way to do AJAX... CF or jQuery? For some reason I
[jQuery] Best way to do AJAX... CF or jQuery?
Yep, then pointing to a CFM page is your best bet. Just link to a CFM page, cfoutput all of the required data and go from there. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Rick Faircloth Sent: Friday, February 23, 2007 9:10 AM To: 'jQuery Discussion.' Subject: Re: [jQuery] Best way to do AJAX... CF or jQuery? Rey... I'm afraid the "quickstart" tutorial you pointed me to won't be of any help right now...I'm still using CF 4.5, so CFC's
[jQuery] dimensions.js lesson needed
I've got a basic layout that looks like this: <div id="wrapper> <div id="top"></div> <div id="container> <div id="leftPane"></div> <div id="rightPane"></div> </div> </div> All divs are flexible in height and width depending on the viewport, except #leftPane, which has a fixed width. I want to set: #container width to be equal to viewport width #container height to be equal to (viewport height - #top height) #leftPane height to be equal to #container height #rightPane height to be equal to #container
[jQuery] Reference to the last DIV in a group?
Hello, I have a main div, with id= "todoList", and within it, a number of DIVs, all with classes "sidebarToDo". Let's say I have just added a DIV to the DOM ... $('#todoList').append('<div class="sidebarToDo" width="100%">Hello</div>'); How do I now get a reference to this last DIV with class "sidebarToDo"? Notice it doesn't have an ID, but it is the last one in the master todoList DIV. Thanks so much. This discussion group is excellent. - Dave _______________________________________________ jQuery
[jQuery] Best way to do AJAX... CF or jQuery?
Oh no...that wasn't me Rey, just to be fair. I can't recall who did it, but it wasn't me. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Rey Bango Sent: Thursday, February 22, 2007 10:38 PM To: jQuery Discussion. Subject: Re: [jQuery] Best way to do AJAX... CF or jQuery? Rick, Andy Matthews came up with a nice intro which you can find here: http://www.365labs.net/cf_jquery/jquery_coldfusion_quickstart.htm Take a peak at that to see if
[jQuery] Dynamicly adding tabs?
Hi there, Is it perhaps possible to add tabs to the tab plugin dynamicly? If so, that would be a really usefull feature. What do you think? aint it a good idea? /Mikael. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Best way to do AJAX... CF or jQuery?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = "urn:schemas-microsoft-com:vml" xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:w = "urn:schemas-microsoft-com:office:word" xmlns:st1 = "urn:schemas-microsoft-com:office:smarttags" xmlns:ns0 = "http://schemas.microsoft.com/office/2004/12/omml"><HEAD><TITLE>Best way to do AJAX... CF or jQuery?</TITLE> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META
[jQuery] Release: jQueryHelp - code reference application
Will this automatically load in updates when new versions are released? -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Sean O Sent: Thursday, February 22, 2007 2:03 PM To: discuss@jquery.com Subject: Re: [jQuery] Release: jQueryHelp - code reference application John, Thanks for the kind words. Attaboys right back at you for the collaboration w/Jack & Ext. I hope you can better jQuerize those lovely-to-use, but byzantine-to-code Ext libraries!
[jQuery] Reference to newly inserted item?
Hi, If I have $(this).parents("div.sidebarToDo").find("td.sidebarText").empty().append('<input type="text" value="" size="10" class="editableItem">'); What is the best way to get a reference to the newly created text field? Note that it does not have an ID and I would prefer a more generic way of finding it other than "input.editableItem" because on PC IE 6, if I insert multiple text fields, like the above, this call ... $(this).parents("div.sidebarToDo").find("input.editableTDItem"); only returns
[jQuery] Calendar with ajax w/o refresh whole page question
<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>here is what im doing <a href="http://www.belarsoluciones.com.ar/calendar/">http://www.belarsoluciones.com.ar/calendar/</a> if any1 want to see the calendar.php can download at <a href="http://www.belarsoluciones.com.ar/calendar/calendar.txt">http://www.belarsoluciones.com.ar/calendar/calendar.txt</a> ----- Original Message ----- From:
[jQuery] non AJAX request
This is a little strange, but I want to do a non AJAX request. I thought it might be a synchronous request, instead of asynchronous, but that didn't work. This is what I tried: function compDetail(compid) { ajaxOptions = { async: false, type: "get", url: "compdetail.php", data: "compid=" + compid }; $.ajax(ajaxOptions); } I have this called from an onclick in a <tr> tag. I want it to go to a new page (compdetail.php), not just return the information. Guess I'm forgetting the meaning of a/synchronous.
[jQuery] Thickbox and FF Mac
I've got a site which uses a Thickbox gallery at: http://www.dnesd.com The pictures down the right hand side link to a Thickbox gallery. It all works fine, except for in Firefox Mac (2.0.0.1), where for some reason the background doesn't cover the whole window. For those who don't have a Mac, this is what it looks like: http://sebduggan.com/testing/dnesd_ffmac.png Anyone have any ideas why this is happening? Seb _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] jQuery GreaseMonkey-detection script modified (no remote calls)
Greetings all, I have modified the neat GreaseMonkey script by Paul Bakaus. I have removed the 2 remote calls made by the original script; one was for the the actual jQuery detection, and the other was for the jQuery icon. <a href="http://kenman.net/jQuery/jquerydetector_local.user.js">http://kenman.net/jQuery/jquerydetector_local.user.js</a> Let me know if anyone has any problems running it, so far it seems to work fine. _______________________________________________ jQuery mailing list discuss@jquery.com
[jQuery] Best way to do AJAX... CF or jQuery?
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40" xmlns:ns0="http://schemas.microsoft.com/office/2004/12/omml"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);}
[jQuery] Flickering problem with Interface Slide in FF2
Hi everyone, I am trying to get an image to slide out and then back in again. Eventually, I will be displaying a new image with each rotation of the slider. Unfortunately, there seems to be an issue in Firefox 2 were the image is briefly displayed before it slides back in. This shows up as a quick flicker. I know there have been a few posts with similar problems... I was just wondering if anyone found a solution. Perhaps I am just going about it the wrong way. Here is an example: http://www.xrag.com/testing/animate/
[jQuery] Text looks choppy in IE7 with Opacity
Hey all, Have a buddy of mine thats having an issue and he asked if I can help. Here's what he said: "Only problem I have had with jQuery is regarding opacity changes with the hide/show effects in IE7 with cleartype in XP. It makes the text look choppy after any sort of opacity change on the parent element. Have tryed to find a solution but with no success." You can see it here: http://down2night.com/seattle Just click on the "What's Down?" button to show the slider results. When you swap between
[jQuery] jQuery Document in PDF Format
Hey guys, For all of those that would like to get a PDF version of the jQuery API, Ben Nadal (ColdFusion guru and recent jQuery convert) has offered one up. Visit his post here to see how he did it: http://www.bennadel.com/blog/544-Printing-The-Entire-jQuery-API-As-A-PDF-Using-CFDocument-And-XML-Parsing-.htm and you can get the PDF here: http://www.bennadel.com/resources/uploads/jquery_documentation.pdf Be sure to give leave him a thank you comment on his blog. Thanks Ben!! Rey... _______________________________________________
[jQuery] Calendar with ajax w/o refresh whole page question
<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div><div><font face="Arial" size="2">I have a calendar that allows me to cross the months and to show the days of such like being used like a "news archive", my problem is to do that the Link to the months and years following and previous must refresh single the calendar and not it whole page, I suppose that i could use ajax.</font></div>
[jQuery] Best way to do AJAX... CF or jQuery?
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <title>Best way to do AJAX... CF or jQuery?</title> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/> <o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
[jQuery] jQuery and Rails
I'm in the process of building what will soon be the first release of jQuery on Rails together with Steven Bristol, who was a winner of Rails Hackfest (which won him a free ticket to RailsConf for his contributions to the Rails core). I had a few questions that I would love if you guys could answer: 1) Are you using Rails? 2) If you're not, would you if it was easier to use jQuery with Rails? 3) Would you prefer an approach that generated JS by writing Ruby helpers that generated jQuery code, or
[jQuery] Flickering problem with Interface Slide in FF2
Hi everyone, I am trying to get an image to slide out and then back in again. Eventually, I will be displaying a new image with each rotation of the slider. Unfortunately, there seems to be an issue in Firefox 2 were the image is briefly displayed before it slides back in. This shows up as a quick flicker. I know there have been a few posts with similar problems... I was just wondering if anyone found a solution. Perhaps I am just going about it the wrong way. Here is an example: <a class="moz-txt-link-freetext"
[jQuery] Reference to the last DIV in a group?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=923075919-22022007><FONT face=Arial color=#0000ff size=2>Indeed...efficiency is ranked near the tippy-top in my book.</FONT></SPAN></DIV><BR> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1> <FONT face=Tahoma size=2><B>From:</B>
[jQuery] Does there a way to set element position like ["myContextEl", "tr", "tl"]
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:宋体; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:"\@宋体"; panose-1:2 1 6 0 3 1 1 1 1 1;} /* Style Definitions
[jQuery] appending text nodes
Thanks. I incorporated your suggestion ... this is where item was coming from var item = $(this).parents("div.sidebarToDo").find("td.sidebarText").text(); Things work great. - Dave > -------Original Message------- > From: Karl Swedberg <karl@englishrules.com> > Subject: Re: [jQuery] appending text nodes > Sent: Feb 22 '07 16:17 > > Hi Dave, > > > Not sure where the "item" variable is coming from, but you can try setting > the variable first with .text() and then just including that variable name
[jQuery] BlockUI like plugin for divs
You're great!!! Thanks ;-)
[jQuery] appending text nodes
> -------Original Message------- > From: Kristinn Sigmundsson <zelexir@gmail.com> > Subject: Re: [jQuery] appending text nodes > Sent: Feb 22 '07 15:42 > > Hm, you empty it and then append to it? wouldn't that be the same as > using .html(val)? If that is what you'd want to do, try the .text() > command: > $(this).parents("div.sidebarToDo").find("td.sidebarText").text(val) > > contents of "td.sidebarText" will be replaced with val > > On 2/22/07, dalvarado@remanresource.com <dalvarado@remanresource.com>
[jQuery] appending text nodes
Hi, I want to append text to a node. I'm using this code $(this).parents("div.sidebarToDo").find("td.sidebarText").empty().append(val); but if the variable "val" contains special characters, like "<td>", that will mess up the rest of my tree. What is the best way to handle this? Thanks, - Dave _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] tabs and onClick callback function
I want to use the clicked, toHide and toShow variables attached to the onClick callback function but I don't know how to access them my code below fails as variables are undefined. $('#container-1').tabs(2, {onClick: function(){alert(clicked+toHide+toShow);}, Matt. -- View this message in context: http://www.nabble.com/tabs-and-onClick-callback-function-tf3273095.html#a9100929 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing
[jQuery] Newbie, xml issue
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-jp"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0"> <TITLE>Newbie, xml issue</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=2 FACE="Arial">Hi everyone,</FONT> </P> <P><FONT SIZE=2 FACE="Arial">I am very new to jquery but I am loving it!</FONT> </P> <P><FONT SIZE=2 FACE="Arial">Im having an issue returning and parsing
[jQuery] input losses styles after append()
Hi All Great forum, very helpfull. I've a simple problem whereby I have a form which highlights all form tags on focus() - no problem here, the problem occurs when a user clicks on the "add new" link to clone the first row and append it to the last spot in the table, this works really well !! BUT !! the form elements lose the highlighting effect, big problem as this affects the accessibility of the page, I can only image that because its a dynamically added block of elements, that its not being read
[jQuery] BlockUI like plugin for divs
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:w = "urn:schemas-microsoft-com:office:word"><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2800.1589" name=GENERATOR> <STYLE>@font-face { font-family: Wingdings; } @page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; } P.MsoNormal { FONT-SIZE: 12pt; MARGIN:
[jQuery] Big problem with FF2, flickering on all animate effect
Hi All, I would like to make a simple animation effect: _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery Powered Sites - Keep the Links Coming
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt;
[jQuery] $.cookie expires problem...Help!
Hi All, $.cookie('my_cookie','',{expires: -1}) doesn't seem to work in FF2.0 and Opera 9 but working well in IE 6/7 browser. May I ask how to ensure that "my_cookie" is assured deleted/removed...thanks in advance. Btw, below is a snippet of code. $(function() { $("#div_logout").click(function() { var cuser = $.cookie('my_cookie'); var lgout_msg = "Logout user " + cuser + " from the system?"; if (confirm(lgout_msg)) { alert(cuser + " was succesfully logged out."); $.cookie('sjo_cookie','',{expires:
[jQuery] Unable to chain Find with multiple classes
Hey all, not sure if this is a bug, but I came across it today: Let's say my document looks like this: <ul> <li>Pick a country <select name="country"> <option value="us">United States</option> <option value="gb">United Kingdom</option> <option value="au">Australia</option> </select> </li> <li class="group us">United States</li> <li class="group us">United States</li> <li class="group gb">United Kingdom</li> <li class="group au">Australia</li>
[jQuery] RTFM
Ive been trying all day to figure out this out: jQuery code: $(".readOnly").hide(); $(".editable").fadeIn("slow"); YUI-ext code: ---still trying to figure it out I read the documentation. (very technical, no examples) I searched the forums. (Couldn't find it) I searched google. (no dice) I posted to the forums. (14 views so far, no replies) I posted to the YUI mailing list. (Nothing yet) I found this Manual and FAQ, for the first time: <a href="http://www.yui-ext.com/manual/faq">http://www.yui-ext.com/manual/faq</a>
[jQuery] zindex issue
Hey guys and gals, I am trying to figure out why the zindex is not working on my app. url: <a href="http://ov-staging.informationexperts.com/d.htm">http://ov-staging.informationexperts.com/d.htm</a> /barebones example url: <a href="http://ov-staging.informationexperts.com/index.htm">http://ov-staging.informationexperts.com/index.htm</a> //actually production site, login then click on the circle x in the first table. the zindex of the modal is 5000, the zindex for the overlay and the activeX fix
[jQuery] Introduction and Masked Input Plugin
Hello everyone. I just wanted to take this opportunity to introduce myself and start giving back to the community. I've been using jQuery for about 6 months now, and in the process I've produced a few plugins. As I clean up the code in these I will be releasing them. The first of which is a masked input plugin for dates,SSNs,phone numbers, etc. I've made the source code and examples for this project available at http://digitalbush.com/projects/masked-input-plugin http://digitalbush.com/projects/masked-input-plugin
[jQuery] specifying count for rss feed display with each function
<div>Sorry all Im still a newb to jquery. Ive been messing around with using jquery for grabbing and displaying rss feed info. A lot less code then using straight javascript. what Im not quite clear on is how you grab a specific count from doing an .each<BR><BR>For example if I grab a feed with the jquery code below</div> <div> </div> <div>// count for lines display<BR>var items_count = 10;</div> <div><BR>// feed location<BR>var feed = my.xml';</div> <div> <BR>// replace url for link<BR>var u = 'http://www.mypage.html?txtSearch='</div>
Next Page