[jQuery] problem with jquery

2007-10-24 Thread mark
Hi All, I am a new person to the world of jQuery. I am having a problem in my first program only. Please tell me what is wrong over here. My code is : htmlhead script type=text/javascript src=jquery.js/script script type=text/javascript $(document).ready(function() {

[jQuery] jquery 1.2.1 and form plugin

2007-10-20 Thread Mark
in the form plugin site. Thanks. Mark

[jQuery] Re: Syntax for bind using a string from a variable for the callback functions name

2007-10-17 Thread Mark Lacas
Got it, here is how I did it. Works great! Thanks all. ml $( .object ).each( function() { var element = this; var dblclick_func = $( #+element.id + .dp_properties).attr(dp_dblclick_func); if ( typeof( dblclick_func ) != undefined ) {

[jQuery] Re: How to dynamically load javascript from a database instead of using getscript?

2007-10-17 Thread Mark Lacas
Got it. My answer to my own questiong and other's responses. I'm using a perl cgi to access the database and it turns out I didn't even have to use eval. I just insert the script chunk with the inspector code from that database. $(#+dp_id + .dp_inspector_code).append( safescript( 'script

[jQuery] How to dynamically load javascript from a database instead of using getscript?

2007-10-16 Thread Mark Lacas
I have looked high and low and can only find references for dynmically loading javascript using ajax from a file. I have chunks of javascript that I want to keep in MySQL and load them on demand. They are simple chunks of text that end up in a variable. I need to inject the text from that

[jQuery] Syntax for bind using a string from a variable for the callback functions name

2007-10-16 Thread Mark Lacas
Hello, I'm stuck on a silly detail. I want to bind a click to a function whose name is a simple string in a variable from a database I've tried a number of different syntactical combinations but none seem to work. Here is my code: $( .object ).each( function() { var element = this;

[jQuery] Re: Access parent page from ajax generated html

2007-10-15 Thread Mark
It did work! I will keep digging. Sorry for the premature post. On Oct 14, 6:35 am, Mark [EMAIL PROTECTED] wrote: The example code there doesn't do everything it needs to test this out. I the part between the !-- BEGIN -- and !-- END -- needs to be retrieved by ajax I guess I could put

[jQuery] Re: Access parent page from ajax generated html

2007-10-14 Thread Mark
, Wizzud [EMAIL PROTECTED] wrote: Apart from the fact that it's a manual action, what doesn't work with the example code? On Oct 13, 3:23 pm, Mark [EMAIL PROTECTED] wrote: It seems this post was deleted... Why? If I have a main page and a section of it generated by Ajax, how do I access

[jQuery] Access parent page from ajax generated html

2007-10-13 Thread Mark
It seems this post was deleted... Why? If I have a main page and a section of it generated by Ajax, how do I access an element in the main page from the section generated by Ajax? Or, in code speak: (how can I make something like this work) html img id=removeMeAfterAjax

[jQuery] Re: Star rating plugin for 1.2?

2007-10-12 Thread Mark
Sorry for reviving this thread but i'm kinda stuck with this plugin. The plugin itself is working how it should work so there is not a issue there.. it's just that i want to do something that i find hard to do in this case. Thsi is what i try to do: 1. The user sees rating images and can cast a

[jQuery] Access parent page from ajax generated html

2007-10-12 Thread Mark
If I have a main page and a section of it generated by Ajax, how do I access an element in the main page from the section generated by Ajax? Or, in code speak: (how can I make something like this work) html img id=removeMeAfterAjax src=images/fredington.jpg / div id=AjaxHolder

[jQuery] Re: ajaxSend one call, many separate events

2007-10-11 Thread Mark
the ajax call? eg. $('.control').click(function(e){ $(this)..// replace image with 'waiting' image $.ajax(); // make ajax call }); On Oct 10, 3:38 pm, Mark [EMAIL PROTECTED] wrote: Let's say I have 10 icons on a web page. Clicking an icon will change it from it's colored

[jQuery] Re: ajaxSend one call, many separate events

2007-10-11 Thread Mark
image with 'waiting' image $.ajax(); // make ajax call }); On Oct 10, 3:38 pm, Mark [EMAIL PROTECTED] wrote: Let's say I have 10 icons on a web page. Clicking an icon will change it from it's colored version to it's gray scale version. Changing flag states if you will. Lets

[jQuery] Re: ajaxSend one call, many separate events

2007-10-11 Thread Mark
on the clicked element prior to making the ajax call? eg. $('.control').click(function(e){ $(this)..// replace image with 'waiting' image $.ajax(); // make ajax call }); On Oct 10, 3:38 pm, Mark [EMAIL PROTECTED] wrote: Let's say I have 10 icons on a web page. Clicking an icon

[jQuery] Re: Superfish embed flash object

2007-10-10 Thread Mark
Thanks for the advice, works perfectly. Cheers Mark On Oct 10, 3:57 am, brianfidler [EMAIL PROTECTED] wrote: I don't believe this has anything to do withSuperfishor jQuery. Try adding the following code to your HTML where yourFlashmovie is embedded: param name=wmode value=transparent

[jQuery] Re: Superfish embed flash object

2007-10-10 Thread Mark
Thanks for the advice, it working now. Cheers Mark On Oct 10, 3:50 am, cbs1918 [EMAIL PROTECTED] wrote: For your embededflashobject set your wmode to transparent. On Oct 9, 9:50 am, Mark [EMAIL PROTECTED] wrote: Hi Joel, I am usingsuperfishon a page with an embededflashobject, the menu

[jQuery] ajaxSend one call, many separate events

2007-10-10 Thread Mark
Let's say I have 10 icons on a web page. Clicking an icon will change it from it's colored version to it's gray scale version. Changing flag states if you will. Lets say, just for example, it takes 3 - 5 seconds for the icon to change because it has to wait on the server to process the request

[jQuery] Superfish embed flash object

2007-10-09 Thread Mark
upgraded to jquery 1.2.1 and superfish 1.3.1, however my style sheet is a modified version of an earlier vertical example (has it been modified for 1.3.1?). Thanks Mark

[jQuery] $(#id).get() vs getElementByID()

2007-10-04 Thread Mark Lacas
Hello, This works when calling an external javascript library: var doodad = document.getElementById(plasma); Drag.init( doodad ); And this doesn't: var doodad = $(#plasma).get(); Drag.init( doodad ); They both return [object HTMLDivElement] Am I missing something? Thanks, ml

[jQuery] Re: jCorner problem?

2007-09-28 Thread Mark
On Sep 27, 10:57 pm, Mike Alsup [EMAIL PROTECTED] wrote: Because of the nature of floats, I don't really see a universal solution. Wrapping an element or changing its position naturally would have a great affect on layout. I don't think this is a problem with floating the cornered div,

[jQuery] jCorner plugin not working as expected

2007-09-26 Thread Mark
is in http://www.augustine.com/inc/jquery.js and the jCorner is in http://www.augustine.com/inc/corner.js Please let me know if you need more information as I am very hopeful to solve this problem. Mark augustine.com

[jQuery] Re: jCorner problem?

2007-09-26 Thread Mark
On Aug 21, 6:42 pm, Stephan Beal [EMAIL PROTECTED] wrote: On Aug 21, 9:58 pm, Mark [EMAIL PROTECTED] wrote: This is the result I am expecting --http://www.augustine.com/images/test/expected.jpg . This is what I get --http://www.augustine.com/images/test/actual.jpg . I am using

[jQuery] Please help: How to simulate a Tab key press with jQuery

2007-09-15 Thread Mark
, but seems that no event is called at all. If anyone know how to this, please help, it is really needed to finish this project. Thanks in advance, Bye Mark

[jQuery] Re: Help with Superfish IE6 quirk

2007-09-06 Thread Mark
Hi Joel, Thanks so much for you help. Its working great. Cheers Mark

[jQuery] Help with Superfish IE6 quirk

2007-09-05 Thread Mark
'conferences' the menu items below it move. There are only 2 menu items that have second level menus (conferences weddings). http://www.newportmirage.com.au/devel/ Any advice on how to solve this would be greatly appreciated. Thanks in advance. Mark

[jQuery] Re: How do i get the hover effect working with fadeIn?

2007-09-04 Thread Mark
You don't need all of Interface, just ifx and maybe iutil. Or you could use highlightFade. I made a little demo: http://erikandcolleen.com/erik/projects/jquery/hoverfade/ Wonderful. if i don't need all of interface than i might just do that. Thanx alot for the demo.

[jQuery] Re: How do i get the hover effect working with fadeIn?

2007-09-03 Thread Mark
Oke, i'm currently useing the HighlightFade plugin to get something nearly the same done but it's still not quite how i want it.. some help here would be good.

[jQuery] Re: How do i get the hover effect working with fadeIn?

2007-09-03 Thread Mark
what i want is: hover a element and while your mouse is hovering that element the color should fadein to the hover color and stay like that until you hover out of it. than it should fadeout to the default background. 2007/9/3, Joel Birch [EMAIL PROTECTED]: Hi Mark, The code used at http

[jQuery] Re: How do i get the hover effect working with fadeIn?

2007-09-03 Thread Mark
If you use interface, you can animate colors with the regular animate function. Fading is for changing opacity. Maybe you want something like (untested): var originalColor = 'red'; var hoverColor = 'blue'; var duration = 1000; $(...).hover(function() {

[jQuery] Re: How do i get the hover effect working with fadeIn?

2007-09-02 Thread Mark
anyone?

[jQuery] Re: A Newbie Question

2007-09-02 Thread Mark
Another common solution is to have an image or a div that you just show while loading and hide using the callback function... script type=text/JavaScript $(document).ready(function(){ $('#loadImg').show(); var fCallback = function(){ $('#loadImg').hide(); } $(#show).load(file.php,

[jQuery] How do i get the hover effect working with fadeIn?

2007-09-01 Thread Mark
when the first effect is still busy the effect should restart instead of finishing the first effect and than running the second. Thanx, Mark.

[jQuery] jCorner problem?

2007-08-21 Thread Mark
This is the result I am expecting -- http://www.augustine.com/images/test/expected.jpg . This is what I get -- http://www.augustine.com/images/test/actual.jpg . I am using standard corner syntax, $(this).corner(); .. this 'actual' result only occurs in Internet Explorer when the page is

[jQuery] Re: Problem with jQuery + Dimension plugin + Autocomplete plugin + Float

2007-08-06 Thread Mark
Hi Brandon, I am using pixels, and in some cases % for widths. (most of them 100%) The problem not happens in Explorer 7, only in explorer 6. On 20 jul, 23:51, Brandon Aaron [EMAIL PROTECTED] wrote: Are you using units other than pixels for anything? -- Brandon Aaron On 7/20/07, Mark

[jQuery] Re: Good Javascript editor or IDE?

2007-08-01 Thread Mark D. Lincoln
or higher). Spket currently supports Ext, jQuery, and YUI with features like code completion. I tried Aptana a while ago and its support for jQuery was lacking at the time. This may have changed, but since I found Spket, I am going to stick with it for a while. Mark D. Lincoln Mark D

[jQuery] Re: A little different edit in place. (use a link to initiate the edit)

2007-07-30 Thread Mark
and than call the function when you click the link but that didn't work. Mark - you might be able to nudge the jEditable creator to mod the plugin to allow for a remote activator. Or, if you're feeling adventurous you could do it yourself. It would be a fairly signifcant mod however, since

[jQuery] Re: Problem with jQuery + Dimension plugin + Autocomplete plugin + Float

2007-07-20 Thread Mark
. Bye! On 17 jul, 16:45, Brandon Aaron [EMAIL PROTECTED] wrote: Could you still send me an example of the issue you are having? -- Brandon Aaron On 7/17/07, Mark [EMAIL PROTECTED] wrote: I've downloaded the latest version of dimensions and still having the same problem (anyway

[jQuery] Resizable textarea

2007-07-17 Thread Mark
Does anyone could combine a textarea with a Drag and Resize plugin to create a Resizable Textarea. (A feature like this is available in TinyMCE). Thanks. Mark

[jQuery] Problem with jQuery + Dimension plugin + Autocomplete plugin + Float

2007-07-14 Thread Mark
with if ($.browser.msie)... Anyone knows why it is happening? ...maybe I am doing something wrong with the floats... If this is an IE bug, maybe could be fixed in the dimensions plugin. Thanks Mark.

[jQuery] strange behaviour with jquery and forms plugin

2007-07-12 Thread Mark
in advance Mark.

[jQuery] run javascript through the address bar on a site

2007-06-22 Thread Mark
Hey, This question is not but related to jquery but to javascript. i hope this is the right place for that aswell. On some sites that i visit there are some annoying ads which can be blocked by changing there style to: display: none; to do this in javascript itself you need to do something like:

[jQuery] Re: run javascript through the address bar on a site

2007-06-22 Thread Mark
22, 9:03 am, Mark [EMAIL PROTECTED] wrote: Hey, This question is not but related to jquery but to javascript. i hope this is the right place for that aswell. On some sites that i visit there are some annoying ads which can be blocked by changing there style to: display: none; to do

[jQuery] Re: sortable:how to with tables?

2007-06-18 Thread Mark
a bug. I had a similar problem a while back and in the end I found the only real option I had was to replace the table with a different data structure (I used an ol) and then simulate the table cells by subdividing each line with styled spans. On Jun 17, 11:15 pm, Mark [EMAIL PROTECTED] wrote

[jQuery] Re: Javascript question: Get elementid inside an element

2007-06-02 Thread Mark
it`s unlikely but possible for an id to be in the page for more than once.. i will try to avoid it :) And thanx for the reply`s. it has been very helpfull. 2007/6/1, Sean Catchpole [EMAIL PROTECTED]: As stated, the document.getElementById will only work on document, and will only return the

[jQuery] Re: Really nice Ext Grid

2007-06-02 Thread Mark
damn that stuff looks nice!! i would like to have the tooltips from that page in a seperate jquery extension :) and the menu. 2007/5/31, John Farrar [EMAIL PROTECTED]: Michael Stuhr wrote: Erik Beeson schrieb: Maybe this isn't news, but these are the sweetest grids I've ever seen, even

[jQuery] Javascript question: Get elementid inside an element

2007-06-01 Thread Mark
possible) So how do i get the id: 0011 without the document thing? i tried this: var test = document.getelementbyid('001'); alert(test.getelementbyid(0011).InnerHtml); but that isn`t working. I hope someone could help me with this. (above code is not tested) Thanx in favor, Mark

[jQuery] Re: Javascript question: Get elementid inside an element

2007-06-01 Thread Mark
Could you also post the non jquery code? (i just would like to know :)) 2007/6/1, Juha Suni [EMAIL PROTECTED]: Well id's really should always be unique. But if you really want to do this, try: alert($('#001').children('#0011').html()); - Original Message - *From:* Mark [EMAIL

[jQuery] New plugin: Model (for client-side MVC implementations)

2007-05-18 Thread Mark Gibson
- Mark Gibson

[jQuery] Re: New plugin: Model (for client-side MVC implementations)

2007-05-18 Thread Mark Gibson
/jquery.mvc.js On May 18, 1:00 pm, Mark Gibson [EMAIL PROTECTED] wrote: Hello, I've got a new plugin for jQuery. It's a simple data model, useful for implementing a client-side MVC pattern.

[jQuery] Re: New plugin: Model (for client-side MVC implementations)

2007-05-18 Thread Mark Gibson
On May 18, 2:47 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Thats quite interesting stuff. Some things of my mind: Use the metadata plugin to specify and read metadata. It would be nice if the textarea with the serialized model data could be edited. Once you change something, the form is

[jQuery] Re: New plugin: Model (for client-side MVC implementations)

2007-05-18 Thread Mark Gibson
On May 18, 3:12 pm, Brandon Aaron [EMAIL PROTECTED] wrote: I like that! In addition to what Jörn said I would suggest using the $.model namespace for all your other properties and methods. So $.modelOptions would then become $.model.options. This will cut down on the jQuery global namespace

<    1   2   3