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() {
in the form plugin site.
Thanks.
Mark
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 ) {
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
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
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;
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
, 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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
, 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
Hi Joel,
Thanks so much for you help. Its working great.
Cheers
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
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.
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.
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
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() {
anyone?
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,
when the first effect is still busy the effect should restart instead
of finishing the first effect and than running the second.
Thanx,
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
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
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
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
.
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
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
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.
in advance
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:
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
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
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
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
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
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
- 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.
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
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
201 - 251 of 251 matches
Mail list logo