Hi,
How can I change this to my code runs faster?
I don't think, that you should change jQuery here.
As much as I understand it, that function is called whenever you use a more
complex expression than just an ID, a tag name or a classname.
1. Try to give your input-Elements IDs and use
Christof Donat schrieb:
$('#dadosAuxiliares').tabs( {fxShow: {height: 'show', opacity: 'show'},
tabStruct:'.fragment'});
$('#dadosAuxiliares').triggerTab(0);
can be
$('#dadosAuxiliares').tabs( {
fxShow: {height: 'show', opacity: 'show'},
tabStruct:'.fragment'}
Hi,
thanks for your help.
The radio buttons code is ok (I've used form plugin).
I've found the problem. It was in the php page called by the ajax
script. I've searched the problem in the wrong place! sorry :-)
Thanks
On Apr 22, 12:27 am, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
Let's take the code apart
I was trying to understant how can use it for my porpupose but I
didn't get any solution
My problem is :
- I have a main page which contains a iframe
- That main page contain some buttons. Each button should load a html
page into the iframe.
In order to load the html page i would like to
Hi, how do I go about specifying the user agent when I'm using ajax in
jQuery?
I've tried
$.get(test.html,
{ data: 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:
1.8.1.3) Gecko/20070309 Firefox/2.0.0.3' },
function(data){
$('#testDiv').append(data);
}
);
and
how about this:
WHEN THE USER FIRST LOGS IN:
cfset Session.isJSEnabled = 'no' // assume false for now
JAVASCRIPT ON PAGE:
---
var myUrl = 'http://myhost.com/someCFMfile.cfm'; // some URL pointing to the
page as defined below
Thanks Chirstof and Klaus. Great suggestions! ;-)
I'll try right now.
Thanks again.
2007/4/22, Klaus Hartl [EMAIL PROTECTED]:
Christof Donat schrieb:
$('#dadosAuxiliares').tabs( {fxShow: {height: 'show', opacity: 'show'},
tabStruct:'.fragment'});
Thanks for creating the ticket...
Michael
On 4/20/07, Brandon Aaron [EMAIL PROTECTED] wrote:
Michael,
I went ahead and created a ticket for this so that it doesn't get lost
in the archives.
http://dev.jquery.com/ticket/1136
--
Brandon Aaron
On 4/20/07, Michael Schwarz [EMAIL PROTECTED]
I ran into this issue as well today. The version 1.2 of Interface now
uses the getPosition() instead of the getPositionLite() for
calculating the position. The following code changes to the iutils.js
fixes issues if you're dragging from an element with a position of
fixed.
Thanks to bander for
Hi, I've an input field (calendar date) that perform actions
(validation) after an input. It works if the user enters the date
directly but the use of the calendar popup (by js) doesn't provoke an
action.
You'll need to invoke that validation programmatically when the pop-up
updates the input
Yansky,
Hi, how do I go about specifying the user agent when I'm using ajax in
jQuery?
What are you trying to do exactly? The user agent is passed in during a XHR
request--just like a normal HTTP call.
Also, the navigator.userAgent is available to the core template (and
wouldn't change via an
If you're just trying to load a full HTML page into the frame, use
top.framename.location.href = the url to your file. Using ajax doesn't
make much sense in that application. If you want to load content into a div
in the iframe, however, you can use frameReady to do that.
If the iframe is
beforeSend:function(req){req.setRequestHeader
(User-Agent,pokemon)},
inside a $.ajax call sets my user-agent to pokemon. (tested in firefox2)
On 4/22/07, Yansky [EMAIL PROTECTED] wrote:
Hi, how do I go about specifying the user agent when I'm using ajax in
jQuery?
I've tried
Hi, I've an input field (calendar date) that perform actions
(validation) after an input. It works if the user enters the date
directly but the use of the calendar popup (by js) doesn't provoke an
action.
Why?
Thanks for your help.
If you're just trying to load a full HTML page into the frame, use
top.framename.location.href = the url to your file. Using ajax doesn't
make much sense in that application.
I couldn't agree more. I think sometimes people get so caught up in the
phrase AJAX that they forget about existing
Thanks for the tip, Ariel.. I'll give that try!
Rick
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ariel Jakobovits
Sent: Sunday, April 22, 2007 8:18 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Best way to determine if a user has
I had to do some customizing of the Interface code and in the process of
re-packing the source code with Dean Edwards latest Packer code, I came
across a problem in the accordion.js code.
When packing the code the el.accordionCfg.currentPanel is undefined when
first initialized. The problem
Basically, you fire off a message to the server saying that yes JS is
enabled. Update the session, and use that from then on in your code.
I am thinking of forking my application in one area where I want to handle
things very differently depending on if someone has javascript enabled, and
Josh,
I am thinking of forking my application in one area where I want to handle
things very differently depending on if someone has javascript enabled, and
this is the method I think would work best.
The only possible downside would be if someone disables javascript in the
middle of their
Hi Dan, and how can I do this?
On 22 Apr., 18:33, Dan G. Switzer, II [EMAIL PROTECTED]
wrote:
Hi, I've an input field (calendar date) that perform actions
(validation) after an input. It works if the user enters the date
directly but the use of the calendar popup (by js) doesn't provoke an
Hi Dan, and how can I do this?
You'll need to look in to the code for your pop-up date picker. Hopefully
they provide some event you can use to do this, otherwise you'll need to
modify the source.
-Dan
I have a problem or say a question that often bother me.
Say I use a function to animate certain elements with default
parameters. At some point I inject some parameter values other than
default. Now what happens is that the animations gets added to the one
started before on the same elements by
I don't use the according plugin but I do put all my jQuery and jQuery
plugins in one file and repack them. So thanks for the info...
On Apr 22, 5:53 pm, Dan G. Switzer, II [EMAIL PROTECTED]
wrote:
I had to do some customizing of the Interface code and in the process of
re-packing the source
It's never a good idea to mess around with the plugin source because
it makes it difficult to upgrade when new versions come out. For that
reason I do not recommend you modify the datePicker source.
On way to achieve what you want without modifying datePicker is to
attach an event to the cells
I made a mistake in the first function (extra bracket after the options...).
Sorry about that - I was running out the door when I posted it. It should
read:
$(document).ready(function(){
// Bind a function to the button in the document that contains the
iframe
I know what you're trying to say but I can't re-created it on the URL
you provided. I don't know where I should be clicking. The animations
I tried seemed fine...
On Apr 22, 8:14 pm, joomlafreak [EMAIL PROTECTED] wrote:
I have a problem or say a question that often bother me.
Say I use a
Dan G. Switzer, II schrieb:
meta http-equiv=refresh content=2;url=page.htm?js=false
script type=text/javascript
self.location = page.htm?js=true;
/script
In this example if JS is enabled, the JS code would be executed redirecting
the user to page w/a URL parameter indicating that JS was
Klaus Hartl schrieb:
Dan G. Switzer, II schrieb:
meta http-equiv=refresh content=2;url=page.htm?js=false
script type=text/javascript
self.location = page.htm?js=true;
/script
In this example if JS is enabled, the JS code would be executed
redirecting
the user to page w/a URL parameter
Hi
the tabs numbered as tab1,tab2 have numbers at the bottom like
1,2,3,4 .
If you click on these numbers it loads the content by different
parameters being passed on the same function.
it takes a few seconds (settimeout) to show the mess.
Would you please care to look at the link again.
Rather then manually starting up the control panel by defining each
individual item...
$.jVariation({...});
it would be nicer to simple say...
$('#tests').jVariation({ /* settings here */});
...where jVariation would automatically take (say), every div within
#tests and create the controls for
On 17 Apr., 00:06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
wyo schrieb: On 15 Apr., 18:27, Brian Cherne [EMAIL PROTECTED] wrote:
.hover is this a jQuery function? Where is it described?
Now I see it... Damn! That's not nice! lol
From what I can see after inspecting your code, this is a problem with
the innerFade plugin. I think you should contact the author...
// Autor: Torsten Baldes
// Mail: [EMAIL PROTECTED]
...and ask him to have a look.
Meanwhile, you could try a
Thank you very much for your reply.
I will contact the author.
BTW, as you said, which other plugin can let me do the same thing.
I searched and found this one but I don't remember if there is some
other that would let me do the same thing.
Thanks again
On Apr 22, 3:59 pm, Diego A. [EMAIL
Andy Matthews schrieb:
Simple way to do it might be to use javascript itself to do a forward or
something like that. I've seen people set up a meta refresh of 5 seconds in
the header, then use javascript to do a location.href as soon as the page
loads. If they have js, they get redirected
Web Specialist schrieb:
Thanks Christof and Klaus. After change my code(using your suggestions)
I have improvements:
isXMLDoc 14285 16.33% 765.625ms 765.625ms 0.054ms 0ms 15.625ms jquery.js
(line 298)
merge 529 15% 703.125ms 765.625ms 1.447ms 0ms
46.875ms
I'm using the simple static method to display a carousel. My page is
generated from PHP (as a widget for vBulletin).
Everything works fine, except that during page loading, the original vanilla
UL (with all the thumbnails) appears on the page until all thumbs have been
loaded, before
Christof Donat schrieb:
Hi,
How can I change this to my code runs faster?
I don't think, that you should change jQuery here.
As much as I understand it, that function is called whenever you use a more
complex expression than just an ID, a tag name or a classname.
1. Try to give your
Hugh,
I'm using the simple static method to display a carousel. My page is
generated from PHP (as a widget for vBulletin).
Everything works fine, except that during page loading, the original
vanilla
UL (with all the thumbnails) appears on the page until all thumbs have been
loaded, before
I am SUCH a dumb*ss!
For the sake of anyone else googling around for this problem ... you
probably changed your UL id from 'carousel' to 'something_else', but spaced
on this section at the head of the CSS:
/**
* Since the content is loaded via javascript, we set
* display:none to hide the
Would you guys share the way you combine the different libs, and any other
wisdom you can shed.
My first try failed, with an error message that jquery wasn't defined. Do I
have to cat all my srcs along with jquery.js to do a packer??
On 4/22/07, Diego A. [EMAIL PROTECTED] wrote:
I don't use
Hello? Anyone?
On 4/21/07, John C. Bland II [EMAIL PROTECTED] wrote:
Ok...this one is dumb but it is happening and I can't see where/why.
Same exact code is copied/pasted then tweaked slightly. The tweak is
merely a change of which container ID to target and the css classes for
respective
Hi all,
Quick question.regarding jquery. I want to create a transition out,
whenever anyone clicks on a link on a page, so ned to capture the
href, show the transition then go to that page.
I've seen some methods of delaying using fake transitions and also
setTimeout, but despite searching
John,
Hello? Anyone?
Your description w/out code to reference is pretty vague. I would guess
you'd get more help if you provide a link to the page that's causing the
problem--or an example of the problem.
-Dan
On 4/21/07, John C. Bland II [EMAIL PROTECTED] wrote:
Ok...this one is dumb
John,
I've been trying to figure out why interface is jacking up my
layouts
every time I do a sort by tweaking my code, css, etc. After wasting a ton
of time I saw the link for the source code in interface and looked through
isortable.js.
Lo and behold: shs.display = 'block';
You
Jake,
Would you guys share the way you combine the different libs, and any other
wisdom you can shed.
My first try failed, with an error message that jquery wasn't defined. Do I
have to cat all my srcs along with jquery.js to do a packer??
It can be a lot of trial and error at times. However,
I don't know of one but I'm sure you'll find something:
http://www.google.co.uk/search?sourceid=navclient-ffie=UTF-8rls=GGGL,GGGL:2006-14,GGGL:enq=jquery+ticker
http://jquery.com/plugins/
On Apr 22, 9:02 pm, joomlafreak [EMAIL PROTECTED] wrote:
Thank you very much for your reply.
I will
Hi folks,
Just a quick note that I've made some significant improvements to the
CFJS for jQuery plug-in. Most noticeably is the inclusion of all but
one of the ColdFusion List functions. I've left out ListQualify()
because in the context of JavaScript it didn't seem particularly
useful to me. If
Does anyone know if you can request a feature for GoogleGroups?
Just in case someone from Google is monitoring (... they *do* do that
don't they?) here's my request:
I've got a request for the web based interface. I'd like to see a
method of adding code windows. Not unlike those in BlogCFC or
Hi
when you open the google calendar, the table scroll automatic and show
since 8.00 hours forward,
i've used scrollabletable.js to do my grid with days and hours
scrollabe , but i don't find something in jquery to do scroll the
tbody in the table.
thanks
is it possible to have the url and the data come from the link href
using the ajax funtions in jquery?
try this!
$.ajaxSetup({beforeSend:function(req){req.setRequestHeader
(User-Agent,pokemon)}})
On 4/22/07, Yansky [EMAIL PROTECTED] wrote:
Hmm, I thought I responded earlier but it seems google groups didn't
get my message. Apologies if I'm double posting.
On Apr 23, 12:48 am, Dan G.
I want to overload some core jQuery method, e.g. trim() method
any codes sample or recommendation to do this?
thanks.
Hi guys,
i have a problem about DOM i hope some one can help me.
problem;
I get a xml file and manipulate it with javascript. As below I want to
get the html text in the x tag as html. however, with i javascipt i
can only read child by child but this is a problem because when the
html text is
I wish I could show the page but I can't (it is a cms that is protected).
Here is the code:
This one reverts.
// drag and drop content items in content_right
$(#contentSortContainerLeft).Sortable({
accept: 'entry-block',
activeclass: 'sortableactive',
hoverclass: 'sortablehover',
I've been using some code I threw together, does it work for you?
$.fn.xml = function () {return $.xml(this[0])}
$.xml = function(xml) { // dump the xml back to html text
if (!xml) return
var res =
var tag = xml.nodeName
var showTheTag = tag.charAt(0) != #
if (showTheTag) res +=
Thanks Man!
This is exactly why I want. I wonder why they do not manipulate this
function to the JQuery's .html() function for xml documents ?
anyway thanks alot for this sweet script :)
On Apr 23, 7:21 am, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
I've been using some code I threw together, does it work
It's a little part of a current project. lots of xml ajax! I needed html
out of xml too! so I threw it together... It hasn't been optimized but it
works for me.
If you make it better, re-post it!
I assumed that few people would need it, glad it's found another use.
On 4/22/07, dropx [EMAIL
I use the error callback, but it doesn't get called back when the xml is
malformed.
Do I need to use the complete callback??
--
Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
58 matches
Mail list logo