[jQuery] Best Autocomplete Plugin

2009-10-21 Thread Stefan Sturm

Hello,

I badly need an Autocomplete Plugin. So I would like to ask you, what
is the best solution to go with?

Thanks for your help,
Stefan Sturm


[jQuery] Re: a plugin for extending .keypress to two keypresses

2009-09-26 Thread Stefan Petrea

On Sep 26, 6:21 am, spx2  wrote:
> Hi,
>
> I'm writing a plugin for jQuery for catching 2 succesive keypresses.
> I'll paste the plugin I wrote below .
> It doesn't work on Opera . The Developer tools of Opera gave
> no errors and I can't find any problems, it just doesn't work.
> (I've used Opera 10.0).
> So it only works on Firefox (tested on 3.0.14).
> I'm curious if there is a way to find out why it's not working on
> Opera and to fix it.
> Here's the code:
>
>  26 /*
>  27  * this is a plugin for binding double key combinations to some
> callback
>  28  * it works by storing the first_press in the global jQuery
> namespace , a boolean value which indicates
>  29  * the first key has already been pressed (but it's updated to
> 'false' in delay time.
>  30  * in teh meanwhile if someone presses the secondKey and the
> $.first_press is true , the callback will execute
>  31  * with the $(this) passed as parameter so it ca modify it
>  32  */
>  33
>  34 $.fn.keypressTwice = function(firstKey,secondKey,actualCallback) {
>  35     var stuff = $(this);
>  36     var delay = 1000;
>  37     stuff.keypress(function(e){
>  38         if($.first_press) {
>  39             if(String.fromCharCode(e.charCode)==secondKey) {
>  40                 //alert('secondKey');
>  41                 actualCallback(stuff);
>  42                 $.first_press = false;
>  43             }
>  44         } else if(String.fromCharCode(e.charCode)==firstKey) {
>  45                 //alert('firstKey');
>  46                 $.first_press = true;
>  47                 window.setTimeout(function() {
>  48                     $.first_press= false;
>  49                 }, delay);
>  50         };
>  51         e.stopPropagation();
>  52     });
>  53 }
>
> Thanks for taking the time to read this.
>
> Best regards,
> Stefan

sorry , in the meantime found out about http://code.google.com/p/js-hotkeys/
problem solved


[jQuery] Re: Facebook Connect & jQuery

2009-08-30 Thread Stefan Klasen

Do you use the ruby gem facebooker? It's using prototype as it's
default JavaScript framework. Call it this way to use jquery instead:
<%= init_fb_connect('XFBML', :js => :jquery) %>

hope this helps

On Sunday, August 30, 2009, Avishai  wrote:
>
> Hi,
>
> I've been trying to implement Facebook Connect on my site, which uses
> jQuery pretty extensively. However, the minute I insert the FB connect
> code into my page, I get this error:
>
> Element.observe is not a function
> new()new (line 32)
> Element.observe(window,'load', function() {\n
>
> which is:
>
> 32 Element.observe(window,'load', function() {
> 33 FB_RequireFeatures(["XFBML"], function() {
> 34 FB.Facebook.init('','/xd_receiver.html', {});
> 35
> 36 });
> 37 });
> 38
> 39//]]>
>
> Has anyone else experienced this issue and knows how to resolve it?
>
> Thanks!
>
> Avishai
>


[jQuery] animate / carousel

2009-08-14 Thread stefan

HTML:





1
2
3
4
5
6
7
8



JQUERY:

var div = $('#test');

var ul = $("ul", div);

var li = $("li", ul);

var li_width = 100;

$('#btn').click(function(){
return move(8);
});

function move(to)
{
ul.animate({left: -(to*li_width}, 100, null, function () { li.slice
(to).slice(0,4) });
}

QUESTION:

how come the function 'move' isn't working? it's not moving the first
4 lis to the left for some reason

...i didn't include the css, because there shouldn't be the problem
with this script

anyway, any help would be appreciated (:


[jQuery] thumbnail changer

2009-08-13 Thread stefan

jquery:

$(function()
{
$('.thumb').hover(function()
{
for (var i=1; i <= 4; i++)
{
setTimeout(function(){$(this).attr('src', '/thumbnail/1_' + i +
'.jpg');}, i*100);
}
},
function()
{
$(this).attr('src', '/thumbnail/1_1.jpg');
});
});

html:



folder: /thumbnail/

1_1.jpg
1_2.jpg
1_3.jpg
1_4.jpg

does anyone have any idea why this isn't working? it should go from
1_1.jpg to 1_2.jpg to 1_3.jpg ... but currently it isn't doing
anything.



[jQuery] Re: Code Review: slideshow plugin using JSON

2009-05-26 Thread Stefan Hayden

I just moved so I know how it is. I'll be sure to ping you again soon.
I'm still trying to get our company to spin up the dev blog so we can
make the release.. so no one seems to be in a rush. Thanks for your
time!

Stefan

On May 26, 11:27 pm, chris thatcher 
wrote:
> totally behind schedule as I'm in the process of moving.  please remind me
> if I don't get back to you this week some time. apologies.
>
>
>
> On Thu, May 21, 2009 at 3:02 PM, Stefan Hayden  wrote:
>
> > You have to love the public domain.
>
> > Thanks again and I look forward to your feedback.
>
> > Stefan
>
> > On May 21, 2:49 pm, chris thatcher 
> > wrote:
> > > nice work stefan, i checked out the example and will look under the
> > covers
> > > sometime tonight.  I'm actually at the library of congress (i work here)
> > so
> > > it was great to see those images from our prints and photographs
> > division.
>
> > > On Thu, May 21, 2009 at 12:01 PM, Stefan Hayden 
> > wrote:
>
> > > > I was looking for a jQuery slideshow that worked the way I wanted and
> > > > didn't find one. I figured you can never have too many slideshow
> > > > plugins so I've tried to make my first jQuery plugin and was hoping
> > > > people with a bit more jQuery experience could look it over and give
> > > > some suggestions before I go around telling people about it.
>
> > > > This slideshow requires the first slide to be in the HTML and then it
> > > > preloads the next image in the rotation just before showing it making
> > > > the initial page load time faster. It also has previous/next and
> > > > pagination interfaces and well as an option to show a animated
> > > > caption.
>
> > > > plugin homepage:http://stefanhayden.com/shermanstravel_slideshow/
> > > > plugin source:
> > > >http://stefanhayden.com/shermanstravel_slideshow/jquery.ShermansTrave.
> > ..
>
> > > > any feedback would be welcome.
>
> > > > Stefan Hayden
>
> > > --
> > > Christopher Thatcher
>
> --
> Christopher Thatcher


[jQuery] Re: Code Review: slideshow plugin using JSON

2009-05-21 Thread Stefan Hayden

You have to love the public domain.

Thanks again and I look forward to your feedback.

Stefan

On May 21, 2:49 pm, chris thatcher 
wrote:
> nice work stefan, i checked out the example and will look under the covers
> sometime tonight.  I'm actually at the library of congress (i work here) so
> it was great to see those images from our prints and photographs division.
>
>
>
> On Thu, May 21, 2009 at 12:01 PM, Stefan Hayden  wrote:
>
> > I was looking for a jQuery slideshow that worked the way I wanted and
> > didn't find one. I figured you can never have too many slideshow
> > plugins so I've tried to make my first jQuery plugin and was hoping
> > people with a bit more jQuery experience could look it over and give
> > some suggestions before I go around telling people about it.
>
> > This slideshow requires the first slide to be in the HTML and then it
> > preloads the next image in the rotation just before showing it making
> > the initial page load time faster. It also has previous/next and
> > pagination interfaces and well as an option to show a animated
> > caption.
>
> > plugin homepage:http://stefanhayden.com/shermanstravel_slideshow/
> > plugin source:
> >http://stefanhayden.com/shermanstravel_slideshow/jquery.ShermansTrave...
>
> > any feedback would be welcome.
>
> > Stefan Hayden
>
> --
> Christopher Thatcher


[jQuery] Code Review: slideshow plugin using JSON

2009-05-21 Thread Stefan Hayden

I was looking for a jQuery slideshow that worked the way I wanted and
didn't find one. I figured you can never have too many slideshow
plugins so I've tried to make my first jQuery plugin and was hoping
people with a bit more jQuery experience could look it over and give
some suggestions before I go around telling people about it.

This slideshow requires the first slide to be in the HTML and then it
preloads the next image in the rotation just before showing it making
the initial page load time faster. It also has previous/next and
pagination interfaces and well as an option to show a animated
caption.

plugin homepage: http://stefanhayden.com/shermanstravel_slideshow/
plugin source: 
http://stefanhayden.com/shermanstravel_slideshow/jquery.ShermansTravel_Slideshow.js

any feedback would be welcome.


Stefan Hayden




[jQuery] Roller - jQuery based game

2009-05-10 Thread Stefan

Hey,

This is a small game inspired by this article
http://www.emanueleferonato.com/2007/06/14/create-a-flash-ball-game-with-visual-from-above-tutorial/

I hope enjoy it even if I did not had the inspiration to develop more
levels yet: http://www.eyecon.ro/roller/  (use arrow keys to move the
ball )


[jQuery] Re: IE7: Setting ColSpan as Attribute

2009-02-06 Thread Stefan

Excellent solution!  Had the same exact problem and was scratching my
head for a while.

Thank you very much!

-Stefan

On Jan 2, 9:18 am, NRutman  wrote:
> This had me scratching my head for a while, so I wanted to share it in
> case it might help someone else:
>
> It seems that using JQuery's attr() function to set a table 
> cell'scolspanattributedoes not always work properly.  Sometimes although
> theattributeis set properly in the DOM (which can be verified if you
> read thecolspanattributewith attr), IE still renders the cell as
> only 1 column wide instead of thecolspanvalue.
>
> What seems to work best is something like this:
> $(jQueryTableCells).each(function() { this.colSpan= someValue; });
>
> The JavaScript implementation ofcolSpanseems to work fine.  Looks
> like a problem with IE's implementation of the DOM rather than with
> JQuery, but I couldn't find it documented anywhere, so I wanted to
> post it here.
>
> -Nate


[jQuery] Working with Arrays

2009-01-26 Thread Stefan Sturm

Hello,

I use some jQUery functions, to work with Array. But now I'm missing a function.
How can I remove an item from an Array?
Lets say, I have this Array:
var a=[ 1,2,3,4,5,6];

And now I want to remove item 3.

How can I do this?

Thanks for your Help,
Stefan Sturm


[jQuery] Re: jQuery 1.3 incompatible plugins

2009-01-22 Thread Stefan Sturm

Hello,

good Question. I have problems with Fancybox and jQuery 1.3...

Greetings,
Stefan Sturm

2009/1/22 Gordon :
>
> Just a quick question, is there a list of plugins that don't work with
> jQuery 1.3, or a list of plugins that have been upgraded to work with
> it?  I want to be able to quickly check my list of plugins against a
> list of known incompatibilities before upgrading.
>


[jQuery] Re: Getting the DPI

2009-01-10 Thread Stefan

DPI is a measurement in printing. If you mean the screen resolution
you can use screen.width and screen.height.


On Jan 9, 11:58 pm, ron1972  wrote:
> Is there a way to get the monitor's dots per inch using jquery?
> I've been searching and searching..but haven't had any luck.
> Thanks
> Ron


[jQuery] Searching a DataGrid PlugIn

2009-01-07 Thread Stefan Sturm

Hello,

I'm searching a DataGrid PlugIn. But I can't find, what I'm looking for :-(

I need one feature badly:
The Grid should use the complete content panel. So it needs to resize
the width and height, when the browser resizes.
I took a look at flexigrid and jqGrid. But they don't have a feature
like this...

Perhaps someone can help me out on this.

Greetigns,
Stefan Sturm


[jQuery] Problem ClueTip Plug-In and local parameter

2008-11-14 Thread Stefan Sturm

Hello,

I'm using the ClueTip Plug-In to display a Form, when the mouse is
over a Link. This works fine, but there is a big problem:
In local Mode ClueTip seams to make a copy of my Form and displays it. :-(
Why ClueTip works this way?

I use a simple JavaScript Function to send all my form using a Ajax
Request. But this is not working, because my Form exists two times...

Hope somebody can help me.

Greetings,
Stefan Sturm


[jQuery] Best AutoComplete PlugIn

2008-11-04 Thread Stefan Sturm

Hello,

because the UI AutoComplete is pushed back to 1.7, I'm looking for a
good AutoComplete PlugIn.
Which is the best today?

Thanks for your help,
Stefan Sturm


[jQuery] Re: Viewing XHTTPRequests in Opera

2008-10-30 Thread Stefan Sturm

Hello,

> You may want to check out Dragonfly http://www.opera.com/products/dragonfly/

I know about this. It is included in Opera since 9.5.
But I can't find something to display the XHTTPRequests :-(

Greetings,
Stefan Sturm


[jQuery] Viewing XHTTPRequests in Opera

2008-10-30 Thread Stefan Sturm

Hello,

where can I find a Tool to View the XHTTPRequests in Opera, like I can
using FIrebug?

Thanks for your Help,
Stefan Sturm


[jQuery] Re: Problem with Lightbox

2008-10-28 Thread Stefan Sturm

Hello,

thanks for your help. But it is still not working :-(

> I suppose it's:
> class="lightbox-enabled" rel="lightbox-myGroup"
> not just rel="lightbox-myGroup"
>
> And maybe "myGroup" instead of just "group"?

Now my code looks like this:

http://blablabla.jpg";>
http://blablabla.jpg"/>


Greetings,
Stefan Sturm


[jQuery] Problem with Lightbox

2008-10-22 Thread Stefan Sturm

Hello,

I'm using this Lightbox in my project:
http://www.balupton.com/sandbox/jquery_lightbox/

I want to display the images as a group, so I use this code:

But this is not working, it simply opens the Image.

When I use this code every image opens correctly, but so I don't have
the navigation link on my images.



Perhaps the problem is, that the gallery load on an ajax request...

Sorry, I can't point to a sample at this point, because it is an
intranet project.

Greetings,
Stefan Sturm


[jQuery] Re: How To Create Array(s) in jQuery?

2008-10-20 Thread Stefan Sturm

Perhaps you should give us an example...

2008/10/20 aj is in <[EMAIL PROTECTED]>:
>
>> What makes you say that?  An array is an array is an array.  jQuery
>> doesn't change how they work or how you create them.
>
> Yep. An array is an Array. But in my case while working with jQuery
> the array data is not executing properly and the same is working fine
> in typical javascript.
>
> :|
>
>


[jQuery] Re: Using "jQuery Multiple File Upload Plugin" and "jQuery Form Plugin" together

2008-10-16 Thread Stefan Sturm

Hello,

I tried some versions. Last working version is 1.24...

Greetings,
Stefan Sturm


[jQuery] Re: Using "jQuery Multiple File Upload Plugin" and "jQuery Form Plugin" together

2008-10-16 Thread Stefan Sturm

Hello,

thanks for your answer.

> The multi file upload seems to work fine for me.  I copied your test
> file and modified it slightly to print the response to the page:

I found the difference between our two  implementations:
You use MultiFile 1.1 and I use 1.3 ( the newest one ).

With 1.3 it is not working, with 1.1 it is working...

I hope the MultiFile developers are reading here :-)

> The json issue is a tricky one.  I don't have an answer for that yet.

I hope you find a solutions soon :-)

Greetings,
Stefan Sturm


[jQuery] Re: Using "jQuery Multiple File Upload Plugin" and "jQuery Form Plugin" together

2008-10-16 Thread Stefan Sturm

Hello Mike,

did you get a chance to take a look at the samples?
I updated the samples to show you another problem with the fileupload:

I added form 3:
On beforeSubmit I collect all Formdata and convert them to json and
send them as one field "formData" to the server.
Without a upload this works fine, but when the form has a file
element, it stops working :-(

Perhaps you can take a look at this too...

Thanks for your help,
Stefan Sturm

PS: Here is the code of the upload.php file:



2008/10/15 Stefan Sturm <[EMAIL PROTECTED]>:
> OK, I made a small example:
> http://tests.tripplanner.de
>
> Two Forms:
> 1.) With the Form PlugIn and Multi
> 2.) With the Form PlugIn ans no Multi
>
> The first one is not working , the second is.
>
> Check the Firebug console for the return of the upload script. It
> simply returns $_FILES...
>
> Greetings,
> Stefan Sturm
>


[jQuery] Re: Using "jQuery Multiple File Upload Plugin" and "jQuery Form Plugin" together

2008-10-15 Thread Stefan Sturm

OK, I made a small example:
http://tests.tripplanner.de

Two Forms:
1.) With the Form PlugIn and Multi
2.) With the Form PlugIn ans no Multi

The first one is not working , the second is.

Check the Firebug console for the return of the upload script. It
simply returns $_FILES...

Greetings,
Stefan Sturm


[jQuery] Re: Using "jQuery Multiple File Upload Plugin" and "jQuery Form Plugin" together

2008-10-15 Thread Stefan Sturm

Hello,

> Can you post a link?

Sorry, but I can't at this point. It is part of a large Intranet
Project. But if it helps, I can build a little sample app...

But to be clear: I should work, right?

Greetings,
Stefan Sturm


[jQuery] Using "jQuery Multiple File Upload Plugin" and "jQuery Form Plugin" together

2008-10-15 Thread Stefan Sturm

Hello,

I'm trying to use "jQuery Form Plugin"(
http://www.malsup.com/jquery/form/ ) and "jQuery Multiple File Upload
Plugin"( http://www.fyneworks.com/jquery/multiple-file-upload/ )
together to build a possibility to Upload more then one file at a
time.

But when I try to do this, the Form Plugin uploads no file. I can
select more then one file and after submitting the form, the server
script( php ) gets called, but there is no file uploaded.

Perhaps somebody can help me on this...

Greetings,
Stefan Sturm


[jQuery] Re: OT : javascript editor (with code formatting)

2008-10-07 Thread Stefan Sturm

Take a look at NetBeans. I switch to NetBeans 6.5 a short Time ago.

Greetings,
Stefan

2008/10/7 Alexandre Plennevaux <[EMAIL PROTECTED]>:
> Friends,
>
> aptana studio, albeit a nice editor, is recently crashing all the time and
> now doesn't even want to restart. I'm looking for a good alternative, that
> has a code formatting (auto indenting) functionality.
>
> Any suggestion ? I'm on Windows XP SP3...
>
> Thank you,
>
>
> Alexandre
>


[jQuery] Re: JQuery Form Plugin and json

2008-09-12 Thread Stefan Sturm

Hello

>
> beforeSubmit: function(arr) {
>var json = // ... build json string
>arr.length = 0; // throw away current array contents (if you want)
>arr[0] = { name: 'someName', value: json };
> }
>

thats it :-) Thanks...

Greetings,
Stefan Sturm


[jQuery] Re: JQuery Form Plugin and json

2008-09-11 Thread Stefan Sturm

Hello,

thanks for your answer.
I made it the way you say. I build my json string in the beforeSubmit
function. So, now I have a correct json string, but how can I replace
the post array?
Sorry, but I hang at this point.

Thanks agin for your Help,
Stefan Sturm

2008/9/9 Mike Alsup <[EMAIL PROTECTED]>:
>
>
> It's not supported by the plugin, but you can hook the beforeSubmit
> event and change what is posted to the server.  beforeSubmit is passed
> an array of objects with name and value properties.  You could iterate
> over these, build your json string, and then replace the array
> contents with a single object that has name and value properties,
> where the value prop is the json string.
>
> Mike
>
>
>
>
>
>
> Mike
>


[jQuery] Re: JQuery Form Plugin and json

2008-09-09 Thread Stefan Sturm

Hello,

> I'm using the jQuery Form PlugIn( http://www.malsup.com/jquery/form/ )
> to handle my Forms. I like it, but I have a question about an
> improvment:
> At this time all form fields are send using post, but it wold be nice,
> to send all form fields json encoded as one post parameter.
>
> Is there a way to do this?

I still searching for a solution for this...

Hope, the developer is reading here :-)

Greetings,
Stefan Sturm


[jQuery] JQuery Form Plugin and json

2008-08-29 Thread Stefan Sturm

Hello,

I'm using the jQuery Form PlugIn( http://www.malsup.com/jquery/form/ )
to handle my Forms. I like it, but I have a question about an
improvment:
At this time all form fields are send using post, but it wold be nice,
to send all form fields json encoded as one post parameter.

Is there a way to do this?

Thanks and greetings,
Stefan Sturm


[jQuery] Moving an Element

2008-08-21 Thread Stefan Sturm

Hello,

I try to move an Element ( a div ) from one div to another. But I fail :-(
I use this code to do it:

tmp = $('#elementToMove').clone();
$('#elementToMove').remove();
$('targetDiv').append( tmp );

But this is not working. Where is my problem?

Thanks for your help,
STefan Sturm


[jQuery] Create Classes using jQuery

2008-08-19 Thread Stefan Sturm

Hello,

I used Prototype so long. But I switched to jQuery. But now I have a
Question about creating classes.
With prototype I can use "Class.create" to create a new Class.
Is there a way in jQuery to do this? Or do I need the old JavaScript
syntax to create my classes?

Thanks for your help,
Stefan Sturm


[jQuery] Autocomplete PlugIn: Some Questions

2008-07-22 Thread Stefan Sturm

Hello,

I'm testing the Autocomplete PlugIn, and now I have some questions.

1.) Autofill seams not to work for me. When I select an entry, wirde  
text is display in the textbox.
2.) Is it possible to display icons in the result List?
3.) What is the parse function for? I take my code from the json demo.
4.) How can I send an Ajax Request on select? I mean, when I select an  
entry using tab, return or the mouse...
5.) Is it possible to send an ID on select, and not the selected Text?

Here is my test playground:
http://demo.tripplanner.de

To test, insert a cityname( e.g. las vegas ) into the seachfield.

I used Firefox 3 on OSX 10.5 for my tests.

Thanks and greetings,
Stefan Sturm


[jQuery] bug .append adds unwanted start tags to end tags

2008-07-15 Thread Stefan Petrea

Hi,

I've noticed recently while trying to use .append that
for example when I append a  tag in reality jQuery
appends "".
I consider this a bug.
Is it expected behaviour ?
What should I do ?

Thank you


-- 

Stefan Petrea
homepage : http://perlhobby.googlecode.com/
mobile phone : +40732070179



[jQuery] .append() default behaviour

2008-07-15 Thread Stefan Petrea

I want to append to a tag another tag but in the argument to .append() I
use the characters :;#% because I need them to write colors attributes
to the new tag and some other css things(and I can't code a class for
those because I wouldn't want to use css because I don't know it).
The problem is that jQuery expands my :;#% in the arguemnt to .append()

So running some code like this:

$("body").append('post 
comment'+"\n");

yields something totally unexpected(to me) like this :

post comment


How should I counter-attack this behaviour of jQuery so that I will be
able to generate exactly what I want without having to use CSS ?


-- 

Stefan Petrea
homepage : http://perlhobby.googlecode.com/
mobile phone : +40732070179



[jQuery] [New plugin] Colorpicker

2008-07-07 Thread Stefan

http://eyecon.ro/colorpicker/

A simple component to select colors in the same way you select color
in Adobe Photoshop

Features
* Flat mode - as element in page
* Powerful controls for color selection
* Easy to customize the look by changing some images
* Fits into the viewport


[jQuery] Searching a PlugIn( Protoload )

2008-06-23 Thread Stefan Sturm

Hello,

I'm searching a PlugIn similar to Protoload(
http://aka-fotos.de/protoload/ ) for Prototype.

Thanks for your Help,
Stefan Sturm


[jQuery] request for code review

2008-06-21 Thread Stefan Petrea

Hi,

I've written a search toolbar tha has the features described here
http://perlhobby.googlecode.com/svn/trunk/firefox_toolbar_version_0.5/README.TXT
It also uses a server-side script to pull out data from a database and
send them back to the extension for it to display them.
Unfortunately I have some small problems because with this server-side
script 
http://perlhobby.googlecode.com/svn/trunk/firefox_toolbar_version_0.5/get_data_example.pl
all things work well
but when I use another server-side script,this one
http://perlhobby.googlecode.com/svn/trunk/firefox_toolbar_version_0.5/get_data.pl
it stops working.
The code from the firefox toolbar is based on the code here
http://www.borngeek.com/firefox/toolbar-tutorial/
I mean I've started reading from there and I've went on from there and
developed
my own extension.
The actual extension and the code for it can be found here
http://perlhobby.googlecode.com/svn/trunk/firefox_toolbar_version_0.5/tuttoolbar_unziped/

Any suggestions regarding either server-side code or extension code are
very much appreciated :)

Thank you

-- 

Stefan Petrea
homepage : http://perlhobby.googlecode.com/
mobile phone : +40732070179



[jQuery] Re: Layout manager

2008-06-18 Thread Stefan Sturm
Hello,

2008/6/17 Jquery user - z <[EMAIL PROTECTED]>:

>
> in jqueryUI, you com find something called splitpane in the dir
> jquery.ui-1.5\demos\real-world\splitpane\index.html
>

yes, but this is just a demo for the resizer.

I saw in the Roadmap, that a LayoutManager is planed for Version 1.7 :-) Is
there any Timetable for this?
And I found something in the Experimental Folder about Layout. Is this
useable?

Thanks and greetings,
Stefan Sturm


[jQuery] Re: Layout manager

2008-06-17 Thread Stefan Sturm

Hello,

>
> During my search for a layout manager as the extjs, I came across with
> this http://www.seprol.com.br/test/layout/page2.htm, (dependent on
> mootools) i would like to know if is possible to convert to jquery,
> with all the options, since the layout currently in jqueryUI, still
> lacks some options. ( ou better, inprove the splitpane to do the same
> things that this do.)

where can I find the Layout currently in jQueryUI?

Thanks,
Stefan Sturm


[jQuery] Re: idiot requests SIMPLE ajax explanation!

2008-06-16 Thread Stefan Petrea

there is a book ... I read some of it and thought it was nice.
have a look if you have some time.

Apress Dom Scripting Web Design With Javascript And The Document Object
Model


On 06-16 07-12, [EMAIL PROTECTED] wrote:
> 
> I'm embarrassed. I used to cheerfully mix PHP with Javascript, but now
> I don't understand the terminology! I see the advantages of
> 'asynchronous' data exchange and I would like some of that  but I
> can't for the life of me understand what to do!!
> 
> Does anybody know where to find a REALLY SIMPLE, step-by-step
> explanation?
> 
> Supposing I eventually get to grips with this, has anybody (Mike
> Alsup!) written a REALLY simple explanation of the Taconite plugin, as
> that's where I'm heading?
> 
> Thank you [blushes]
> Cherry.
> 

-- 

Stefan Petrea
homepage : http://perlhobby.googlecode.com/
mobile phone : +40732070179



[jQuery] how to get jquery working inside XUL extension ?

2008-06-14 Thread Stefan Petrea

Hi,

I've so far developed an extension.
Now it's time to start using jquery in it.
How do I include it inside the extension so that I can use it ?
I've seen here an example
http://www.learningjquery.com/2006/12/jquerify-bookmarklet .
>From there I see that I should do something like this in my code
  var s=document.createElement('script');
  s.setAttribute('src','http://jquery.com/src/jquery-latest.js');
  document.getElementsByTagName('body')[0].appendChild(s);
Altough I'm not quite sure what this would do ?
Would it include jquery library at runtime in my code so I can use it ?
How would you do this ?
I've also seen this notion of 'script injection' that seems similar to what
I want to achieve.
In particular this page 
http://leftlogic.com/lounge/articles/bookmarklet-coding/#more-18
shows something like this.
Has anyone tried to do this ?
Does it work or am I trying to push a rock that will not move ?
Either way I'm going to give it a shot,but if you've done this and might have
any details to share please do :)

Thank you

-- 

Stefan Petrea
homepage : http://perlhobby.googlecode.com/
mobile phone : +40732070179



[jQuery] Re: jquery n00bl3t

2008-06-12 Thread Stefan Petrea

Hey !
Thanks man
That was pretty awesome :)

On 06-12 07-49, tlob wrote:
> 
> Noob answers Noob:
> 
> I think you have to put
> $("a").click(function(event){
>   9event.preventDefault();
>  10alert("Thanks for visiting- babu!");
>  11alert("This is my alert");
>  12  });
> 
> in you document.ready function.
> 
> $(document).ready(function(){
>// Your code here
>  });
> 
> this is a main principle in jquery.
> 
> cheers
> tlz
> 
> 
> On Jun 12, 10:16 am, spx2 <[EMAIL PROTECTED]> wrote:
> > I'm reading a tutorial from 
> > herehttp://docs.jquery.com/Tutorials:Getting_Started_with_jQuery
> > I'm trying the examples given there.
> > A window does not pop-up when I click a link from the ones on the
> > page.
> > Why is this happening ?
> >
> >   1   
> >   2   
> >   3   
> >   4   
> >   5 $(document).ready(function(){
> >   6   window.alert('asdasd');
> >   7   });
> >   8  $("a").click(function(event){
> >   9event.preventDefault();
> >  10alert("Thanks for visiting- babu!");
> >  11alert("This is my alert");
> >  12  });
> >  25   
> >  26   
> >  27   
> >  28   jQuery
> >  29  http://google.com/"; class="clickme">I give a message
> > when you leave
> >  30  http://yahoo.com/"; class="hideme">Click me to hide!
> >  31  http://microsoft.com/";>I'm a normal link
> >  32   
> >  33   
> 

-- 

Stefan Petrea
homepage : http://perlhobby.googlecode.com/
mobile phone : (040) 0732070179



[jQuery] Re: European Mirrors

2008-06-12 Thread Stefan Petrea


if nothing else works try using a web proxy like the one present at

http://hidemyroot.info

just a thought ...
On 06-12 14-43, Isaak Malik wrote:
>Everything is loading just fine here: Belgium, 600kbps connection. Are you
>sure it's not cause locally?
> 
>On Thu, Jun 12, 2008 at 12:07 PM, Tim Swann <[EMAIL PROTECTED]> wrote:
> 
>  I'm based in Ireland and I find that accessing the docs is very slow.
>  Are there any European based mirrors for the documentation?
> 
>  If not are you open to the idea of partnering with European Based
>  hosting companies for mirroring the docs?
> 
>--
>Isaak Malik
>Web Developer
> 
> References
> 
>Visible links
>1. mailto:[EMAIL PROTECTED]

-- 

Stefan Petrea
homepage : http://perlhobby.googlecode.com/
mobile phone : (040) 0732070179



[jQuery] jquery 1.2.2 and animate()

2008-01-21 Thread Stefan Kilp [sk-software]

hi,

what is the best way to animate background-color with jquery.

i tried 

$j(this).animate({backgroundColor:"#ff"}, 2000)

to get a red background, but it doesn't work.

do i have to use any plugins?

thanks
stefan
--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] Re: jQuery 1.1.2 Released: Happy 2nd Birthday!

2008-01-14 Thread Stefan Petre
Happy Birthday jQuery and congrats to dev team.

2008/1/15, Joel Birch <[EMAIL PROTECTED]>:
>
>
> Waahh, happy birthday jQuery! My, how you have matured!
>
> Huge thanks to John, Brandon, David (a warm welcome to you), and all
> the other cool dudes in the jQuery team.
>
> Respect and admiration.
> Joel Birch.
>


[jQuery] Superfish: Force menu to collapse

2008-01-11 Thread Stefan

Hi Joel and everyone else on this channel,

I would like to close/collapse the superfish menu with a JavaScript
call, something like:

$("ul.nav").superfish().collapse();

Is this possible with Superfish?  Is there a way I can call the "out"
function somehow?

Thanks in advance,

Stefan


[jQuery] [ANNOUNCE] Space gallery

2008-01-09 Thread Stefan Petre


Image gallery with perspective

http://eyecon.ro/spacegallery/

Regards,
Stefan


[jQuery] Re: Attaching events to dynamic DOM IDs

2007-12-22 Thread Stefan Petre
for(var i = 0; i < 30; i++) {
 jQuery('#day_' + i).click(function() {
   jQuery('#' + this.id+ '_modal').jqmShow();
 });
}

maybe it works this way

2007/12/22, Rabbit <[EMAIL PROTECTED]>:
>
>
> The following code:
>
> for(var i = 0; i < 30; i++) {
>   jQuery('#day_' + i).click(function() {
> console.log('i is ' + i);
> jQuery('#day_' + i + '_modal').jqmShow();
>   });
> }
>
> Runs, but always reports "i is 30".
>
> Now, I understand why it does that, but why doesn't the jqmShow method
> work? It appears as though the code that "gets executed" is dynamic.
> In other words, when the click event occurs JavaScript looks up the
> code as it was at the end of its execution, when variable i is 30,
> instead of "remembering" that at one point it was something else.
>
> Did that make sense?
>
> Any ideas how to get around this without typing in all 30 click events?
>


[jQuery] Re: internet explorer debugging

2007-12-21 Thread Stefan Petre
Maybe this helps http://www.debugbar.com/

2007/12/21, Alexandre Plennevaux <[EMAIL PROTECTED]>:
>
>
> hello friends,
>
> my application is running ok in firefox but is not doing so great in
> internet explorer. I'm having a hard time tracking down the bug(s).
> Can someone help me? Problem is i didn't find any decent tool to debug
> javascrpt in internet explorer.
>
> Anyway, here is the prototype i'm working on:
>
> http://www.pixeline.be/test/m2/
>
> the source code is here:
>
> http://www.pixeline.be/test/m2/_js/frontend/6_proto_strata+datascape+project.js
>
> Basically, a good part of the code is used to make sure all elements
> fits nicely graphically on the background 4px grid, whatever the
> screen resolution.
> The top menu is "strataGrid" and after clicking on the second line of
> options in the menu, you get to the "datascape".
>
> now, i'm not an expert in javascript so any coding improvement you can
> suggest is welcomed, i did it my way :)
>
> The issue comes with the apparition of the datascape. It chokes and
> does not finish appearing. In firefox 2 it works well though.
>
>
> I think the error is somewhere here:
>
> $('.strataTrigger').bind('click', function(){
> var $thisMenu = $(this).parents('.mainmenu');
> var li = $(this).parent();
> var index = li.parent().children('li').index(li[0]);
> $newLeft = strataGrid.startX + (strataGrid.colCenter - (index
> + 1)) * strataGrid.colWidth;
> $('.strataTrigger', $thisMenu).removeClass('selected');
> $(this).addClass('selected');
> $thisMenu.animate({
> left: $newLeft + 'px'
> });
> // 4._ SHOW/HIDES MENUS
> if ($thisMenu.attr('id') == 'strata1') {
> var showme = $(this).metadata().showme;
> //remove datascape if displayed
> if ($('#datascape').length) {
> $('#datascape').unbind().fadeOut("slow", function(){
> clearInterval(datascape.$interval);
> $(this).hide(); // HIDE OR REMOVE ?? _ A SURVEILLER
> });
> }
>
> $('.strata2').each(function(){
> if ($(this).hasClass(showme)) {
> $(this).show();
> }
> else {
> $(this).hide();
> }
> });
> }
> else
> if ($thisMenu.hasClass('strata2')) {
> $('#strata3').html('');
> $("#datascape").load('ajax_datascape.inc.html',
> function(){
> $(this).fadeIn("slow");
> drawDatascape(strataGrid, '');
> });
> }
> return false;
> });
>
>
>
> --
> Alexandre Plennevaux
> LAb[au]
>
> http://www.lab-au.com
>


[jQuery] Re: Stupid little game :)

2007-12-19 Thread Stefan Petre





Benjamin Sterling wrote:
I think that game is rigged, I lost all my money. :)
  
  On 12/19/07, Erik Beeson <[EMAIL PROTECTED]>
wrote:
  
  Fun,
thanks for sharing :)

--Erik



On 12/19/07, Stefan Petre <[EMAIL PROTECTED]
> wrote:


Hi,
  
I did a small game (it was a test for a client), about 6kb of code.
  http://www.eyecon.ro/slotmachine/
  
Stefan




  
  
  
  
  
-- 
Benjamin Sterling
  http://www.KenzoMedia.com
  http://www.KenzoHosting.com
  
  http://www.benjaminsterling.com

I can fix this. Give me your IP :)




[jQuery] Stupid little game :)

2007-12-19 Thread Stefan Petre


Hi,

I did a small game (it was a test for a client), about 6kb of code. 
http://www.eyecon.ro/slotmachine/ 


Stefan


[jQuery] Converting XML to a string with jQuery

2007-12-19 Thread Stefan

Hello,

I have some data in XML representation that I will need to convert to
a string.  I tried using XMLSerializer - works great in Firefox, but
not in IE:

var xmlString = (new XMLSerializer()).serializeToString(xmlData);

Is there any way to convert XML to its string representation with
jQuery?  Or other ways to accomplish this task?

Thank you!

Steffen


[jQuery] Re: Ann: Flot 0.1 released

2007-12-04 Thread Stefan Petre
Swt and useful . I like it so much.

2007/12/4, Ole Laursen <[EMAIL PROTECTED]>:
>
>
> Hi!
>
> I've just released Flot 0.1, a brand-new plot plugin for jQuery which
> focuses on simple usage, attractive looks and interactive features
> like zooming. It's like plotr and Plotkit, but hopefully a bit more
> intelligent when it comes to auto-adjusting axes.
>
> The project page is here:
>
>   http://code.google.com/p/flot/
>
> And examples are here:
>
>   http://people.iola.dk/olau/flot/examples/
>
> I also posted about the news on my blog:
>
>   http://ole-laursen.blogspot.com/2007/12/flot-01-released.html
>
> I'm in the midst of writing the API documentation, but the examples
> should hopefully get you started and the available settings are
> documented in the source code at the top of the file.
>
> --
> Ole Laursen
> http://people.iola.dk/olau/
>


[jQuery] Re: autocomplete new dependency

2007-11-26 Thread Stefan Kilp [sk-software]

when i look at http://jqueryjs.googlecode.com/svn/trunk/plugins/autocomplete
with TortoiseSVN ist shows Revision 3917 not 2384. Is that the current version 
or am i
getting something wrong?

Best regards,
Stefan Kilp

>
> Shelane schrieb:
> > I downloaded the latest from the repository today and found I was get
> > an error of list.scrollTop not a function.  I saw something about a
> > dependency on the dimensions plugin.  So I added that to the scripts
> > loaded before the autocomplete.  I was then getting a strange issue on
> > the display of the results - a horizontal scrollbar suddenly
> > appeared.  This is strange to me because I never had this issue
> > before.  I downgraded to the autocomplete.min Rev 2384, removed
> > dimensions, and no horizontal scrollbar appeared.
> >
> We figured that the scrolling would improve usability of the plugin a
> ton. So far there was this "more" indicator which looked like a way to
> page through results, which it does not and was never intended to. You
> can set scroll:false to disable that new feature, but you'll still need
> the dimensions plugin.
>
> I'll look into making that optional - it shouldn't be necessary when not
> using scrolling and with normal positioning (in contrast to putting the
> autocomplete into a thickbox).
> > The reason I tried the latest revision was because in the min Rev
> > 2384, I was having the problem of the results set changing (it would
> > return the correct results and show them, then it would suddenly show
> > the results based on the last character typed being removed) like
> > this:
> >
> > enter: carp
> > briefly shows:
> > Annette Carpenter
> > Alex Carpel
> >
> > then that result set is replaced with
> > Joel Carmen
> > Tiffany Carson
> > etc...
> >
> I'd like to help, but its hard without a testpage.
>
> Regards
> Jörn


--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] Re: Zoomimage

2007-11-14 Thread Stefan Petre





Stoyan wrote:

  
  
  
  
  Bah, the alert on IE6 appears when I press any key.
  That's valid for the official demo too:
  
  
  http://www.eyecon.ro/zoomimage/
    
  
  
  -- 
  Best regards,
   Stoyan                          mailto:[EMAIL PROTECTED]

Sorry for this. I will fix it in 3 hours.




[jQuery] Re: Zoomimage

2007-11-13 Thread Stefan Petre
1. I have to think about it, I can not promise anything

2. You are right. I will add an option to make this preloading at page load
optional

Sorry, it has to stay this way. I develop this plugins for my need first and
then I will share it with you guys. I can not change the plugins just for
this because I do not have time. Plus I got used with the utility functions
and I use them in all my projects. Beside, if I will release a new plugin it
is a good chance that this files will be used again and the namespace will
stay inside the 'EYE' thing :) . I got a lot from the people that I pollute
jQuery's namespace, so 

Anyway, I fixed some things and added new features. You may what to check it
out.


2007/11/13, Erlend Schei <[EMAIL PROTECTED]>:
>
>
> What a marvellous plugin! Great work, Stefan!
>
> I hope you don't mind my sharing a few immediate thoughts in all my
> excitement.
>
> Your plugin is in some ways similar to Leandro Vieira's Lightbox
> plugin. http://leandrovieira.com/projects/jquery/lightbox/ , but yours
> is more customizable.
>
> What I love about Leandro's plugin is in particular two things
>
> 1) The way you can press either half of the image to go to next/
> previous image. That means you don't have to move the mouse as much.
> You also support keys, so I guess the need isn't as big in your case.
> But it would be a great feature, manye users don't think of using the
> keys (yet).
>
> 2) He only preloads the next image. While preloading is great, it also
> generates a lot of wasted traffic, particularly on pages with loads of
> images. Would you consider makeing this optional? Or is the
> functionality heavily based on the images being preloaded?
>
> Finally, would you consider makeing the plugin "standalone", not
> having to include the other "common" EYE tools?
>
> Again, thanks for a great plugin!
>
> Best regards
> Erlend Schei :)
>
>


[jQuery] Re: Zoomimage

2007-11-12 Thread Stefan Petre

I can confirm this. I will fix it, I was too tired last night.

Stefan Kilp [sk-software] wrote:

nice plugin.

on testing with Safari/Win i noticed that the keyboard navigation does not work for me , FF is 
fine.


Best regards,
Stefan Kilp

  

Another plugin to present images

http://www.eyecon.ro/zoomimage/




--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-


  




[jQuery] Re: Zoomimage

2007-11-12 Thread Stefan Petre

I'm glad to hear this :).

1. You can edit the CSS and add add cursor move to '.zoomimage_controls'
2. You can do rounded corners too. Change the shadow image to include 
the rounded corners too




Glen Lipka wrote:

I think I want to cry.  This is beautiful.
Keyboard shortcuts, easing, clear styling instructions.
Wonderful.  I am going to switch to this from Highslide for sure.

Although, I can't help myself, I need to point out a couple of tiny 
items (TINY ONES)


1. The header should probably have a css rule of cursor: move.  Even 
though you can move it from anywhere (AWESOME), having an area that 
affords more dragging is a good thing.
2. Alternate styling is nice.  I know highslide somehow figured out 
how to do rounded corners with it.  This is a nice to have, not a have 
to have.


What happens if the image is really big?
I need to test this. :)

What browsers has this been tested with?

I am so excited!

Glen

On Nov 12, 2007 1:36 PM, Matthieu BARBE < [EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>> wrote:


    I love this plugin... good job stefan !

2007/11/12, Stefan Petre <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>:


Another plugin to present images

http://www.eyecon.ro/zoomimage/







[jQuery] Re: Zoomimage

2007-11-12 Thread Stefan Kilp [sk-software]

nice plugin.

on testing with Safari/Win i noticed that the keyboard navigation does not work 
for me , FF is 
fine.

Best regards,
Stefan Kilp

> 
> Another plugin to present images
> 
> http://www.eyecon.ro/zoomimage/


--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] Zoomimage

2007-11-12 Thread Stefan Petre


Another plugin to present images

http://www.eyecon.ro/zoomimage/


[jQuery] Re: jQuery Challenge

2007-11-04 Thread Stefan Petre


S. Robert James wrote:

While working on this: 
http://groups.google.com/group/jquery-en/browse_thread/thread/7cbc9fb45f7dc133
, I've tried to come up with a way to read attributes out of a CSS
class, even if that class isn't applied to any element.  No luck so
far.

Any jQuery pro's want to take a crack at it? Storing attributes for
animations in CSS - as opposed to JavaScript - would lean to much
cleaner code.


  


if (document.styleSheets) {
for (var i=0, styleSheet; i			for (var 
k=0, 
lng = styleSheet.cssRules ? 
	styleSheet.cssRules.length : 
	styleSheet.rules.length,
cssRule; 
k k++) {
cssRule = styleSheet.cssRules ? 
	styleSheet.cssRules[k] : 
	styleSheet.rules[k];

//cssRule.selectorText may have the name of the 
class
//cssRule.style has the properties defined in 
the CSS for current selector
//so do you stuff here
}
}
}



[jQuery] Re: Is this posible with JQUERY?

2007-11-03 Thread Stefan Petre


I did something similar, but did not ave the time to release it. You can 
see it in action here http://blog.eyecon.ro/#in-singuratate

Stefan


Vladimir wrote:

http://vikjavev.no/highslide/ extra fine jscript... does jQuery have a
plug-in like that?


  


[jQuery] Re: jQuery UI Datepicker v3.0 Released! (Previously named jQuery Calendar)

2007-11-01 Thread Stefan Kilp [sk-software]

hi,

beginners question :-)

how do i set monday as first day in week (for germany)

Best regards,
Stefan Kilp

> 
> jQuery UI Datepicker v3.0 Released! (Previously named jQuery Calendar)
> 
> I am happy to announce that UI Datepicker version 3 has been released
> today.
> http://marcgrabanski.com/code/ui-datepicker/
> 
> Highlight New Features:
> Included in the official jQuery User Interface library (http://
> ui.jquery.com)
> Date range selection
> Display multiple months at a time
> More customization options
> License changed to reflect jQuery
> Compatibility option to use existing code
> 
> UI Datepicker was presented at jQuery Camp in Boston at Harvard. Here
> are the slides from the presentation:
> http://marcgrabanski.com/presentations/jQuery-Datepicker-Success.html
> 
> Mods based on jQuery Calendar:
> West Wind created an ASP.NET control out of jQuery Calendar
> http://www.west-wind.com/jqueryweb/jquerycalendar.aspx
> 
> PHP Framework Symfony Plugin (ddJQueryCalendar)
> http://trac.symfony-project.com/wiki/ddJQueryCalendar
> 
> Drupal jQuery Calendar Plugin
> http://drupal.org/project/jquery_calendar
> 
> Featured on Smashing Magazine Date Pickers
> http://www.smashingmagazine.com/2007/10/23/online-calendars-and-date-pickers/
> 
> Thank you all for your great feedback which has made this Datepicker
> so successful!
> 
> Marc Grabanski
> Interactive Developer
> http://marcgrabanski.com
> Minnesota, US
> 


--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] Re: animate & hide

2007-09-13 Thread Stefan Kilp [sk-software]

> The callback was going to be my next suggestion. That's weird...the method I
> suggested should be working.
>  
> What happens when you take off the hide() call? Does it fade out just fine?

no, only function() { $(this).hide() } does work.

i am using jquery with this way

var $j = jQuery.noConflict();

 $j("#msg").css(...).animate(...,1000,function(){ $j(this).hide()))

works fine.

stefan

> 
>   _  
> 
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Joan Piedra
> Sent: Thursday, September 13, 2007 2:24 PM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Re: animate & hide
> 
> 
> This should work.
> msg.css("background-color","#faa").animate({'backgroundColor':'#fff'},
> 1000).hide();
> 
> If it doesn't, use the callback.
> msg.css("background-color","#faa").animate({'backgroundColor':'#fff'}, 1000,
> function(){ 
> // this is the callback
> $(this).hide();
> })
> 
> 
> On 9/13/07, Stefan Kilp [sk-software] <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> > wrote: 
> 
> 
> it is certainly only a newbie problem ...
> 
> i try to set my message to red, animate it to white an the hide it 
> 
> msg.css("background-color","#faa");
>     msg.animate({'backgroundColor':'#fff'}, 1000);
> msg.hide();
> 
> but it will be hidden at once, without animating. 
> 
> if i remove
> 
> msg.hide()
> 
> then the animation is shown.
> 
> any hint for me
> 
> thanks
> stefan
> 
> 
> --
> Stefan Kilp
> SK-Software, Entwicklung & Beratung
> 
> email: [EMAIL PROTECTED]
> 
> fon  : +49 6151 93344-0
> fax  : +49 6151 93344-20
> Herta-Mansbacher-Str. 98
> 64289 Darmstadt, Germany.
> -
> 
> 
> 
> 
> 
> 
> -- 
> Joan Piedra  ||  Frontend web developer
> http://www.justaquit.com/  ||  http://www.joanpiedra.com/ 
> 


--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] Re: animate & hide

2007-09-13 Thread Stefan Kilp [sk-software]

the callback did the trick, 
thanks a lot

> This should work.
> msg.css("background-color","#faa").animate({'backgroundColor':'#fff'},
> 1000).hide();
> 
> If it doesn't, use the callback.
> msg.css("background-color","#faa").animate({'backgroundColor':'#fff'}, 1000,
> function(){
> // this is the callback
> $(this).hide();
> })
> 
> On 9/13/07, Stefan Kilp [sk-software] <[EMAIL PROTECTED]> wrote:
> >
> >
> > it is certainly only a newbie problem ...
> >
> > i try to set my message to red, animate it to white an the hide it
> >
> > msg.css("background-color","#faa");
> > msg.animate({'backgroundColor':'#fff'}, 1000);
> > msg.hide();
> >
> > but it will be hidden at once, without animating.
> >
> > if i remove
> >
> > msg.hide()
> >
> > then the animation is shown.
> >
> > any hint for me
> >
> > thanks
> > stefan
> >
> >
> > --
> > Stefan Kilp
> > SK-Software, Entwicklung & Beratung
> >
> > email: [EMAIL PROTECTED]
> >
> > fon  : +49 6151 93344-0
> > fax  : +49 6151 93344-20
> > Herta-Mansbacher-Str. 98
> > 64289 Darmstadt, Germany.
> > -
> >
> >
> 
> 
> -- 
> Joan Piedra  ||  Frontend web developer
> http://www.justaquit.com/  ||  http://www.joanpiedra.com/
> 


--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] Re: animate & hide

2007-09-13 Thread Stefan Kilp [sk-software]

same problem :-(

hides at once

> 
> Chain the methods, like so: 
> 
> msg.css("background-color","#faa").animate({'backgroundColor':'#fff'},
> 1000).hide();
> 
> Then jQuery will perform them in order.
> 
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Stefan Kilp [sk-software]
> Sent: Thursday, September 13, 2007 2:21 PM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] animate & hide
> 
> 
> it is certainly only a newbie problem ...
> 
> i try to set my message to red, animate it to white an the hide it
> 
>   msg.css("background-color","#faa");
>   msg.animate({'backgroundColor':'#fff'}, 1000);
>   msg.hide();
> 
> but it will be hidden at once, without animating.
> 
> if i remove 
>   
>   msg.hide() 
> 
> then the animation is shown.
> 
> any hint for me
> 
> thanks
> stefan
> 
> 
> --
> Stefan Kilp
> SK-Software, Entwicklung & Beratung
> 
> email: [EMAIL PROTECTED]
> 
> fon  : +49 6151 93344-0
> fax  : +49 6151 93344-20
> Herta-Mansbacher-Str. 98
> 64289 Darmstadt, Germany.
> -
> 
> 


--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] animate & hide

2007-09-13 Thread Stefan Kilp [sk-software]

it is certainly only a newbie problem ...

i try to set my message to red, animate it to white an the hide it

msg.css("background-color","#faa");
msg.animate({'backgroundColor':'#fff'}, 1000);
msg.hide();

but it will be hidden at once, without animating.

if i remove 

msg.hide() 

then the animation is shown.

any hint for me

thanks
stefan


--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] jquery.com not available

2007-07-09 Thread Stefan Kilp [sk-software]

jquery.com not available for me,
anyone else having the same problem?

Best regards,
Stefan Kilp
--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] Re: Preview: Brand new tablesorter 2.0, multi-column sorting and more

2007-07-06 Thread Stefan Petre

May I suggest something? When you sort: first click > sort ascending ,
second click > sort descending ; third click > clear sorting.

2007/7/6, tlob <[EMAIL PROTECTED]>:



an ajax mysql connection for editing datas inside the table and I owe
you BIG time!

;-)

GREAT WORK!!

On 6 Jul., 13:34, "Christian Bach" <[EMAIL PROTECTED]>
wrote:
> 2007/7/6, Kia Niskavaara <[EMAIL PROTECTED]>:
>
> > Multi-colum sorting is great news. Good work!! Reverse multisorting on
one
> > column and normal sorting
> > on another column doesn't seem to be working (yet)
>
> > Is it possible to add a custom sorter that sort using the initial
order?
>
> Custom sorter will be supported in the same way as the old version did.
>
> I just updated the demo so the reversing on column won't revers all the
> selected columns
> and an options to append 500 rows of random data (for speed testing).
>
> http://lovepeacenukes.com/tablesorter/2.0/tests/demo2.html
>
> /christian




[jQuery] New (additional) autocomplete demo

2007-04-29 Thread Stefan Kilp [sk-software]

Hi,

thanks to Jörns newest svn updates i finally got my first autocomplete demo 
finished.

to see what can be done with the cool autocomplete plugin see

http://kilp.net/test/autocomplete/autocomplete-demo.html

the important idea about this is that a current (old style form) using a 
pulldown box (with
Paul... can be 
replace by
this new autocomplete plugin but still preserving the bevahior of the old form.
the new form returns the id of the selected elements so that the processing of 
the forms does
not have to change.

Best regards,
Stefan Kilp
--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] Re: Autocomplete plugin problem

2007-04-29 Thread Stefan Kilp [sk-software]

Hi Jörn,

ein update auf die neuste version (28.4 aus svn) hat alle Probleme beseitig :-)

falls du noch ein paar bilder brauchst, hier der link

http://kilp.net/test/autocomplete/___thumb.zip

thanks
stefan

> Stefan Kilp [sk-software] schrieb:
> > Hi Jörn,
> >
> > maybe you could give me a more detailed hint:
> >
> Try this:
>
> $("#ac_werke").autocomplete("imagesearch.php", {
>   delay: 250,
>   width: 300,
>   minChars:2,
>   formatItem: false,
>   selectFirst:true,
>   max: 7,
>   highlight: false,
>   formatResult: function(row) {
>   return row[1];
>   }
>   })
>   .result(function(event, data, formatted) {
>   console.log(arguments);
>  $("#ac_werk_id").value(data[2]);
>   });
>
> Whenever I'm not sure about the arguments passed I output them using
> Firebug's console.
>
> --
> Jörn Zaefferer
>
> http://bassistance.de
>


--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] Re: Autocomplete plugin problem

2007-04-28 Thread Stefan Kilp [sk-software]

Hi Jörn,

maybe you could give me a more detailed hint:

i tried this, but it doesn't work

$("#ac_werke").autocomplete("imagesearch.php", {
delay: 250,
width: 300,
minChars:2,
formatItem: false,
selectFirst:true,
max: 7,
highlight: function(value) {
return value;
},
formatResult: function(row) {
return row[1];
}
})
.result(function(event, data, formatted) {
//alert(data);
var row = data.split(",");
   $("#ac_werk_id").value(row[2]);
});

- is formatItem: false needed?
- is
highlight: function(value) {
return value;
},
  right

- .result(function(event, data, formatted) {
has in `variable data what i first generated with my serverside php script
   |  | id

in the function values are separated with "," instead of "|" ???

any hint for me?

thanks
stefan



> Dan G. Switzer, II schrieb:
> > Stefan,
> >
> >
> >> as i highlight multiple hits (search for "jo ro" in the single person demo)
> >> i need to disable jörns
> >> markup, but i did not find out how.
> >>
> >> formatItem: false,
> >>
> >> did not help. any hit for me?
> >>
> >
> > Last time I checked, disabling the automatically highlighting was still not
> > added to the code base. I do know Jörn has some code done that hasn't been
> > checked in to the SVN yet.
> >
> > I'm hoping to have lots of time to help Jörn out with the code this weekend,
> > so hopefully it'll be closer to be production ready.
> >
> Disabling highlighting is implemented. The interesting part is in the
> plugin method itself:
>
> // if highlight is set to false, replace it with a do-nothing function
> options.highlight = options.highlight || function(value) { return value; };
>
> --
> Jörn Zaefferer
>
> http://bassistance.de
>


--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] Re: Autocomplete plugin problem

2007-04-26 Thread Stefan Kilp [sk-software]

Dan,

hope you both fine time to push the autocomplete project.

waiting for the next release :-)

and maybe you put this on the autocomplete wishlist:

at the moment there is a max parameter to indicate how many items will be shown.
if more than max items where found be the query then a "..." or "more" at the 
bottom of the
autocomplete list would be very helpful so that the user knows that more then 
"max items"
are available if he would narrow his search.

example if you type "st" in then single person demo on

http://kilp.net/test/autocomplete/autocomplete-demo.html

the user could assume that the shown hits where the only hits available, but 
this is not true it
is only limited bei max=20,

Best regards,
Stefan Kilp

> Stefan,
>
> >as i highlight multiple hits (search for "jo ro" in the single person demo)
> >i need to disable jörns
> >markup, but i did not find out how.
> >
> >formatItem: false,
> >
> >did not help. any hit for me?
>
> Last time I checked, disabling the automatically highlighting was still not
> added to the code base. I do know Jörn has some code done that hasn't been
> checked in to the SVN yet.
>
> I'm hoping to have lots of time to help Jörn out with the code this weekend,
> so hopefully it'll be closer to be production ready.
>
> -Dan
>


--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] Re: Autocomplete plugin problem

2007-04-26 Thread Stefan Kilp [sk-software]

Hi Dan,

thanks verys much for your help.

> Stefan,
>
> >i did some test/demos to play with autocomplete plugin.
> >
> > http://kilp.net/test/autocomplete/autocomplete-demo.html
> >
> >i want a kind of highlighted searchresult. for that reason my php script
> >(sever-side) generates data that looks like
> >
> > |  | id1 \n
> > |  | id1 \n
>
> I just looked at the output your server side template is producing and it
> looks like this:
>
> DanielJohns
>
> |Daniel   Johns
>
> |84
>
> All of that should be on a single line. Using a tool like Firebug makes it
> easy to view what you're AJAX calls are returning.

the multiline response was a stupid fault by myself ignoring that my editor has 
\r\n
at the end of every line not \n.

>
> Here's an example of your output:
> http://kilp.net/test/autocomplete/namesearch.php?q=jo&limit=20
>
> Each record should be in the format:
> Daniel Johns|Daniel Johns|84
>
> Also, you're using Joern's version of the plugin, so adding  tags to
> highlight text is going to cause problems (because his code also wraps
> matches in  tags.)
>
as i highlight multiple hits (search for "jo ro" in the single person demo) i 
need to disable jörns
markup, but i did not find out how.

formatItem: false,

did not help. any hit for me?

thanks
stefan
> You'd be better off controlling the way his  tags look via CSS
> styling.
>
> -Dan
>
>


--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] Re: click event and z-order

2007-04-26 Thread Stefan Kilp [sk-software]



> or event.stopPropagation()

is there a way to make this the default behavior.

at the moment i don't see any example where is would make sence that the click 
event is
passed to the underliing element. i think it is a commen behavior in most gui's 
(win, mac, ...)
the only the first element in the z-order receives the event (if it has been 
registered).

the problem is that i have data in rows and at the and of each row there are 
some 'action
icons' (edit, delete, ...) now to select a datarow i bind click event to the 
surounding row
element (div or tr). when i now click on one of the action icons, my select 
event is triggered,
which in this case is not intended.

any idea to solve this problem?

thanks
stefan

>
> - Original Message 
> From: (J)(a)(k)(e) <[EMAIL PROTECTED]>
> To: jquery-en@googlegroups.com
> Sent: Wednesday, April 25, 2007 2:00:50 PM
> Subject: [jQuery] Re: click event and z-order
>
> I believe your answer is false.
>
> if you return false at the end of the click code, no other element will be 
> bothered with the click event.
>
> On 4/25/07,
> Stefan Kilp [sk-software] <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> if have two elements (a image in a table) which have a click event registered 
> (on  and
>  element). if i click on the img in the table both click events are 
> executed. i would expect
>
> that only the first element in the z-order gets the click event.
>
> it there something i missed, how can i change the behavior?
>
> thanks
> stefan
> --
> Stefan Kilp
> SK-Software, Entwicklung & Beratung
>
>
> email: [EMAIL PROTECTED]
>
> fon  : +49 6151 93344-0
> fax  : +49 6151 93344-20
> Herta-Mansbacher-Str. 98
> 64289 Darmstadt, Germany.
> -
>
>
>
>
>
>
> --
> (J)(a)(k)(e) -
>
>
>
>


--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] click event and z-order

2007-04-25 Thread Stefan Kilp [sk-software]

hi,

if have two elements (a image in a table) which have a click event registered 
(on  and 
 element). if i click on the img in the table both click events are 
executed. i would expect 
that only the first element in the z-order gets the click event.

it there something i missed, how can i change the behavior?

thanks
stefan
--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] Autocomplete plugin problem

2007-04-25 Thread Stefan Kilp [sk-software]

hi,

i did some test/demos to play with autocomplete plugin.

http://kilp.net/test/autocomplete/autocomplete-demo.html

i want a kind of highlighted searchresult. for that reason my php script 
(sever-side) generates data that looks like

 |  | id1 \n
 |  | id1 \n
...

i want the second item of the row to be returend as selected value from the 
list, so i tried to make it in this way..

 formatResult: function(row) {
   return row[1];
   },

but it always returns the first item (htmlcode) when i select one item from the 
list. 

What am i doing wrong?

thanks
stefan

--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] Re: ANNOUNCE: Another LightBox Option - Interface ImageBox

2007-04-24 Thread Stefan Petre


Rey Bango wrote:

In searching for a LightBox option that was similar to this:

http://www.huddletogether.com/projects/lightbox2/

I came upon this version which is currently not listed in the plugins 
section:


http://www.intelliance.fr/jquery/imagebox/

The animation and navigation differs from ThickBox and the other 
lightbox plugins currently available and is very smooth overall.


The original version was done by Interface developer Stefan Petre and 
has since received some nice revisions and fixes courtesy of Matthieu 
Paineau.


Definitely take a look at it as it offers a nice UI experience.

Rey...
  

Lets add this to Interface 2. Maybe Matthieu can submit it  to SVN


[jQuery] Re: ANNOUNCE: Another LightBox Option - Interface ImageBox

2007-04-24 Thread Stefan Petre


Rey Bango wrote:

In searching for a LightBox option that was similar to this:

http://www.huddletogether.com/projects/lightbox2/

I came upon this version which is currently not listed in the plugins 
section:


http://www.intelliance.fr/jquery/imagebox/

The animation and navigation differs from ThickBox and the other 
lightbox plugins currently available and is very smooth overall.


The original version was done by Interface developer Stefan Petre and 
has since received some nice revisions and fixes courtesy of Matthieu 
Paineau.


Definitely take a look at it as it offers a nice UI experience.

Rey...
  

Lets add this to Interface 2. Maybe Matthieu can submit it  to SVN


[jQuery] Re: Interface "folder-tree" requests

2007-04-13 Thread Stefan Petre

Hey,

I will rewrite that demo as soon as Interface 2 is finished

Stefan

2007/4/13, Gilles (Webunity) <[EMAIL PROTECTED]>:



I don't know if Stefan is reading this discussion group, but i have
some questions for him. I was wondering if he wants to change the demo
at:
http://interface.eyecon.ro/demos/drag_drop_tree.html

so that it does the following thing:
- Don't allow LI's to be dragged and dropped BELOW their structure
(e.g. further down in the hierarchy). This gives firefox currently an
error.
- Don't allow items to be dropped on thesame (direct) UL as they are
allready a part of.
- If an item can't be dropped there, show no (or a different) class.

The last thing might require a change of the draggable/droppable
code...?

Thanx
Gilles




[jQuery] Re: Interface updates

2007-04-12 Thread Stefan Petre


Priest, James (NIH/NIEHS) [C] wrote:

-Original Message-
From: Stefan Petre [mailto:[EMAIL PROTECTED] 



  
Just wondering as to when Interface updates/fixes are going to be 
released.
I do release guys could  be very busy,  but little heads up 
  
would be 


appreciated.

--Kush

  

Currently we are working on Interface 2.




Stephan I asked this in another post but will there be any more 1.x
releases, esp. bug fixes? 


Just curious - I have a bug open and am just curious if it'll get fixed
in a future 1.x release or if you guys are just moving on to v2 (which
I'm looking forward to BTW!)

Thanks!
Jim

  
I would prefer to spend the little time I have on Interface 2. If this 
fix will help you a lot then

send me an E-mail with the bug and I will let you if I can fix it for you.

Stefan


[jQuery] Re: Interface updates

2007-04-12 Thread Stefan Petre


Kush Murod wrote:


Hi,

Just wondering as to when Interface updates/fixes are going to be 
released.
I do release guys could  be very busy,  but little heads up would be 
appreciated.


--Kush


Currently we are working on Interface 2.

Stefan


[jQuery] Re: Font Size Plugin Take 2

2007-04-12 Thread Stefan Sedich

Heh yeah all good. Setup a wordpress blog for myself now too, will be
posting up more plugins as time passes.

Cheers for your friendly answers.

Stefan

http://monkeysoft.com.au/blog/

On 4/12/07, Joel Birch <[EMAIL PROTECTED]> wrote:



On 12/04/2007, at 9:55 PM, Stefan Sedich wrote:
> Ok its posted under plugins in the userinterface section (see
> howlong until its remove :( heh). Let me know how it goes. Made a
> few changes added reset function. Next will remove the need for the
> cookies plugin and thats it i think.

It won't be removed, its a useful plugin. Hey, even mine are still
there!

Personally, I like that it uses the cookie plugin. I think it makes
sense to do so.

I overlooked the fact that you could just do SetFontSize(0); to go
back to the default size. Not sure that a reset function is needed -
sorry for the red herring.

Cheers
Joel.



[jQuery] Re: Font Size Plugin Take 2

2007-04-12 Thread Stefan Sedich

Ok its posted under plugins in the userinterface section (see howlong until
its remove :( heh). Let me know how it goes. Made a few changes added reset
function. Next will remove the need for the cookies plugin and thats it i
think.

Cheers

Stefan

On 4/12/07, BKDesign Solutions <[EMAIL PROTECTED]> wrote:



This looks great! Needed, is there a demo anywhere for us noobs?

Bruce P
bkdesign

- Original Message -
From: "codemonkey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 12, 2007 5:10 AM
Subject: [jQuery] Font Size Plugin Take 2


>
>
> Sorry first one had no spaces.
>
> Hi made a little plugin that handles resizing the font on a page. Only
> thing
> it relies on is that you have fonts set by em on your page. The plugin
> requires jquery and the cookies plugin.Feedback would be appreciated.
>
> Cheers...
>
> To use simply Initialise it like so:
>
> $(document).ready(function() {
>
> var options = { min: -1, max: 2};
> //Initialize the font sizer for the site.
> $.FontSizer.Init(options);
>
> });
>
> CODE
> --
>
> /**
> * Purpose: Font sizer class, handles increasing and decreasing font size
> of a page.
> * It increases the font in 10% increments. By getting the level / 10 +
1.
> i.e. level 2 is .2 + 1 so 1.2 or 120%.
> *
> * Requires: JQuery and the JQuery cookies plugin.
> *
> * Use: Setup the fontsizer $.FontSizer.Init(options); the two options
are
> min and max, for the min level and max level.
> * Defaults are min: -3 and max: 5.
> *
> * Author: Stefan Sedich ([EMAIL PROTECTED]
> */
> $.FontSizer = {
>
> level: 0,
>
> options : {
> min: -3,
> max: 5
> },
>
> Init : function(options) {
> if(options)
> $.FontSizer.options = $.extend($.FontSizer.options, options);
>
> //Get the current level from cookies.
> var level = ($.cookie('font_level') != null) ? $.cookie('font_level') :
0;
>
> //Set the font size to the current leve.
> $.FontSizer.SetFontSize(level);
>
> },
>
> IncreaseFontSize : function() {
>
> if(($.FontSizer.level) + 1 <= $.FontSizer.options.max) {
> //If we have not exceded the max level,
> //Get the next level and the set the size to this level.
> var next = (parseInt($.FontSizer.level) + 1);
> $.FontSizer.SetFontSize(next);
> }
>
> },
>
> DecreaseFontSize : function() {
> if(($.FontSizer.level - 1) >= $.FontSizer.options.min) {
> //If we have not exceded the min level,
> //Get the next level and the set the size to this level.
> var next = (parseInt($.FontSizer.level) - 1);
> $.FontSizer.SetFontSize(next);
> }
> },
>
> SetFontSize: function(level) {
>
> //Set the current level in the member variable and the cookie.
> $.FontSizer.level = level;
> $.cookie('font_level', level);
>
> //Work out the new em value and set it.
> var level = (level / 10) + 1;
> $("body").css("fontSize", level+"em");
>
> }
>
> };
> --
> View this message in context:
>
http://www.nabble.com/Font-Size-Plugin-Take-2-tf3564312s15494.html#a9955726
> Sent from the jQuery Plugins mailing list archive at Nabble.com.
>
>
>





[jQuery] Re: Font Size Plugin Take 2

2007-04-12 Thread Stefan Sedich

infact could just parse it as an int when i read the cookie initially.

Any other additions needed?

To return to default you would call SetFontSize(0);

might just make a reset method to do..

Cheers

Stefan

On 4/12/07, Stefan Sedich <[EMAIL PROTECTED]> wrote:


Yeah the parseint was due to when its passed from a cookie. Thanks for the
comments, i was expecting someone to flame me for crap code hehehe.

Cheers

Stefan

p.s. How do i go about getting it added to plugins?

On 4/12/07, Joel Birch <[EMAIL PROTECTED]> wrote:
>
>
> On 12/04/2007, at 7:10 PM, codemonkey wrote:
> > Hi made a little plugin that handles resizing the font on a page.
> > Only thing
> > it relies on is that you have fonts set by em on your page. The plugin
> > requires jquery and the cookies plugin.Feedback would be appreciated.
>
> Hi Stefan,
>
> I love it. This is something I have thought about a few times and I
> would have done it very similar to how you have (had I of got around
> to doing it). The code is very easy to read and seems darn near
> perfect to my eye.
>
> Maybe it would be good to have a way of setting the size back to the
> default though. That way the developer could create the buttons for
> 'smaller, default, larger'. Like how in Firefox you can use 'Cmd +'
> and 'Cmd -' (Mac) to increase and decrease the size, and then 'Cmd 0'
> to return to default.
>
> Just wondering why you needed the 'parseInt' function at all. When I
> follow the code it never seems that a string is ever passed in that
> needs parsing. Is it because when the value is returned from a cookie
> it is a string that needs parsing?
>
> I often set the body font to a keyword so I would have to change my
> practices a bit to use this plugin I suppose, but that's no big deal.
> I know its possible to get good consistency with ems also.
>
> Thanks and great work. Definitely try and get around to adding this
> to the plugins page if you haven't already.
>
> Joel.
>




[jQuery] Re: Font Size Plugin Take 2

2007-04-12 Thread Stefan Sedich

Yeah the parseint was due to when its passed from a cookie. Thanks for the
comments, i was expecting someone to flame me for crap code hehehe.

Cheers

Stefan

p.s. How do i go about getting it added to plugins?

On 4/12/07, Joel Birch <[EMAIL PROTECTED]> wrote:



On 12/04/2007, at 7:10 PM, codemonkey wrote:
> Hi made a little plugin that handles resizing the font on a page.
> Only thing
> it relies on is that you have fonts set by em on your page. The plugin
> requires jquery and the cookies plugin.Feedback would be appreciated.

Hi Stefan,

I love it. This is something I have thought about a few times and I
would have done it very similar to how you have (had I of got around
to doing it). The code is very easy to read and seems darn near
perfect to my eye.

Maybe it would be good to have a way of setting the size back to the
default though. That way the developer could create the buttons for
'smaller, default, larger'. Like how in Firefox you can use 'Cmd +'
and 'Cmd -' (Mac) to increase and decrease the size, and then 'Cmd 0'
to return to default.

Just wondering why you needed the 'parseInt' function at all. When I
follow the code it never seems that a string is ever passed in that
needs parsing. Is it because when the value is returned from a cookie
it is a string that needs parsing?

I often set the body font to a keyword so I would have to change my
practices a bit to use this plugin I suppose, but that's no big deal.
I know its possible to get good consistency with ems also.

Thanks and great work. Definitely try and get around to adding this
to the plugins page if you haven't already.

Joel.



[jQuery] Re: Autocomplte plugin status

2007-04-11 Thread Stefan Kilp [sk-software]

Hi Jörn,

just got latest version from svn - nice work.

- i was always looking for a autocomplete plugin that allows me to select 
multiple entries in
one box (e.g when selecting email adresses) for the TO: Field in a mail client.
that's what works fine when i try your demo with multipe cities.

i type "berl" and select berlin by hitting enter, then i type "brem" and select 
Bremen.
now i can delete the last two or three character and select a new city - that's 
fine.
but now i want to change the selected berlin.

would it be possible, the autocomplete not only works at the end of the input, 
but also for all
input between the separator ",".
so i can delete "lin" from "Berlin" an start autocomplete for "ber" again.
that would be very helpful if you notice that one of the selected items in a 
multiselect inputbox
is wrong an you want to correct the input.

- if i type berl in multipe City field, autocomplete shows me three options 
Berlin, Berlin Center,
Berln Heights. Wouldn't make it sence to automaticly highlight the first item. 
and then when
pressing the key down key directly move to the second entry?


Best regards,
Stefan Kilp



> Hi folks,
>
> I've achieved some progress on the autocomplte plugin. The features
> added by Dan Switzer to Dylan's initial plugin are now merged with
> modifications for completing multiple values, like in the gmail
> recpient-field.
>
> I made some minor API changes, changed a lot of default values to
> provide nice behaviour without specifying any options and refactored
> quite a lot of code to be able to fix the bugs I most likely introduced.
> I switched to event delegation for the select box, possibly improving
> performance a bit. Though Dylan's and Dan's caching code is already
> providing fast-as-hell autocompletition.
>
> There is one major issue I want to solve before publishing a first
> release of that rewrite. Until then the code can be found in jQuery's
> repository[1], if anyone is interested in testing: You're welcome!
>
> [1] svn://jquery.com/trunk/plugins/autocomplete
>
> --
> Jörn Zaefferer
>
> http://bassistance.de
>


--
Stefan Kilp
SK-Software, Entwicklung & Beratung

email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-



[jQuery] Re: is child of...

2007-04-06 Thread Stefan Petre


Lwis wrote:

Hi,

short version: how do I find out whether my element is a child of
another element?

long version: I think I want to loop through all elements and check
each of them if it is the element I am searching for or not.

I think I want something similar to YUI (http://www.un-instraw.org/
wiki/training/skins/ycal/yui/docs/treeview/overview-summary-
Node.js.html)
isChildOf function.

Any ideas would be appreciated.
Thanks


  

function isChildOf (parentEl, el, container) {
   if (parentEl == el) {
   return true;
   }
   if (parentEl.contains && !$.browser.safari) {
   return parentEl.contains(el);
   }
   if ( parentEl.compareDocumentPosition ) {
   return !!(parentEl.compareDocumentPosition(el) & 16);
   }
   var prEl = el.parentNode;
   while(prEl && prEl != container) {
   if (prEl == parentEl)
   return true;
   prEl = prEl.parentNode;
   }
   return false;
   }


parentEl = possible parent
el = the subject
container = stop search the this element


[jQuery] Small Interface website update

2007-04-06 Thread stefan . petre

Hi guys,

Long time no see.

http://interface.eyecon.ro/dependencies useful to check dependencies .

Starting next week I will have some free time again and me and Paul
will continue working on Interface 2. I hope this month we will
release it.

Take care.



[jQuery] Re: jQuery Powered Sites - The List Continues to Grow

2007-04-05 Thread Stefan Petre


I don't quite understand; where do you want to add the description?

Rey Bango wrote:


Thanks Stefan. Can you give me a description of the site so I can add 
that?


Rey

[EMAIL PROTECTED] wrote:

I can not show actual links because the products are white labeled. I
made a little screencast from a back end using jQuery to do all sorts
of things

http://www.eyecon.ro/demos/imagebrowser.html








[jQuery] Re: jQuery Powered Sites - The List Continues to Grow

2007-04-05 Thread Stefan Petre


I don't think I will release this since Ext does a better job

Andy Matthews wrote:

I'm more interested to see if he's going to be able to release that as a
plugin!

Just to clarify, I think that looks amazing!


andy 


-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Priest, James (NIH/NIEHS) [C]
Sent: Thursday, April 05, 2007 9:14 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: jQuery Powered Sites - The List Continues to Grow


I'll ditto Andy's comment. :)   This is really slick. 


I'd love to hear more on how you actually did this!

Jim

  

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 05, 2007 10:07 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: jQuery Powered Sites - The List Continues to 
Grow



Holy WOW!!!

I'm assuming that uses PHP for the back end? 


-Original Message-
From: jquery-en@googlegroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Gareth Hughes
Sent: Thursday, April 05, 2007 9:03 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: jQuery Powered Sites - The List Continues to 
Grow



Looks excellent. Very impressive.

- Original Message -
From: <[EMAIL PROTECTED]>
To: "jQuery (English)" 
Sent: Thursday, April 05, 2007 8:49 AM
Subject: [jQuery] Re: jQuery Powered Sites - The List 
Continues to Grow




I can not show actual links because the products are white labeled. I
made a little screencast from a back end using jQuery to do all sorts
of things

http://www.eyecon.ro/demos/imagebrowser.html








  




[jQuery] Re: jQuery Powered Sites - The List Continues to Grow

2007-04-05 Thread Stefan Petre


Yes, the back end is PHP driven but the response is XML

Andy Matthews wrote:

Holy WOW!!!

I'm assuming that uses PHP for the back end? 


-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gareth Hughes
Sent: Thursday, April 05, 2007 9:03 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: jQuery Powered Sites - The List Continues to Grow


Looks excellent. Very impressive.

- Original Message -
From: <[EMAIL PROTECTED]>
To: "jQuery (English)" 
Sent: Thursday, April 05, 2007 8:49 AM
Subject: [jQuery] Re: jQuery Powered Sites - The List Continues to Grow



I can not show actual links because the products are white labeled. I
made a little screencast from a back end using jQuery to do all sorts
of things

http://www.eyecon.ro/demos/imagebrowser.html




  




[jQuery] Re: jQuery Powered Sites - The List Continues to Grow

2007-04-05 Thread stefan . petre

I can not show actual links because the products are white labeled. I
made a little screencast from a back end using jQuery to do all sorts
of things

http://www.eyecon.ro/demos/imagebrowser.html