Recommended reading:
http://www.quirksmode.org/js/iframe.html
I just did a quick/dirty test locally and was able to manipulate the iframe
from the parent document. Using code like:
div id=triggerShow Alert/div
iframe id=myFrame name=myFrame src=page.html/iframe
script type=text/javascript
you have a javascript error in ur page that is causing u the problem...
In the snippet below you have a leading comma after the speed:500. After
removing that it works fine.
$(.imageSlider).jCarouselLite({
btnNext: .imageSlider .next,
btnPrev: .imageSlider .prev,
visible: 1,
speed: 500,
});
This is great... This week, i was going to work on google maps again, and i
was thinking to myself, i should rather write an API simplification plugin
so that i can re-use it again and again... Man, it is as if u read my
mind...
Good job... I will provide feedback, over the next week when i am
On Jul 10, 11:33 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote:
R.RajeshJebaAnbiahwrote:
snip
http://jquery.bassistance.de/tooltip/jquery.tooltip.zip/
jquery.tooltip.css
This file has the style for the demo/site too. I'd rather prefer it
contain only the tooltip related styles and can
I make a website by this way(get data from php+mysql and insert to dom
tree). But I don't konw why sometimes can list data, sometimes it is
nothing, sometimes crashed the browser. Anyone may give me advice?
thanks so mush ! http://www.midsunshine.com
On Jul 11, 8:41 am, Xinhao Zheng [EMAIL
On Jul 14, 9:07 am, Brian Cherne [EMAIL PROTECTED] wrote:
Recommended reading:http://www.quirksmode.org/js/iframe.html
Thank you :). That's very helpful.
Mike,
What I was trying to do was edit the last characer based upon a few
conditions so that a show/hide function would work with and without
javascript.
As well as the errors you spotted, when i was setting the href I was
setting it to #calendar .nav, and not to #calendar #navleft. The
Hi, all!
Code taken from a recent post:
$(#toggle).click(function(){
$(#calendar .arc).toggle();
$(#calendar .arc).Highlight(1000, '#ff9');
...
that made me think: the highlight is useless(?) when the object is
hidden, but of course desired when it is shown. That could
Tane Piper wrote:
Today I am pleased to announce the initial release of my jQuery plugin
- the jQuery Google Map Application.
http://code.google.com/p/gmapp/
What immediately strikes me is that the download is 2.5k, whereas the
download for all of the tooltip implementations i've looked at
$(#toggle).click(function(){
$(#calendar .arg).toggle(
function(){$(this).Highlight(1000,'#ff9');}, // called when shown
function(){...} // called when hidden
); // toggle()
...
} // click()
i believe this could be done without harming backwards-compatibility?
Toggle already uses
On Jul 14, 1:34 pm, Dan G. Switzer, II [EMAIL PROTECTED]
wrote:
Toggle already uses
callbacks:http://docs.jquery.com/Events#toggle.28_even.2C_odd_.29
Doh... i was working from this page:
http://docs.jquery.com/Effects#toggle.28.29
in which the callbacks are not mentioned. Perhaps that page
$(#toggle).click(function(){
$(#calendar .arc).toggle();
$(#calendar .arc).Highlight(1000, '#ff9');
var $this = $(this);
if($this.is ('.show'))
{
$this.removeClass('show');
$this.addClass('hide').empty().append('Show
On Jul 13, 11:20 pm, Ganeshji Marwaha [EMAIL PROTECTED] wrote:
pardon my ignorance... i dont understand the purpose...
The purpose would be to allow easier inclusion of jQ code from server-
side scripts (in this case PHP). As it stands now, to create jQ code
from PHP you either have to import
Doh... i was working from this page:
http://docs.jquery.com/Effects#toggle.28.29
in which the callbacks are not mentioned. Perhaps that page should
link back to the other one in the form of see also...
The default behavior is show/hide. If you use manual callbacks you need to
define the full
On Jul 14, 1:51 pm, Dan G. Switzer, II [EMAIL PROTECTED]
wrote:
The default behavior is show/hide. If you use manual callbacks you need to
define the full behavior, so you'll want to add the show()/hide() calls to
your jQuery chain.
The intention wasn't to define the functions which do the
OK... these are nice. Yet, will this be enough to eliminate the general
use of things like EXT?
* Editable Grid
* Menus
* Layout Elements
Seems they are on the horizon! Good... but will they be as featured? Is
there a standards list of features that will be in these things? The
fact that
You duplicated this message a few times - maybe you missed my last
post in this thread? If for some reason you didn't see it, here it is
again:
Hi, I couldn't see anything wrong with your code so I set up a test
page using your CSS in an effort to see where the problem was.
Yep, that looks like a mistake in the copy editing. We'll make sure
that makes it into the errata list. Thanks for catching that!
Here's the original code; our copy editor changed the variable names
to match the publisher's style guide.
$(document).ready(function() {
function f() {
On Jul 13, 2007, at 20:53 , Stephan Beal wrote:
As i understand it, that code is wrong, as globVar.innerFun2() is not
available to the caller at this point. IMO, to be legal code,
innerFun2() should be replaced with outerFun2().
See: http://javascript.crockford.com/private.html
for why
Hi Joel,
Thanks for your reply and the test page. Way beyond the call of duty and
hugely appreciated!
If, as you say, the css works well even in IE6 then it must be other css
interfering. Now that you've thrown me onto the correct path, I'll
investigate and post back here when I have a
Still nothing. http://thehotcrew.com/acccar/
I made the first and second section identical. The first carousel
(that's shown on load) works fine. The second (collapsed on load)
doesn't show.
On Jul 14, 12:27 am, Ganeshji Marwaha [EMAIL PROTECTED] wrote:
you have a javascript error in ur page
Hi!
I am using jQuery with the autocomplete plugin.
Everything was right, but I had to float the div, which contains all
input components, so the result div of the autocomplete became crazy
about finding its position.
So, I downloaded the Dimensions plugin, and the following is
happening:
In
New wiki page:
http://docs.jquery.com/Frequently_Asked_Questions
Just a few to start with. Please add any questions you've seen come up a
lot.
Going forward, if you see a FAQ come up on the mailing list or in #jquery
and it's not on the page, please add it and then reply to the question with
a
Thanks again, Dan. Where can I see that? In your example (yes) or
the original code (not so yes). Remember, I have literally just
started with JQuery, so what seems obvious to you is not so obvious to
me.
On Jul 13, 8:42 am, Dan G. Switzer, II [EMAIL PROTECTED]
wrote:
As you can see, the
Hi John,
Everything being developed in jQuery UI is being architected with
extensibility in mind. Things such as proper documentation, commented
code, theming, layouts and flexibility are all being considered. Since
this is a project being produced under the auspices of the jQuery team,
Hi Stephan,
I suspect you'll want to roll your own solution, but daemach has put
together a frameReady jQuery plugin to assist in dealing with this
sort of thing:
http://ideamill.synaptrixgroup.com/?p=6
Might be good for some ideas.
Cheers,
--Karl
_
Karl Swedberg
On Jul 14, 2007, at 5:42 AM, R. Rajesh Jeba Anbiah wrote:
Oh, you have a competitor
http://examples.learningjquery.com/62/ now:-)
Competitor only in the friendliest sense of the word. Jörn is my hero!
Besides, I'm sure that the clueTip and the tooltip can coexist
peacefully.
... which
Hi N00bert,
This last reply showed up in my inbox 5 times for some reason. Might
have been something weird with my mail client, but just wanted to let
you know in case the problem was caused by something you might have
done. Worth investigating, in any case. No real harm done, but it's
Thank you, thank you, thank you, Richard! A welcome addition to the
wiki. I'm especially glad to see #2.1 in there, as that question
seems to pop up in the list eight days a week.
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jul 14, 2007, at 11:06
That's wonderful to hear, Stephan! Please keep me posted if you run
into any problems.
Cheers,
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jul 14, 2007, at 12:12 AM, Stephan Beal wrote:
On Jul 13, 5:49 am, Karl Swedberg [EMAIL PROTECTED] wrote:
So, you actually had a couple of issues, which we are fixing one by one i
guess ;-)
Anyways, Changing the order in which the calls are made did the trick for
me...
$(document).ready(function() {
$(.imageSlider).jCarouselLite({
btnNext: .imageSlider .next,
Great, I'm glad you got it working, Steve.
Check out Dan's followup comments for some good ideas on optimizing your
code.
I'd add one more thing to that. I suggest using the $ prefix on variable
names only when you are storing a jQuery object in that variable.
For example:
var $this =
http://dean.edwards.name/packer
The core jquery team and most plugins use this tool to compress js.
-GTG
On 7/14/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I found the BlockUI plugin download here:
http://malsup.com/jquery/block/#download
However, I didn't find a compressed version.
From: Michael Geary
var $navleft = $(#navleft);
$navleft.attr( href, $navleft.attr(href).slice(0,-1) + '0' );
Or even this (which is probably the way I'd code it myself):
var navleft = $(#navleft)[0];
navleft.href = navleft.href.slice(0,-1) + '0';
I may have been a
Thanks for the quick response. Are there ever subtle errors when
compressing? Or should I always see an error in the console if the
packed version has an error?
On Jul 14, 12:57 pm, Ganeshji Marwaha [EMAIL PROTECTED] wrote:
http://dean.edwards.name/packer
The core jquery team and most
Probably, although doing what you're describing would probably be alot
simpler. I dunno, I've never dealt with hcard little too much info
there for my comfort. I need to take a look at hReview.
On Jul 13, 3:45 pm, Tane Piper [EMAIL PROTECTED]
wrote:
Hmm, looking at the code, this could
I've never experienced an error when packing jQuery plugins. I've seen
it occur with other JS scripts and its usually indicated by the calls to
compressed code not working while the same calls to the uncompressed
version working just fine.
Rey...
[EMAIL PROTECTED] wrote:
Thanks for the
If compressing your JS breaks it, try running the code through JSLint
(http://jslint.com). This will detect minor errors that can cause packed
JS to fail while the unpacked version works fine. I had to do this with
the CFJS plug-in, and now I do it to everything I compress.
Hope this helps.
Great guys, thanks for the help!
On Jul 14, 4:40 pm, Christopher Jordan [EMAIL PROTECTED]
wrote:
If compressing your JS breaks it, try running the code through JSLint
(http://jslint.com). This will detect minor errors that can cause packed
JS to fail while the unpacked version works fine. I
Awesome! Thanks Chris! :D
Christopher Jordan wrote:
If compressing your JS breaks it, try running the code through JSLint
(http://jslint.com). This will detect minor errors that can cause packed
JS to fail while the unpacked version works fine. I had to do this with
the CFJS plug-in, and
Added to the FAQ:
http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_compress_by_code.3F
--John
On 7/14/07, Rey Bango [EMAIL PROTECTED] wrote:
Awesome! Thanks Chris! :D
Christopher Jordan wrote:
If compressing your JS breaks it, try running the code through JSLint
Probably a stupid question, but how to retrieves these files by svn ?
Glen Lipka wrote:
Information on the next gen of Interface:
Plugin Home: http://docs.jquery .com/UI http://docs.jquery.com/UI
Discussion board specifically for it: http://groups.google.com/group/
jquery-ui
See http://docs.jquery.com/Downloading_jQuery#Subversion_.28SVN.29
On 7/14/07, Olivier Percebois-Garve [EMAIL PROTECTED] wrote:
Probably a stupid question, but how to retrieves these files by svn ?
Glen Lipka wrote:
Information on the next gen of Interface:
Plugin Home: http://docs.jquery
Full instructions can be found here (just added):
http://docs.jquery.com/UI#Downloading
--John
On 7/14/07, Olivier Percebois-Garve [EMAIL PROTECTED] wrote:
Probably a stupid question, but how to retrieves these files by svn ?
Glen Lipka wrote:
Information on the next gen of Interface:
From: John Resig
Added to the FAQ:
http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_compress_by_code.
3F
I tink you have a code in da doze. Dry sub Codtac:
http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_compress_my_code.
3F
-Mike
On Jul 14, 5:32 pm, Karl Swedberg [EMAIL PROTECTED] wrote:
I suspect you'll want to roll your own solution, but daemach has put
together a frameReady jQuery plugin to assist in dealing with this
sort of thing:
http://ideamill.synaptrixgroup.com/?p=6
Might be good for some ideas.
Using Jörn Zaefferer' AutoCompleter at
http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete
I'm getting an error in the function below. The error is at line 553,
the error is object required, this file is jquery.autocompleter.js.
This is occurring under IE 7 and it happens when I
I know Dean Edward's packer has already been suggested but you can try
my compressor if you'd like:
http://www.scriptingmagic.com/Topics/Compression/JavaScript%20Compressor/
My compressor is slower than packer but the results will be smaller. It
also doesn't have a problem with things like
Wow, so simple. Why didn't I think of that?
Thank you Mr Marwaha for helping.
On Jul 14, 8:16 am, Ganeshji Marwaha [EMAIL PROTECTED] wrote:
So, you actually had a couple of issues, which we are fixing one by one i
guess ;-)
Anyways, Changing the order in which the calls are made did the
Dan,
Please excuse my ignorance on JQuery. From Jorn's sample web page, it
appears that the findValueCallback function is executed when the user
makes a selection from the drop down. So I took an earlier suggestion
you made and tried to combine it with this suggestion of yours to
accomplish
Okay - first of all, thanks for you help guys - got the gears turning
until I figured out how to do it. It's pretty simple actually, and I
figured I'd post it here in case anyone else comes across this
problem:
// Show Form1
$(#Button1).click(
function() {
var $Form2 =
That fixed it!!! Thanks!
On Jul 10, 4:28 pm, Loren Pipes [EMAIL PROTECTED] wrote:
This has to do with the background color of the header div/h1 being
set to white, when I set them to transparent (via dev bar) the corners
look fine.
VP
Hmm. I didn't know about the pause function. I may end up having to go
that route. It's still a little disappointing, though. The logic I
would have preferred is:
if Button1 is clicked
if Form2 is visible
hide it then reveal Form1
else
Reveal Form1
end
end
if
Some folks are lobbying for a pause(ms) method, but it's not in the code
yet.
There's a plugin to do what you want though; if you dig around in the thread
archives for animation pause plugin you can probably find the link for the
plugin.
-- Josh
- Original Message -
From:
Maybe (untested):
$('#myDiv').show();
setTimeout(function() {
$('#myDiv').hide();
}, 5000);
Where 5000 is the duration to show it for, in milliseconds (i.e., 1000
= 1 second). Hope it helps.
--Erik
On 7/14/07, goofy166 [EMAIL PROTECTED] wrote:
I have mastered many of the incredible
Sounds interesting, Aaron, thanks for the pointer.
Two questions:
How is the unpacking speed? I don't care how long it takes to pack the code
(within reason), but unpacking speed is very important, especially on slow
machines like an iPhone/Nokia/Windows Mobile phone. I saw a test report that
Looks good!
If you want to make the code a bit more efficient, you can tweak it a
bit and cache $('Form2'), since you use it a couple times.
Here is a slightly altered version (using slideUp/slideDown because I
think they're prettier):
$(#Button1).click(
function() {
Hey Mark,
Could you possibly post an example of the issue? I'm having trouble
following what exactly is going on. Also, try grabbing the latest version of
Dimensions from SVN as it has been recently updated.
--
Brandon Aaron
On 7/14/07, Mark [EMAIL PROTECTED] wrote:
Hi!
I am using jQuery
Actually, what version of the autocomplete plugin are you using. It looks
like the latest depends on the dimensions plugin. Perhaps you should grab
both the latest versions of the dimensions and the autocomplete plugins.
--
Brandon Aaron
On 7/14/07, Brandon Aaron [EMAIL PROTECTED] wrote:
Hey
my xml looks something like:
response
message
biothe bio/bio
votedthe votes/voted
/message
message
bioanother bio/bio
votedlikewise, another vote/voted
/message
/response
I'm new to jquery. I'd like to place these in an array so I can access
votes/bio
I just ran some tests against the current version from SVN to see how
fast they load on my machine.
Firefox 2.0.0.4 on Linux:
jquery.js (original uncompressed) - 158243 bytes: 66ms
jquery.pack.js - 21585 bytes: 129ms
jquery.compressed.js (my compressor) - 17005 bytes: 394ms
IE6 on XP under
Well, that wasn't a good change to that function - just did it on the
fly while typing up that post - but when I made the change to the
actual JavaScript and realized my mistakes, it did not help. Part of
the problem was that when I originally inspected event, it was not
showing the event that
Maybe by following this can get your desired result
$(#Button1).click(
function(){
// Hide Form2 if necessary
$(#Form2:visible).slideUp();
setTimeout(function(){$
(#Form1:hidden).slideDown();},1000)
// Don't
63 matches
Mail list logo