http://moje.sms.cz vs http://seznamka.sms.cz
they may be the same server, but that doesn't count in javascript security.
On 5/2/07, ATom <[EMAIL PROTECTED]> wrote:
But this is the same site :-( Original and redirected page is
seznamka.sms.cz
--
Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
But this is the same site :-( Original and redirected page is
seznamka.sms.cz
Man, I think everybody is trying to hard. Here's my quick pass at it
(only tested on FF2/Mac):
http://erikandcolleen.com/erik/projects/jquery/content_table/
There are 4 different versions. They're pretty similar. The first one
is just the basic toggling. The second one adds a loader bar. The
thi
Is this an internet or intranet application?
As for a 'creative' solution, you could possibly try having your server act
as a proxy to fetch the data (and then serve it to the user). Most
server-scripting languages allow for making HTTP requests as well as
handling assorted headers, however, I ha
Hi folks,
I've been working the CFJS plugin again tonight, and I've added eight
new functions and fixed some sloppy JS code that was keeping the packed
version of the code from working.
The new version of the code is available from:
http://cfjs.riaforge.org
http://jquery.com/plugins (listed
You can use this...
// Converts parameter array received from serializing the form into JSON
$.params2json = function(d) {
if (d.constructor != Array) {
return d;
}
var data={};
for(var i=0;i wrote:
How about (untested):
$.get("page.php?" + $("input").serialize());
--Erik
oops, that's lower case 'content-type'
On 5/2/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
if the second page does not require cookies from the client machine, and
doesn't care what useragent gets it, you can use a small perl (or other
language) program to fetch the page from the other site, then serve
On 03/05/2007, at 3:23 AM, [EMAIL PROTECTED] wrote:
IS there anyway to not have the slideshow:
http://interface.eyecon.ro/demos/slideshow.html
show the photo's sort of in a vertical line until they all load.
I think CSS could solve this. Maybe you could just set the ul to
position:relative a
Hi Eric,
What you've described sounds quite a bit like the comment system that
Jack Slocum has in place on his site. The good news is that he has
put it together with EXT, which is in the process of being ported to
jQuery as a plugin, or plugin suite.
You can check out an example here:
ht
Hi,
I'm working on a financial reporting system. In it individual reports
are generated on demand via an ajax call that fetches the data as json
data, then uses TrimPath Templates (
http://www.trimpath.com/project/wiki/JavaScriptTemplates ) to render the
json data out as a table, which I the
Hi,
I am jquery for now almost 3 months. But, one thing I am not able
still figure out. This is more for a user convience. I want to let
user know which divs will be updated after certain action. For this, I
want to show a spinning wheel on the div that will be updated. But I
am not sure how to d
I found it's easy to catch a 400 range error in jquery, but not in safari!
I ran a tiny $.ajax program where it tries to get a file from behind a
.htaccess'ed directory...
firefox & opera returned .status = 401 and .statusText
but safari returned null for .status (webkit returned 0)
Very cool Aaron. They do have a very smooth slide down effect.
I'm going to see how to recreate the code based on what you've done here.
Thanks so much for your help.
Rey...
Aaron Heimlich wrote:
Here's a first attempt at jQueryizing servOC(). It could probably be
better, but I wanted someth
Thanks Josh,
I'm going to check out the code to see how I can implement it.
It's all hacked up because I did it quick, so please don't rip me, oh
great jQueryers!
Aw cmon man. You did a great job and I'm glad to have code to learn from.
Thanks so much.
Rey
forgive me if this is too off topic but this is a combination
technical information and a request for Project help
I would like to build an online tool for writers and I would like to
see if it's practical to do at all let alone with jquery.
the goal is to allow readers of a piece of work to ins
Thanks Erik,
I've given that a try and it can not catch the request.status == 401
until after it prompts the user. Shame really. I've even tried
supplying a fake username/password, but it still prompts for login if
it doesn't authenticate with the user/pass provided. I'm trying to
look into othe
Here's a first attempt at jQueryizing servOC(). It could probably be better,
but I wanted something that was a drop-in replacement:
function servOC(i, href, nColor) {
var trObj = jQuery("#ihtr" + i);
var nameObj = jQuery("#name" + i);
var ifObj = jQuery("#ihif" + i);
if(trObj.css("di
Just to add...my example creates the slidedown row on the fly, which causes
it to pop up on top of the clicked row before dropping down.
You could just as easily put in hidden rows beforehand and then slide them
open, which would come out smoother I think.
-- Josh
- Original Message --
Rey,
I put up a very basic proof of concept for you, you can view source to check
the code:
http://www.igigi.com/divstest.cfm
It looks like hell in IE, but the basic functionality is there. It just
needs some css help I think for IE.
The only thing you'd need to add is grabbing your cont
On 5/2/07, Rey Bango <[EMAIL PROTECTED]> wrote:
Could someone help me learn how to do that?
This function[1] is attached to the "click" event of each of the table rows:
function servOC(i, href, nColor) {
var trObj = document.getElementById ? document.getElementById("ihtr" +
i) : eval("d
Hi,
My company has just created a little flash/jQuery widget:
http://www.defacto-cms.com/about-defacto/case-studies.html
It works fine across Firefox, WinIE 6+ (*) and Opera, but fails in
Safari (2).
To check it wasn't the flash, I've included a 'disable flash' link at
the top. You are then lef
Kevin, these are really nice, thanks for sharing them. Is the
jqtabcontrol.js based on any other plugins/libraries/yadda...? That's
the first that I've seen the "more" tabs handling in a "jquery-based"
tab library, very nice.
Thx,
Jack
Kevin Scholl wrote:
I have a number of such examples a
Thanks for your reply. The data I'm expecting would be of this form
1=a
2=b
3=c
4=d
with the "\n" character separating each line. If this is some kind of
violation, that is useful to know, but I still consider the data a
"single" piece of data in that it is just a string "1=a\n2=b\n3=c
\n4=d"
Hi Jörn ,
This is exactly what I was looking for. I somehow missed this demo.
Thanks!
Jimmy G
From: Jörn Zaefferer <[EMAIL PROTECTED]>
Sent: Wednesday, May 02, 2007 2:06 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: JQUERY Validator - Serverside
Dave,
This could just be me, but I've never returned more than one value from the
server via an ajax request. When I want multiple values, I use an array or a
structure... or if I'm returning a fully formatted HTML page I return a single
string with all of the markup in it.
I don't *think*
if the second page does not require cookies from the client machine, and
doesn't care what useragent gets it, you can use a small perl (or other
language) program to fetch the page from the other site, then serve it as a
locally produced page.
#!/usr/bin/perl
use LWP::UserAgent;
use CGI;
$ua = LW
GET
http://moje.sms.cz/kategorie/seznamka/main_rpc.php?width=450&m_ido=sendlink&link=http%3A%2F%2Fmoje.sms.cz%2Ft.prochazka%2Fobr%2F758&js=1(591ms)jquery.js
(line 1)
uncaught exception: Security Error: Content at
http://moje.sms.cz/t.prochazka/obr/758 may not load data from
http://seznamka.sms.cz/
Hi, I'm trying to make an asynchronous ajax request in which I parse
data returned after the call. However, the error handler is
repeatedly getting called, and the "msg" is always empty. However, I
have verified by manually typing in the URL and params into a browser
the page works. Here's my c
Jimmy,
Should I add an array error structs(fieldID, Message) to the JSON
Response, and use the ShowErrors method of the validator?
so far that is the recommended solution. You can see a reference example
here:
http://jquery.bassistance.de/validate/demo-test/ajaxSubmit-intergration-demo.html
T
Jeff Fleitz schrieb:
Nevermind, figured it out, thanks.
Cool :-)
--
Jörn Zaefferer
http://bassistance.de
Christof,
Why not use OpenAjax?
http://ejohn.org/blog/thoughts-on-openajax/
OK, I accept the legal stuff. I did not join that Alliance because I did not
understand any of that. I have problems with legal texts in german - a
foreign language doesn't make that better.
after pos
oscar esp schrieb:
I am using post with form pluggin.
So how about switching to GET?
--
Jörn Zaefferer
http://bassistance.de
Do you use the JQuery validator in your forms? What methodology to you employ
for returning server-side errors?
Should I add an array error structs(fieldID, Message) to the JSON Response, and
use the ShowErrors method of the validator?
Thanks,
Jimmy G
Yes - since what you did will only work with one element (in fact,
it'll break when there's more than one element), whereas Jonathan's
will work with any number of elements, and still return the correct
result set.
--John
On 5/2/07, Ariel Jakobovits <[EMAIL PROTECTED]> wrote:
>
> Jonathan, are y
You can try it here:
http://moje.sms.cz/t.prochazka/obr/758
Click ont the letter under big picure.
Without http redirect it working.
Jonathan, are you sure he shouldn't just use:
jQuery.fn.toggleText = function (evalText1, evalText2){
$(this).html(($(this).text() == evalText1)?evalText2:evalText1);
return this;
}
- Original Message
From: Jonathan Sharp <[EMAIL PROTECTED]>
To: jquery-en@googlegroups.com
Great. Two people suggesting the same solution. I'll give that a shot.
Thanks you two.
_
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh Nathanson
Sent: Wednesday, May 02, 2007 1:52 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Force the FIRST option
$("option:first",
"select#host_organization").attr("selected","selected");
that is what I used on a similar solution here:
http://education.llnl.gov/jQuery/ajax.html
(The Progressive Form example)
On May 2, 11:45 am, "Andy Matthews" <[EMAIL PROTECTED]> wrote:
> Hrm...
>
> That didn't seem to wo
Andy, try this:
$("option:first","#select-id").attr("selected",true);
-- Josh
- Original Message -
From: Andy Matthews
To: jquery-en@googlegroups.com
Sent: Wednesday, May 02, 2007 11:45 AM
Subject: [jQuery] Re: Force the FIRST option to be selected in a select box.
Hrm...
//plugin
jQuery.fn.toggleText = function (evalText1, evalText2){
$(this).html(($(this).text() ==
evalText1)?evalText2:evalText1);
}
jQuery.fn.toggleText = function(txt1, txt2) {
return this.each(function() {
$(this).html( $(this).text() == txt1 ?
You can't read anything. Content of this page is not important. My
problem is only HTTP redirect. I can load this URL:
http://seznamka.sms.cz/kategorie/seznamka/main_rpc.php?m_ido=sendlink&js=1
and this page is redirected here
http://seznamka.sms.cz/index.php?P_id_kategorie=8202&P_soubor=seznam
Hrm...
That didn't seem to work. For some reason FF is selecting the last option
tag. So for the time being I just placed a dummy option at the end. I'll
come back and fix it later.
_
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rob Desbois
Sent: Wednesday,
I made a plugin called toggleText. I want to chain this to a jquery
object and toggle the text. I also want to add a click event to the
jquery object. If I just use the toggleText plugin, it works. But if I
also add the click handler, I get the following error:
Error: $("#toggleError").toggleText
Hi,
I've been working for the past few days or more on a simple file
manager that uses PHP and jQuery. Basically, where I'm at: I'm able
to list all files in a starting directory. When a user clicks on a
folder, it opens the clicked folder and lists all files in that
directory and so on.
I am
I'll add to this if I may.
This is one of the best slideshows I have seen that have the item
highlighted in the list 1 2 3 4 etc, but after spending some time with it
was unable to get it working...more on it would be very very welcome, can
even donate :)
Bruce P
- Original Message
IS there anyway to not have the slideshow:
http://interface.eyecon.ro/demos/slideshow.html
show the photo's sort of in a vertical line until they all load.
It really makes me not want to use this particular setup, even though
it's perfect for what I want.
There really are not to many slideshow typ
Thanks for taking the time to set me straight! I swear the other day I found
a few web sites saying POST was more secure than GET... But today I found
the w3c page that talks about choosing between GET/POST and no mention of
one being more secure (if used over SSL).
http://www.w3.org/2001/tag/doc
Nevermind, figured it out, thanks.
On May 2, 10:33 am, Jeff Fleitz <[EMAIL PROTECTED]> wrote:
> > Try $("#suggest2+pk").val( data[1] ) or $(this).next().val( data[i] );
> > And first check if the "#suggest2+pk" selector really selects your
> > hidden input.
>
> This technique worked great for pop
IE places strange additional spacing after an opening form tag.
I would think one would fix that using css
form {padding: 0;margin: 0}
bruce P
- Original Message -
From: "Shelane" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Wednesday, May 02, 2007 12:31 PM
Subject: [jQuery] R
Do you have an example that just shows the problem without much text ?
JÁ činit ne mluvit Čech!
On 5/2/07, ATom <[EMAIL PROTECTED]> wrote:
I need load this page:
http://seznamka.sms.cz/kategorie/seznamka/main_rpc.php?m_ido=sendlink&js=1
--
Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
Funny thing about placing the form tag between table markup tags. IE
places strange additional spacing after an opening form tag. Placing
the the tag between the table tags fixes the IE display issue. We had
to do it here: http://www.llnl.gov/ (The Search LLNL and Find People
form area in the h
I need load this page:
http://seznamka.sms.cz/kategorie/seznamka/main_rpc.php?m_ido=sendlink&js=1
Kelvin,
Have you been able to make any progress on detecting the edge of the
browser? This is the one thing that has really been problematic for
me.
On May 2, 10:38 am, Sam Collett <[EMAIL PROTECTED]> wrote:
> On Apr 30, 2:34 pm, "Kelvin Luck" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > On M
Even though the previous poster is a bottom-poster, I have to agree with
him/her that showing the months at the top like the Google cal looks very nice
and user friendly.
;)
- Original Message
From: Sam Collett <[EMAIL PROTECTED]>
To: jQuery (English)
Sent: Wednesday, May 2, 2007 8:3
Rob...
Unfortunately I can't post a link to the page as it's internal only at the
moment. Thanks for that snippet of code, I'll give it a shot.
_
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rob Desbois
Sent: Wednesday, May 02, 2007 10:35 AM
To: jquery-en@goog
I had this code that I wrote which changed the href of the page based on a
dropdown. It worked as a stand-alone page, but now that I'm integrating it
into my site, it's not working. Code is at the bottom of the page. Here's
what's happening:
1) On load, the make dropdown fills in with live data.
On Apr 30, 2:34 pm, "Kelvin Luck" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On Mon, April 30, 2007 12:25 pm, Sam Collett wrote:
>
> > Several features in that picker that look like they would be handy in
> > Kelvin's that aren't in yet are:
>
> > Keyboard Navigation
>
> I've been thinking about this...
Andy,
and both work fine for me in
FF2.0.0.3 under HTML 4.01 strict.
Can you post a link to the page?
Without trying I'm not sure off-hand how to use jQuery for selection,
although IIRC using the DOM I tihnk this should work (untested):
var select = $("#select-id");
select[0].selectedIndex
I've got two related select dropdowns.
Makes: Honda, Ford, Acura, etc.
Models: select a make first
To cover the possibility of the first dropdown only having one value, I'm
auto-selecting the first value in the list. in this case, it's Honda. That
in turn loads 2 vehicles into the Models dropdo
I have been toying with a jQuery port of JSAN
http://www.openjsan.org/doc/c/cw/cwest/JSAN/0.10/lib/JSAN.html
So far I have:
(function(jq){
jq.extend({
jsanUse: function(pkg, o){
o = jq.extend({
includePath: ['/jslib',
I have a number of such examples available, which I'm happy to share.
Most are visual enhancements or minor functionality. A couple of
navigation schemes driven by jQuery. Nothing all that deep.
http://beta.ksscholl.com/jquery/default.html
View the readme.txt file there to see which examples spe
> Try $("#suggest2+pk").val( data[1] ) or $(this).next().val( data[i] );
> And first check if the "#suggest2+pk" selector really selects your
> hidden input.
>
This technique worked great for populating a hidden field. I am
trying to use the same technique to add an option to a select control
in
> -Original Message-
> From: Klaus Hartl [mailto:[EMAIL PROTECTED]
> I just committed a little fix for the highlight effect. If
> you specify a
> color to animate from, in IE that color is not removed after
> animation
Yeahhh Now I can go and add this back
I agree with Mike here. In fact, now that I code with jQuery, I've started to
pay much more attention to my markup to see that it's correct -- or at least
that it works with jQuery. ;o)
Chris
Mike Alsup wrote:
that jQuery should iterate over form.elements if special form
selectors are
us
Hi jQuerians and Interfacer users,
I just committed a little fix for the highlight effect. If you specify a
color to animate from, in IE that color is not removed after animation
is done. The reason is the order of the following two lines of code:
jQuery(this).css('backgroundColor', color);
Ariel Jakobovits wrote:
in cfml you access the first element with index 1.
how can you use "1 based" indexing in javascript?!? you would force everyone to
remember to start at index 1 whenever they used code from this plugin. that would be
ridiculous.
Chris is on the right path.
Thanks,
Jack, you may want to pick up ver 1.0.6 (or 1.0.6a if you're getting it from
jquery.com/plugins). It has better fixes for the DollarFormat, and DecimalFormat
functions.
Don't worry about the repro code. I was easily able to reproduce your results,
and I'm a bit taken back that I didn't notic
Michael,
Thanks for the words of encouragement. I love to know that folks are getting use
out of the CFJS plugin. :o)
Chris
Michael E. Carluen wrote:
Hey Chris,
I just put CFJS to work on a few things. Thanks for working on this. Seems
like its going one of those frequently used tools in t
I agree with both his thoughts, and your thoughts but I think the correct
choice would be to start the array counting with 0 as this is a JAVASCRIPT
plugin. So that would be my suggestion. Change the code to work well with
javascript.
-Original Message-
From: jquery-en@googlegroups.com
that jQuery should iterate over form.elements if special form selectors are
used because a lot of legacy code uses incorrectly placed form tags.
When jQuery is added to those legacy pages the developer should also
correct the form tags (and any other bogus markup). There is no point
trying to
Hi,
Sorry, I just found a mistake in my solution code:
> jQuery.plugin = function(name) {
> var p = jQuery.plugins;
> var n = name.split('.');
> for( var i = 0; i < n.length; i++ ) {
> if( !p[n[i]] ) p[n[i]] = {};
> p = p[n[i]];
> }
> p[n
Hi,
> > Why not use OpenAjax?
>
> http://ejohn.org/blog/thoughts-on-openajax/
OK, I accept the legal stuff. I did not join that Alliance because I did not
understand any of that. I have problems with legal texts in german - a
foreign language doesn't make that better.
The technical stuff: Ope
I'll repost it from a russian forum (from here:
http://rsdn.ru/Forum/Message.aspx?mid=2469963)
Firefox/Opera won;t find form elements if the form tag is placed between
and tags:
input type query tests
$(document).ready(function() {
// Traditional ite
Hey Chris,
I just put CFJS to work on a few things. Thanks for working on this. Seems
like its going one of those frequently used tools in the toolbox.
Michael
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Christopher Jordan
> Sent: T
74 matches
Mail list logo