Hello,
so that my php script can serve both ajax calls and full page call if
javascript is not available on the client platform, i usually append a js=1
to all links. So it's a child play to test for $_GET['js']==1 on the server and
serve the relevant html.
Now, i've switched my application
On Jan 29, 2008, at 12:51 AM, Chris J. Lee wrote:
Is there one that is simpler? I just need a google map marker created
on the map. And possibly a form to enter driving directions to it.
Why not just use Google's own API?
--
Mika Tuupola
http://www.appelsiini.net/
Hi Erik,
then i guess if($_SERVER[‘HTTP_X_REQUESTED_WITH’] == ‘XMLHttpRequest’)
should get me going ...
thanks a lot,
Alex
-- Original Message --
To: Jquery-en (jquery-en@googlegroups.com)
From: Erik Beeson ([EMAIL PROTECTED])
Subject: [jQuery] Re: how to get php to detect
Thanks a lot, it's working just fine.
Thanks for your time Charles, I didn't expect so much information and
I will definitely use your technics to debug, it make so much sense (I
should have think about it!!!)
On Jan 28, 11:47 am, Charles K. Clarkson [EMAIL PROTECTED]
wrote:
eugene33 wrote:
The request header X-Requested-With is set to XMLHttpRequest for all
AJAX calls from jQuery.
Hope it helps.
--Erik
On 1/29/08, Alexandre Plennevaux [EMAIL PROTECTED] wrote:
Hello,
so that my php script can serve both ajax calls and full page call if
javascript is not available on the
dunno if somebody answered this already, but you should remove the
.change() call at the end of your chain, because it immediately triggers
your change function, and thus firing your test alert..
dennis.
cnxmax wrote:
I'm trying something pretty basic in JQuery (I think).
I want to run a
Thanks Rick. It was a great idea. Don't forget the tip button...I'll
be here all week. ;)
Michael
On Jan 28, 2008, at 6:22 AM, Rick Faircloth wrote:
Hi, Michael...
Just wanted to let you know that the added drag feature is
working great!
Thanks and congratulations on a great piece
Hi there,
I set up a test page and got the menu working in IE. Here are some
things I changed:
1) removed width:100% from menu.css as shown below. That was making IE
stretch the link to full width meaning that they no longer floated
together horizontally:
.nav ul li,
.nav a {
width:
here is my code
$(document).ready(function() { $('#imageid').load(function(){
alert('hello');
}); });
#imageid is an img lable's id
I got this problem in IE 7 but it is working well in FireFox.
On Jan 28, 4:26 pm, Arun Kumar [EMAIL PROTECTED]
wrote:
I'm using interface plugin's Sortable feature. I'm able to drag the
draggable divs and there is no problem with sortable also. But when I
drag any draggable div for the first
Use POST?
On Jan 29, 10:42 am, Alexandre Plennevaux [EMAIL PROTECTED]
wrote:
Hello,
so that my php script can serve both ajax calls and full page call if
javascript is not available on the client platform, i usually append a js=1
to all links. So it's a child play to test for
Hi,
I would definitely recommend superfish (http://users.tpg.com.au/
j_birch/plugins/superfish/all-horizontal-example/).
give each li and individual class and use css for hover effect
(background-image).
good luck, Hannes
On 29 Jan., 04:13, Jack Killpatrick [EMAIL PROTECTED] wrote:
Hi All,
Hi all,
I was wondering how I can get the value of a parameter sent in the
request as a parameter within the success callback function.
Cheers,
Shy.Kraus
i m having problem in IE once i click on accordion its work but next
time it doesn't my code is follow
jQuery('#navigation').Accordion({
active: true,
header: '.head',
navigation: true,
Well, the whole idea of masking the input is to validate it. If you
want your user to be able to input 9_ and 09 and _9 and have them all
be valid, then you probably should use server side validation, or
maybe the validation plug-in.
Really, though, what you want to be accepted in the field
I made a small discovery (in my sleep no less!) that works in HTML,
but screws up the PHP:
HTML:
If I put the array properties in single quotes (the spaces are to make
it clearer), the controls are validated as a group! This is good.
input type=checkbox name=group[ ' property_1 ' ] /
input
On Mon, 2008-01-28 at 17:39 -0800, Dave Stewart wrote:
Not sure if this is the best reply, but in order to access the
structure, it has to be part of the DOM,
That is not correct. You can build a jQuery instance from a xml object
and use the various jQuery query options to search through the
*dope*
nevermind..got it. just calling the fucntion directly ,...
On Jan 29, 11:01 am, Bhaarat Sharma [EMAIL PROTECTED] wrote:
Hi
I have the following snippet to expand/collapse menu items and set the
cookie as well.
function initMenu() {
$('#menu ul').hide();
if
Rus Miller schrieb:
OK, finally...
http://monovisiondesign.com/client/jquery/validate-url/form.php (I've
got another problem with PHP config in that my script isn't connecting
on this server, but it should still return false and cause an error on
the form). The markup for the form is here:
When I need to use extra data in events callback, I use javascript
closures.
So, in cases like your, I do the following ajax call:
var params = {par1:val1, par2: val2};
$.ajax( {url: myurl,
data: params,
success: getAjaxSuccess(params)
} );
where
Hi
I have the following snippet to expand/collapse menu items and set the
cookie as well.
function initMenu() {
$('#menu ul').hide();
if ($.cookie('the_cookie')=='a'||$.cookie('the_cookie')=='b'||
$.cookie('the_cookie')=='c'||
$.cookie('the_cookie')=='d')
{
alert('came
you said your code copied the element correctly, but mine is not. do you see
anything wrong with my code that would make my element it should be coping
to data empty?
chrismarx wrote:
should clone also work for behaviors that were not added by jquery?
(like a google map?) i tried to
Hi,
Can anyone recommend anything that allows you to manage files stored
on the web in a tree-like GUI, allowing for drag-and-drop. I'm
thinking of a web-based equivalent of what you may do with files on
your desktop.
Thanks, - Dave
Do you have a page you could show? I think this isn't enough detail.
Glen
On Jan 29, 2008 6:29 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello.
Is it possible to change menu trigger event form click to mouseover?
It's better for my purposes.
Thanks in advance for answer.
mixfox wrote:
: here is my code
:
: $(document).ready(function() { $('#imageid').load(function(){
:
: alert('hello');
:
: }); });
:
: #imageid is an img lable's ID
That works for me. Perhaps the error is in the html portion of your
page.
Are you sure the image has an id of
Hi, i have done a very simple example of jquery slide, but it doesn't
work correctly in internet explorer, it blinks in the beginning and at
the end. Thanks for all (sorry for my bad english).
link:
http://zital.no-ip.org/jquery/
html code:
div id=container
div id=top
Hi all
Thanks a lot for your replies!
@Jack
I don't fully understand what you mean, could you explain it some
more ? or maybe find an example (can be flash or anything).
@caruso
ScrollTo can scroll to any kind of element, not only LIs. Check the
old demo, the first input field uses a
in fact i just looked at the old demo and i find it quite nice looking too!
(me love colours :)
at least it's not webtwooish, which is a quality in my eyes :)
http://www.freewebs.com/flesler/jQuery.ScrollTo/index.old.html
On Jan 29, 2008 4:56 PM, caruso_g [EMAIL PROTECTED] wrote:
Hi, thanks
Hi
I want to change the input's type, from text to password using the
focus event. I use the following jquey code
script type=text/javascript language=javascript
$(document).ready(function(){
$(#passwd).focus( function() {
$(this).attr(value,);
I have two dropdown boxes, which, when clicked, return via ajax some
information in a div. Inside that information is are multiple links.
When I click on the left select- the links in the div below work fine.
If I refresh and click on the right select- the links in the div below
work fine.
So
Hello.
Is it possible to change menu trigger event form click to mouseover?
It's better for my purposes.
Thanks in advance for answer.
should clone also work for behaviors that were not added by jquery?
(like a google map?) i tried to clone a div with a google map, and
although clone successfully copied all the elements, the behaviors
were lost. append did the job for a workaround. should clone(true) be
able to also grab all the
Hello,
I need to catch any change to a textarea and I am struggling with the
case where the user pastes some text using the menu of the browser. In
such case, the content has changed but key-related events are not
triggered because obviously the keyboard was not touched. An event
like onchange is
my code:
var append_to = self.element.children('.cr_tab_content');
var clone_element = self.element.children('#' + id).clone(true)
$(clone_element).appendTo(append_to);
When I do this my element is still empty but should be filled with the
cloned element
var append_to =
can you use the non minifed version of jquery, so we can see which line
fails?
On Jan 29, 2008 3:09 PM, Jesse Klaasse [EMAIL PROTECTED] wrote:
I can confirm this.. I have the same problem with another applet..
--
Alexandre Plennevaux
LAb[au]
http://www.lab-au.com
I can confirm this.. I have the same problem with another applet..
http://67.199.33.151/db/
We've been working on this site for a month, using jquery extensively to
create a sort of templating system for views into a sql database via a
web service. AJAX calls are made on loading of the page to populate
various templates and lists.
It's been working very
View the console:
http://www.runecrypt.com/fallenx/fallenx/jquery_applet_demo.php
-
I've tried the following
-
$('#parent').remove();
$('#parent').empty();
$('#parent').html('');
The Error also occurs when I load the page.
Thanks, David! :)
Your example helped me a lot to find a solution! The problem was
somewhere other.
That xml file is generateв with PHP-script. But forget to send the
right header using header(Content-Type: text/xml; charset=utf-8);
before XML contents output! Realy stupid mistake!
How to retrieve in sucess call back function a paremeter sent in the
request?
OK, finally...
http://monovisiondesign.com/client/jquery/validate-url/form.php (I've
got another problem with PHP config in that my script isn't connecting
on this server, but it should still return false and cause an error on
the form). The markup for the form is here:
This is not supported in IE. More info:
http://dev.jquery.com/ticket/120
The fix is to create a new input with type=password and copy any attributes
from the old one.
- Richard
On Jan 29, 2008 12:02 PM, Jamal Arbib [EMAIL PROTECTED] wrote:
Hi
I want to change the input's type, from text
http://docs.jquery.com/Events has mousedown, mouseup, mousemove, etc
Also check out the plugins for draggables in UI.
http://docs.jquery.com/UI
Glen
On Jan 28, 2008 1:49 PM, edwardbaafi [EMAIL PROTECTED] wrote:
Hi..
Does anyone know how one could generate a mousedown event
Hi Bhaarat,
I'm not sure what the setCookie() function, but I'm guessing that the
problem lies in what you're doing inside $('#menu li a').click(). It
looks like you're attaching a click handler to all of the menu links
that attaches a click handler to the clicked link. A simplification
Actually, what I think I'm looking for is more advanced masking/validation.
I want to encourage users to use 2 digits for month, but recognize that
using one digit will be valid also. Perhaps a plugin where the value of the
field is matched against a regular expression. If it doesn't match,
Hi all,
I wonder how i could add validation to a normal textarea-Jeditable
field.
I want to have the validation server-side, so if invalid data is
entered the server sends back some kind of message.
I hope this kind of makes sense, and that someone can get me started
on this...
Thanks, Frizzle.
View the console:
http://www.runecrypt.com/fallenx/fallenx/jquery_applet_demo.php
-
I've tried the following
-
$('#parent').remove();
$('#parent').empty();
$('#parent').html('');
The Error also occurs when I load the page.
Hi all,
Just wanted to let you all know that the jQuery adapter has been
updated to include the kind of sweet jQuery functionality that Mike
is talking about in this email. Head on over and give it a shot if
you haven't already.
Hello Everyone,
I'd like to submit the Project we've been working on the past Months.
When we were looking for a JS Framework to support
us we almost instantly decided to use JQuery and we are glad we did.
Metropolino.de is a Event Calendar and Community for the Metropolitan
Region of Nuremberg
Hi Chris,
Mika is absolutely right. Google Maps API is itself quite simple and
concise. There's little need for futher abstraction. As long as
map.addOverlay(new GMarker(point)); stands for creating new marker on the
map, I don't see much space for a plugin making this any easier.
--
Bohdan
[EMAIL PROTECTED] schrieb:
Hello.
Is it possible to change menu trigger event form click to mouseover?
It's better for my purposes.
Thanks in advance for answer.
Please take a look at Barry Halims comment on
http://p.sohei.org/jquery-plugins/clickmenu/#comment-4051
I think that he's
--
View this message in context:
http://www.nabble.com/.clone-not-work-in-FF-or-IE%2C-please-help-tp15160494s27240p15160494.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
This is pure speculation, but my guess is the problem relates to the applet
/ tag. I suspect if you switched to object/embed tags things would work
correctly.
-Dan
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Monday,
i agree, i don think any plugin will be able to keep up with all the
new developments. unless you want a super simple map. are you
interested in a jstl version?
On Jan 29, 5:12 am, Bohdan Ganicky [EMAIL PROTECTED] wrote:
Hi Chris,
Mika is absolutely right. Google Maps API is itself quite
Hi, thanks a lot for these great plugins. They are awesome.
But I would make you a feature request, if possible, and, when you
can.
It would be great to be able to scroll to any kind of elements into
the containner, and not only list items.
Sometimes it happens that one can't know in advance
mohsin schrieb:
i m having problem in IE once i click on accordion its work but next
time it doesn't my code is follow
[...]
please tell me wht is problem
Could you post a testpage?
Jörn
Check out the examples in http://extjs.com
Specifically the Web Desktop demo, as well as the tree demo.
You also might be interested in Adobe AIR, which allows for more integration
with the OS.
Glen
On Jan 29, 2008 8:53 AM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi,
Can anyone
I believe http://code.jquery.com/jquery-latest.js is hosted by Amazon S3.
source: http://jquery.com/blog/2007/04/02/google-groups-and-amazon-s3/
Glen
On Jan 28, 2008 2:58 PM, dgouldin [EMAIL PROTECTED] wrote:
Is there a jQuery CDN host that anybody knows of?
On Jan 29, 2008, at 7:08 PM, Steffan A. Cline wrote:
I know there is a plug-in for styling file inputs but what about
using a
custom image instead? I need to do something where I have an ADD and a
DELETE button side by side. I tried this using .click() and it worked
flawlessly but alas FF
I've tried to build a table collapser yet I've problems with the
statements
$('#collapser_'+i+', .expanding').bind('click', collapser_collapse
(i));
$('#collapser_'+i+', .collapsing').bind('click', collapser_expand
(i));
To me they look correct yet Javascript stops working. The source is
Hi Bhaarat,
You've done a nice job here! I was wondering, though, if we could take
advantage of the index value of the links, so I re-factored your code
a bit (still using Klaus's cookie plugin). Here is what it looks like:
$(document).ready(function() {
$('#menu li ul').hide();
var
http://docs.jquery.com/Events has mousedown, mouseup, mousemove, etc
Yes, you are able to trigger these events using trigger( type,
data ), but what about setting the event properties?
In my case, when an element is draggable and it's mousedown event
fires, the
click function in ui.mouse.js
No problem, Bhaarat! Glad you like it.
Actually, the way I set it up, mine was limited to 10 or fewer links.
But we can increase that number by calling a function that returns,
for example, a base-32 string instead of index:
function bigIndex(inival) {
return (inival).toString(32);
}
I've used jmap2 a bit. It's really nice to have a jQuery-like way of
playing with maps (as well as geocoding, etc) - but as was said
before, hard to say if it is worth it for the added overhead and
restrictions it places on your code.
That said, I think there is room for a more extensive jQuery
Good point i guess i'm thinking too much.
I'm just pretty lazy and thought there'd be a more convenient and fast
plugin i could easily port from web project to web project.
On Jan 29, 3:53 am, Mika Tuupola [EMAIL PROTECTED] wrote:
On Jan 29, 2008, at 12:51 AM, Chris J. Lee wrote:
Is there
http://labs.adobe.com/technologies/air/
Air is free.
On Jan 29, 2008 11:39 AM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Thanks for the link. I notice this goes for $289 for a commercial
license. Know anything that's freeware?
- Dave
On Jan 29, 11:00 am, Glen Lipka [EMAIL PROTECTED]
Yeah it does. I'll keep that in mind.
On Jan 29, 12:59 pm, Dave Stewart [EMAIL PROTECTED]
wrote:
Hi Chris,
The trick to Google Maps (for me at least) was getting to know the
basics of the OOPness of it all.
EVERYTHING (just about) is an object. You rarely pass values, you
normally
OBS: I just found that the problem only occurs when you have a field
with the attribute remote.
I'm building a form - I've got one field where I'm allowing the user to
select a radio button (selecting a division) and then doing an Ajax call
to populate a related text field with a name. I've got a little
animated 'ajaxy' graphic that pops up to show activity:
// get division
Hey all,
additionally to my clickMenu plugin, I've created a new menu plugin
called...uhm... menu (the name will be changed in the first real
release, as I've just seen that the new UI-menu will be called the same.
Maybe someone knows a good name? ;) ).
The most notable features (and
Thanks for the link. I notice this goes for $289 for a commercial
license. Know anything that's freeware?
- Dave
On Jan 29, 11:00 am, Glen Lipka [EMAIL PROTECTED] wrote:
Check out the examples inhttp://extjs.com
Specifically the Web Desktop demo, as well as the tree demo.
You also might
Hi,
I took the code from jQuery Accordion menu and am using the cookie
plugin.
while searching for a collapse-able menu I saw that a lot of people
were looking for this but with cookies so when user refreshes..the
collapse/expand state stay the same.
I am new to jQuery and even javascript.
I just find a serious problem.
If you submit the form without having completed anything (for him
return error), when you are trying to complete and submit it will not
submit.
Ah! Thank you for remote, it was great!
Abraços
Marcos Aurélio
Once your data is loaded into the page your bind events are not bound
anymore, since you replaced the DOM information. You can either rebind
events with running a rebind function, or you can use live jQuery
http://brandonaaron.net/docs/livequery/
Should fix your problem.
-Kyle
On Jan 29, 6:08
More info - the links work as expected in IE 7.0.x but not Firefox
2.0.x
I have a set of tabs that use the sliding doors technique. The tabs
are built on an unordered list, with each tab being a list item
containing an anchor. Each tab is decorated by placing a graphic in
the background of its list item for the left part of the tab, and the
background of the anchor
Or you could take a look at mapstraction (http://
www.mapstraction.com/)
There was a tutorial on 24ways in December, nice introduction.
http://24ways.org/2007/unobtrusively-mapping-microformats-with-jquery
Hope that helps.
On Jan 28, 10:51 pm, Chris J. Lee [EMAIL PROTECTED] wrote:
I've seen a
Error is as follows:
uncaught exception: [Exception... Could not convert JavaScript
var getComputedStyle = document.defaultView.getComputedStyle( elem,
null );
Not surprising; IE doesn't implement document.defaultView, let alone
the getComputedStyle method. jQuery doesn't -directly-
I'm using livequery to achieve the following:
$('.stock a')
.livequery('click', function(event) {
var thisTarget = $(this).attr('href');
$.ajax({
url:
ZiTAL wrote:
: Hi, i have done a very simple example of jquery slide, but it doesn't
: work correctly in internet explorer, it blinks in the beginning and at
: the end. Thanks for all (sorry for my bad english).
:
: link:
: http://zital.no-ip.org/jquery/
[gets on soap box]
Always, always,
I know there is a plug-in for styling file inputs but what about using a
custom image instead? I need to do something where I have an ADD and a
DELETE button side by side. I tried this using .click() and it worked
flawlessly but alas FF does not support it! How stupid!.
Any suggestions?
Thanks
Hi Chris,
The trick to Google Maps (for me at least) was getting to know the
basics of the OOPness of it all.
EVERYTHING (just about) is an object. You rarely pass values, you
normally instantiate objects, then pass them.
For example, in the example Bohdan gave, you would have to 1) create
the
That's awesome, Michael. Thank you!
Hi all,
Just wanted to let you all know that the jQuery adapter has been updated
to include the kind of sweet jQuery functionality that Mike is talking about
in this email. Head on over and give it a shot if you haven't already.
And you got my extensible file extension -- plugin mappings request in
there too! Woot!
On Jan 29, 2008 4:29 AM, Michael J. I. Jackson [EMAIL PROTECTED] wrote:
Hi all,
Just wanted to let you all know that the jQuery adapter has been updated
to include the kind of sweet jQuery functionality
I always solved this problem with a database table, but this is
solution when no database is being used.
Nice.
On Jan 29, 10:41 am, Bhaarat Sharma [EMAIL PROTECTED] wrote:
Hi,
I took the code from jQuery Accordion menu and am using the cookie
plugin.
while searching for a collapse-able
I recently solved this solution this way,
$(document).ready(function(){
$('#profile-nav').children().each(function(){
$(this).click(function(){
toggleTabs($(this));
return false;
});
});
});
function toggleTabs(tab) {
tab.siblings().children().removeClass('on');
on 1/29/08 11:57 AM, Mika Tuupola at [EMAIL PROTECTED] wrote:
On Jan 29, 2008, at 7:08 PM, Steffan A. Cline wrote:
I know there is a plug-in for styling file inputs but what about
using a
custom image instead? I need to do something where I have an ADD and a
DELETE button side by
Hi, folks:
I am trying to implement a search toolset based on textarea. the
function I am using to highlight the resulting string(txt) is
something like:
textarea.setSelectionRange(pos, pos+txt.length);
textarea.focus(); /* seems useless */
Everything is OK except when there are more
Updated extension (v.0.2.9) posted at http://xtnd.us
protip: you can pick a specific version, and use packed or min as
well. For example, 1.2.2 minified is available as
http://code.jquery.com/jquery-1.2.2.min.js
too bad S3 doesn't have gzip.
On Jan 29, 2008 8:55 AM, Glen Lipka [EMAIL PROTECTED] wrote:
I believe
ul id=profile-nav class=clearfix
li class=tab-biographya href=# class=onBiography/a/li
li class=tab-backgrounda href=#Background/a/li
li class=tab-contacta href=#Contact/a/li
/ul
$(document).ready(function(){
$('#profile-nav').children().each(function(){
Of course as soon as I post something I found this older post by Rey...
http://www.mail-archive.com/[EMAIL PROTECTED]/msg16936.html
It looks like it does what I need... unless anyone has any other
suggestions - or something's been improved since then.
Jim
-Original Message-
From:
Hi Karl,
Thanks a lot! your solution is obviously much better and not dependent
on how many links there are. since you are using 'each' function.
I had the concept with me but not the power of ins and outs of
jQuery :)
Next i'll be trying to make
Sorry for the repeat posts, but this is the first time I've looked at
this sort of thing. I just realized that we can get up to 100 items by
changing that bigIndex function -- just pad values less than 10 and
append a delimiter to each one:
function bigIndex(inival) {
return inival
Hi everyone
Today added the first release of jQuery.Preload. As said in the
project page, it's a multi-functional plugin to preload images. It can
be used for 4 (or more) different situations.
The plugin is very small ( less than 1.5kb minified ) and offers many
settings to configure it. It
Karl Swedberg schrieb:
Sorry for the repeat posts, but this is the first time I've looked at
this sort of thing. I just realized that we can get up to 100 items by
changing that bigIndex function -- just pad values less than 10 and
append a delimiter to each one: [...]
The serialization
Whew! OK. Got the URL checker working but to tell the truth I don't
know what the issue was. I thought it was the onkeyup:false that
fixed it but I just checked and it worked anyway, although I like the
idea of the validation happening on blur so I left it as false.
If anyone's interested...
Thank you very much, i try this tomorrow ;)
On Jan 29, 6:21 pm, Charles K. Clarkson [EMAIL PROTECTED]
wrote:
ZiTAL wrote:
: Hi, i have done a very simple example of jquery slide, but it doesn't
: work correctly in internet explorer, it blinks in the beginning and at
: the end. Thanks for
Hey Asif,
I'm interested in assisting you with this task. However, I would need
to have a look at your source code.
On Dec 30 2007, 4:31 pm, Asif R Naqvi [EMAIL PROTECTED] wrote:
Hi Guys,
Hope one of you can put me out of this misery!
I'm trying to modify the coda-slider which is done by
Thanks Ariel, I didn't be able to use it for the following project
( http://www.bonsai-studio.net/clients/lamoy/wessel02/albums/page2/index.html
) so I had to make some code to the ground up (think about I am just a
designer... :P ).
So here I am, I have a feature request!
Can you implement a
1 - 100 of 142 matches
Mail list logo