The syntax is wrong, should be :checked.
On Jan 19, 10:31 pm, Jeff fnd...@gmail.com wrote:
Hi,
I have the following code to ensure at least one report checkbox is
checked on my page
if ($(input[type='checkbox'][checked]).size() == 0)
{
$(#error).css(color,
I would strongly suggest downloading the one of the demos [1], like
the basic one, which will probably help answer all of your questions.
-Eric
[1] http://www.ericmmartin.com/projects/simplemodal-demos/
On Jan 7, 7:57 pm, polarwarp polarw...@gmail.com wrote:
I am using the jquery simplemodal
the images to also change from
blackwhite to colour on hover.
Is that possible with a plugin?
Any hints are very much appreciated.
Martin
Eric,
I don't have IE6 installed (just got a new laptop with windows 7), but
I wasn't able to reproduce the issue in IE8 compatibility mode.
SimpleModal only styles the dialog element, so I'm not sure why that
would be affecting other divs on your page...
-Eric
On Nov 26, 4:50 am, Eric Getchell
Actually, the values are correct, this isn't a bug.
mh and mw stand for maximum height and maximum width. ;) That isn't
apparent from the variable names, but you can tell when they are
assigned.
-Eric
On Nov 15, 9:11 pm, Enobrev enob...@gmail.com wrote:
Found a bug in SimpleModal 1.33
- If
There are a few different ways you could handle this. I've provided a
couple of ideas below
1) after you get the ajax content, check it's height/width and adjust
the container dimensions accordingly:
$('#modal').modal({
onShow: function (d) {
$('#modalclick',
Bruce,
Thanks for reporting the issue. I was able to reproduce the issue and
will work on a fix.
-Eruc
On Oct 29, 10:51 pm, Bruce MacKay b.mac...@massey.ac.nz wrote:
Hi folks,
I've just updated a previously functioning piece of code that uses
the simplemodal plugin - the code does an ajax
I fixed the issue and released 1.3.3[1]. I updated the demo downloads,
but all you need to do is use the newest version of SimpleModal.
-Eric
[1] http://code.google.com/p/simplemodal/downloads/list
On Oct 30, 6:20 am, Eric Martin emarti...@gmail.com wrote:
Bruce,
Thanks for reporting
I'm trying to do a simple show/hide. When a user clicks an a link, I
want to hide the dd for that link. Any ideas why the .children() is
not working?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html
head
Thanks guys,
Nice to get such a quick reply. Thanks for the tips!
Martin
On Oct 27, 4:29 pm, Paul Mills paul.f.mi...@gmail.com wrote:
Hi,
If you just want to do a simple show/hide then you don't need to add a
class. You can use jQuery hide() and toggle() functions.
Like this:
$('#tabs dd
If you use the onClose callback, you must call $.modal.close() to
remove the dialog elements from the DOM. If an onClose callback has
been used, calling $.modal.close() will not trigger the callback
again, it can only happen once.
I suggest using the onShow callback to bind your second event
Michael,
Is it possible to provide a link or post some code examples of what
you are trying to do. If it is undefined in IE, it may be caused by
the way you are loading the scripts or the order you have them in.
You might also try putting all of your code inside a document ready
block to make
I've been noodling around on how to create a pubsub system that doesn't
depend on linking objects and events together. Based on previous post it
turns out to be straight forward with bind and trigger (see code below).
However, two things I can't figure out.
I can't figure out why namespaced
Hi,
I've a technical problem, i use jQuery Form Plugin and it's working
well except for upload file.
Effectively after uploading file we can't see any response in firebug.
(You can see an example in the official website of jquery form plugin
http://malsup.com/jquery/form/#code-samples)
And in
sorter to false?
Martin
below, the slider now doesn't
even show up on a 2nd window open.
Any thoughts greatly appreciated, I'm sure i'm missing something
simple.
-k
On Sep 11, 2:52 pm, Eric Martin emarti...@gmail.com wrote:
Use the onShow callback inSimpleModalto call the slider init code:
$('#basic
Trent,
I'm not quite sure what you are asking. Could you clarify your
question?
Thanks,
Eric
On Sep 12, 7:48 am, Trent 26g...@gmail.com wrote:
How can I embedSimpleModalContact
Formhttp://www.ericmmartin.com/projects/simplemodal/
in the sidebar, whose position is fixed on the scrolling
As long as the content being used in the modal has a height and width
supplied, SimpleModal will use those values to size the dialog.
For example, using the basic demo as a base and given the following:
img src=image.jpg style=display:none; height=400 width=600
id=basic-modal-content/
CSS:
Warren,
Can you send me (or better yet create an issue[1]) with a working code
sample of the issue you are having?
Thanks,
Eric
[1] http://code.google.com/p/simplemodal/issues/list
On Sep 15, 12:09 pm, Warren Benedetto war...@transfusionmedia.com
wrote:
Figured it out myself, so I'm posting
Use the onShow callback in SimpleModal to call the slider init code:
$('#basic-modal-content').modal({onShow: function (dialog) {
$(#slider-vertical, dialog.container[0]).slider({
orientation: vertical,
range: min,
min: 50,
max: 300,
value: 100,
David,
The problem is being caused by the data you are trying to place in the
modal. You can fix it by wrapping the data in a div before using it in
the modal:
$(document).ready(function() {
[snip]
$.get(form.cfm, function(data){
// create a modal
I am attempting to create a box with malsup's jQuery nested corners,
but can't get it to display properly.
Here's my CSS:
testing { margin: 0; background: #ffc; padding: 10px; border:0; zoom:
1;}
div.outer { float: left; margin: 15px; background: #c82; padding: 8px;
width: 22em }
My JS:
If you are referring to the known issues I mentioned - since they are
browser issues,
Eric, thanks for the response. What issues did you mention that I missed?
http://www.ericmmartin.com/projects/simplemodal_v12/#othernotes
[under Known Issues]
you'd need to implement something that
If you are referring to the known issues I mentioned - since they are
browser issues, you'd need to implement something that woul keep track
of state in those browsers.
On Aug 31, 6:45 am, Steffan A. Cline stef...@hldns.com wrote:
on8/30/09 12:48 PM, Steffan Cline at stef...@hldns.com wrote:
With SimpleModal, you can use the persist option:
$(el).modal({persist:true});
There are some known issues in IE though.[1]
-Eric
[1]: http://www.ericmmartin.com/projects/simplemodal_v12/#othernotes
[under Known Issues]
On Aug 30, 12:48 pm, Steffan A. Cline stef...@hldns.com wrote:
I have
What do you get? What were you expecting?
Using $().load() to call in HTML will load only the raw HTML code so
you won't get any images, or styles. If you actually want google to
look and work like google then you'll probably need to load it in an
iframe.
On Aug 28, 9:12 am, ts
call :) thanks!
On Aug 27, 12:22 pm, Leonard Martin leonard.mar...@gmail.com wrote:
Have you also tried accessing your PHP page directly and copying it's
output intohttp://www.jsonlint.com?
I'd also double check your server has the JSON module for PHP
installed, just to be sure
Try accessing the target page directly in the browser and copying the
output into http://jsonlint.com. It sounds like there's an error in
the JSON output.
On Aug 28, 7:07 am, dalvir sainidal...@gmail.com wrote:
hi..
I'm using $.getJSON to get data from WCF service in the form om
json.
Have you also tried accessing your PHP page directly and copying it's
output into http://www.jsonlint.com?
I'd also double check your server has the JSON module for PHP
installed, just to be sure ;-)
On Aug 27, 4:45 pm, MorningZ morni...@gmail.com wrote:
I would suggest using Firefox and
Have you also tried accessing your PHP page directly and copying it's
output into http://www.jsonlint.com?
I'd also double check your server has the JSON module for PHP
installed, just to be sure ;-)
On Aug 27, 4:45 pm, MorningZ morni...@gmail.com wrote:
I would suggest using Firefox and
You will either need to use the live plugin as follows:
$('#thumbs a').live('click',function(){...});
Or move the binding of your 'click' inside the callback function of
your $.ajax call so it would then look like:
.appendTo('#thumbs').click(function(){...});
As it is you're trying to bind
Of course, just pure force of habit still makes me call it a plugin.
On Aug 26, 9:51 am, Paolo Chiodi chiod...@gmail.com wrote:
live is no longer a plugin, but core of jquery
Paolo
On Wed, Aug 26, 2009 at 10:14 AM, Leonard
Martinleonard.mar...@gmail.com wrote:
You will either need to
Looks like a case of asynchronous-itis. You're reading the val() of
the load()-ed div before the Ajax call has had a chance to respond.
What you'll want to do is add the fancyBox stuff to the callback
function for load() like this:
You're not actually setting the source once you've replaced it:
$('li.clickable').hover(function() {
$(this).find('img').attr('src', $(this).find('img').attr
('src').replace(_off,_over));
}, function() {
$(this).find('img').attr('src', $(this).find('img').attr
Yes, you (wheatstraw) just need to remember that attr('src') returns a
string and *not* a reference to the src attribute.
On Aug 26, 5:16 pm, amuhlou amysch...@gmail.com wrote:
I think keeping the source in a variable is the key here, try this:
$('li.clickable').hover(function() {
Vru,
The actual code would depend on exactly what you are trying to do, but
taking the onShow callback function test[1], I modified the code to
resize and reposition the container:
function modalShow (dialog) {
var self = this;
dialog.data.find('input.animate').one('click',
Luis,
Can you be a little more clear on what the problem is? Do you have a
link or sample (working) code I can see?
-Eric
On Aug 23, 6:55 am, lfrodrigues lfrodrig...@gmail.com wrote:
Hi,
I've been using simple modal for quite some time.
Now I have a problem. I have some code with uses
In this case you need to wrap the code inside the onclick in a
function:
onclick=function(){int=clearInterval(int);}
although obviously better would be to use $.click to bind the event:
$('button#foo').click(function(){int=clearInterval(int);});
You will probably also want to check that the
well. Divs
and javascript reminds me of painful times with Movieclips and
Actionscript. :)
As you might guess I have done some tests and am part of the way
there... I thought it would be better to ask for advice now before I
put too much time into it and work in the wrong direction.
thanks
Martin
I've been trying to write an extension to the animate function to
allow the animation of elements along a parameterised path (in the
original motivation this was around the diameter of a circle) whilst
keeping use of things like $.easing and $().stop(). I've managed to
put something together that
Apologies, I missed the link:
http://in.tellig.net/jquery.animateparam/jquery.animateparam.js
and
http://in.tellig.net/jquery.animateparam/ for an example.
On Aug 19, 2:08 pm, Leonard Martin leonard.mar...@gmail.com wrote:
I've been trying to write an extension to the animate function
The trouble is that the $.post is run asynchronously so anything after
the $.post will be executed before the callback function.
If you want the returned data to be available outside the callback
then it will have to be inside a function which is called from within
your callback method.
e.g.
I think if you reverse the parameters you're passing to stop() then
that should achieve what you're after.
You want to clear the queue (true for first parameter) but stop the
animation where it is, not go to the end (false for second paramter).
On Aug 20, 3:16 pm, Xenongasman
I don't think so. I tried it with ClearType enabled and disbaled and
the effect was the same either way. It also seems not to affect MSIE,
only Gecko and Webkit.
On Aug 20, 2:49 pm, Liam Potter radioactiv...@gmail.com wrote:
Might have something to do with cleartype?
Leonard Martin wrote
:
Might have something to do with cleartype?
Leonard Martin wrote:
Apologies, I missed the link:
http://in.tellig.net/jquery.animateparam/jquery.animateparam.js
and
http://in.tellig.net/jquery.animateparam/for an example.
On Aug 19, 2:08 pm, Leonard Martin leonard.mar...@gmail.com wrote
. /geek
On Aug 20, 5:25 pm, Quang Ngo quang4...@gmail.com wrote:
On Thu, Aug 20, 2009 at 6:56 AM, Leonard Martin
leonard.mar...@gmail.comwrote:
I don't think so. I tried it with ClearType enabled and disbaled and
the effect was the same either way. It also seems not to affect MSIE,
only
Hello,
I noticed that after an ajax call, my jquery no longer works. After some
research I realized I had to use either the livequery plugin or the live
event provided out of the box by jquery 1.3.x.
However, the live event used as follows does not work i.e.
cacherFormulaireInscription does not
thanks Giovanni i'll try that.
2009/8/19 Giovanni Battista Lenoci gian...@gmail.com
Julien Martin ha scritto:
Hello,
I basically want to catch any ajax request sent by my app and display an
alert.
I have tried this to no avail:
*jQuery(*).ajaxSend(function(event,request, settings
Hello,
I basically want to catch any ajax request sent by my app and display an
alert.
I have tried this to no avail:
*jQuery(*).ajaxSend(function(event,request, settings){
alert('called');
});*
whenever an ajax request is made the alert does not show...
note that the ajax request is made
While sorting a table with the Tablesorter plugin, I'd like to have a
table cell within an interior column use the rowspan attribute (the
result being this column has only a single value). I can't figure out
how to use it however. The docs I saw (http://lovepeacenukes.com/
tablesorter/2.0/docs/)
Michael,
You need to initialize any third party scripts in the SimpleModal
onShow callback. Here's an example of using Datepicker with
SimpleModal:
http://www.ericmmartin.com/code/datepicker/
-Eric
On Aug 7, 2:34 am, Michael Anckaert michael.ancka...@gmail.com
wrote:
Hello everyone,
Using
Chris,
Regarding SimpleModal, wouldn't this accomplish what you are looking
for?
$.modal('iframe src=http://www.ericmmartin.com; id=iframeTest
name=iframeTest height=450 width=830 style=border:0 /', {
closeHTML:,
overlayClose:true,
containerCss: {height:450, width:830}
Do you have a link? Can you disable the scroll in the page. If not,
how about disabling it in the modal:
$(element).modal({onShow: function (d) {
d.wrap.css('overflow','hidden');
}});
-Eric
On Jul 29, 8:44 am, junkqwe urize...@gmail.com wrote:
I am using simplemodal 1.3
my modal shows a
=Jump/a
/li
/ul
dl
dt id=a1Title/dt
ddSome text/dd
/dl
I know this can be made more compact and elegant, but I don't know how
to do it.
I appreciate any pointers and tips on how to improve my code.
-Martin Berglund
I'm not familiar with CF - so I'm not sure if it handles forms
differently (link .NET), but you should be able to use the onShow
callback to bind the form submit and handle it accordingly.
Check out the Contact Form demo[1] for an example.
-Eric
[1] http://www.ericmmartin.com/simplemodal
On
Do you need to host it yourself and does it need to be private? If
not, how about Project Hosting on Google Code[1]?
[1] http://code.google.com/projecthosting/
-Eric
On Jun 9, 4:20 am, Paulodemoc paulode...@gmail.com wrote:
Someone here would happen to know a good bugtracking system that I
Thanks for the reply.
I've since established that my clients website is a fairly standard
CMS type setup.
So his webmaster is now able to make all the changes that i require.
Again thanks anyway :-)
Martin.
On 26 May, 16:02, Charlie charlie...@gmail.com wrote:
I'm working on a Google Map
, eventhough the css for each element is different. I
think the best way to avoid this problem is to use flow control to
exclude the other mouse click event. If element A is clicked then
skip B
Regards
Martin Ikediashi
click on the X (#accountButtons div.question b) ...
$(#accountButtons div.question).click(function(){
Do A
});
$(#accountButtons div.question b).click(function(){
Do B
});
Regards
Martin Ikediashi
On May 26, 12:08 pm, Steven Yang kenshin...@gmail.com wrote:
how do you click A and invoke
i might change it to use my new map?
Once my map is complete it shall be hosted on my clients website btw
and not on my domain.
Thanks a lot for any pointers.
Martin.
Got it working thanks yang..
Merely did..
$(#accountButtons div.question b).click(function(e){
Do B
e.stopPropagation();
});
That fixed the problem so event A isnt fired...
On May 26, 12:08 pm, Steven Yang kenshin...@gmail.com wrote:
how do you click A and invoke B's onclick?the only
Hello,
I am trying to re-render through ajax a richfaces element contained in a
cluetip tooltip div and it is not working. Can anyone help please?
Here is the code for the div:
a id=aa rel=#tttoto/a
div id=tt style=display: none
a4j:outputPanel id=sculptureSuggereeTT
Hello,
I am trying to re-render through ajax a richfaces element contained in a
cluetip tooltip div and it is not working. Can anyone help please?
Here is the code for the div:
a id=aa rel=#tttoto/a
div id=tt style=display: none
a4j:outputPanel id=sculptureSuggereeTT
Hi Folks,
i have a big roblem with a little getJSON request. At first..this is my
code:
=== HTML ===
buttondicken ajax-request ausführen!/button
ul id=myList
/ul
/body
=== JavaScript ==
$(function(){
$(button).click(function(){
$.getJSON(myJson.js, myCallback);
Thanks for your example. Now its working like it should :-D
I just took a look and it looks like the main issue is that you are
not binding the link correctly. You need to modify the selector in
confirm.js from:
$('#confirmDialog input.confirm, #confirmDialog a.confirm').click
(function (e) {
...
});
to:
$('#navPhysicians a.confirm').click(function (e)
, and the assistance to get it working!
On May 6, 3:49 pm, Steeleclipse steelecli...@gmail.com wrote:
Thanks for your reply. I will try that tonight and post how it goes!
On May 6, 3:37 pm, Eric Martin emarti...@gmail.com wrote:
I just took a look and it looks like the main issue
to have one,
smooth-looking loader animation to use on all background colors/image.
Thanks!
Cheers,
Martin
I would like to use treeview separated in the navigation container
'main' without resetting Base Font Size in screen.css file to
htmlbody {
font-size: 16px;
font-size: 68.75%;}
body {
font-size: 68.75%;}
Setting main container in screen.css file directly to
#main {
to use unbind in the addGoal
code block, but this interferes the creation of the next dialog box.
Any ideas
Martin
2 April 2009
My name is Martin Streicher. I am pleased to announce three new
publications dedicated to web developers.
Red: The Journal of Ruby Development
Facade: The Journal of Front-end Development
Tabula: The Journal of Open Source Database Development
The three publications obviously
is not a function
Also, I guess it's not possible to animate the li's on menu close
without hacking the core code, because onHide is triggered after the
menu is made invisible, correct?
Martin
On Mar 31, 1:23 am, Martin Evans evans...@gmail.com wrote:
Hi everyone,
I've been playing with Joel's
Like it was mentioned above, the noConflict() call has to come right
after loading jQuery and before loading the other libraries.
-Eric
On Mar 31, 11:54 pm, pyt paya...@gmail.com wrote:
Hi,
I have the same problem with FF2 on my eeePC (linux)
The code is
//---
script
together at
the end of their travel, and do the opposite in reverse. Is this
possible to do by passing a parameter, or will editing of the core
script be required?
Thank you for reading!
Martin
Doug,
In your first example, the data is not in the DOM yet. Try something
like:
$(#button-sales).click(function(e) {
e.preventDefault();
$.get(includes/institutional-sales.html, function(data){
// create a modal dialog with the data
$('div' +
John,
I don't see where you are calling the modal, but you may be having
issues if you aren't binding/looking for the data in on of the
callbacks, like onShow.
-Eric
On Mar 29, 7:38 pm, John jmcl...@birchrunsoccer.org wrote:
Hello all,
My dilemma is this.
I have a simple form with several
Hello Acamar,
You were correct it was a CSS issue, some css defining another a
link was getting mixed up with the tab links. Once I specified the
separate a link more precisely using a class qualifier (i.e. was a
now a class=banner, the problem was resolved.
Thanks for your help...
Martin
this issue and know of a quick fix?
Martin
(images/ui-
bg_glass_65_ff_1x400.png) 50% 50% repeat-x; font-weight: normal;
color: #212121; outline: none; }
.ui-state-active a, .ui-state-active a:link, .ui-state-active
a:visited { color: #212121; outline: none; text-decoration: none; }
Martin
issue, associated with the a links, but that didnt make much
difference...
Regards
Martin Ikediashi
If you get the data and then use it in the dialog, it will bind the
simplemodal-close class. Otherwise, you have to do it manually in the
onShow callback.
The following will auto-bind:
$('#mylink').click(function (e) {
e.preventDefault();
// load the contact form using ajax
, but HTML
would
be by far the fastest.
Is either of those changes - to HTML or JSON - feasible? XML is the worst
choice for this kind of operation.
-Mike
--
Martin Tiršel
group of users.
Martin
On Tue, 24 Mar 2009 18:29:33 +0100, Michael Geary m...@mg.to wrote:
From: Martin Tiršel
I need to hold some things in memory for later use, so pure
html is not ideal. I will try JSON, if it will be under 5-7
seconds for 500 items, it should be ok.
In fact, you can get
their product, see
http://forum.avira.com/wbb/index.php?page=ThreadthreadID=82913.
• Mac clients are not currently supported. (Yes, we're sorry and we hear you!)
Cheers,
Martin
+
'/tdtd class=fourthnbsp;/td/tr';
});
table += '/tbody/table';
$(#content_window_pages).append(table);
...
XML structure can be changed if it helps to speed up the script.
Thanks for any suggestions,
Martin
be interesting too:
http://scvdotnet.org/index.php?/archives/8-Autofitting-iFrame.html
Cheers,
Martin
and add class
doesnt work
$selected.find(b).removeClass().addClass(subtraction);
Does anyone have a solution to this problem?
Regards
Martin Ikediashi
...@crowdersoftware.com wrote:
Hi Martin,
(Disclaimer: I'm really new at jQuery, though not at DOM scripting.)
It sounds like you're saying that this line:
var $selected = $(this).children(th.name);
...isn't finding any matching elements and that that's why you can't
find the b child of the th. What's
) simplemodal
plugin. Could you please post your original reply to the group to help
others with this same problem?
Many thanks.
On Mar 11, 4:36 am, Eric Martin emarti...@gmail.com wrote:
Ricardo,
I believe I responded to your email, please let me know if you were
unable to resolve this.
-Eric
. It has caused a lot of frustration, so if anyone
could help it would be great
Martin
Thanks that worked perfectly.
On Mar 10, 4:48 pm, Liam Potter radioactiv...@gmail.com wrote:
put a div around everything, give it a maximum width and position:relative;
this will trap your absolute positioned elements.
Martin wrote:
Hello all,
I am trying to use a slider that when
Ricardo,
I believe I responded to your email, please let me know if you were
unable to resolve this.
-Eric
On Mar 10, 8:46 am, Ricardo Garcia Vega
ricardo.garcia.v...@gmail.com wrote:
Hi! I\'m using your great plugin, but I have a problem with
IE7. The problem comes after closing de
it slide from right to left? (opposite direction to the default)
My code is very simple
$(#col3 div.sliderTrigger).click(function(){
$(div.Slider).toggle(slide);
});
Regards
Martin
-1[1].3.2.js: line 1: Error -- FSUM9393 line too long: limit
65536
For jquery-1[1].3.2.min.js I just see high CPU utilization and no
results (have let this run as long as 20 mins).
Can anyone tell me what I am doing wrong?
Thanks, ...Larry
Larry D. Martin
Mainframe Systems
Ron,
It sounds like the CSS just isn't pointing to the right place. Do you
have a link I can view?
-Eric
On Feb 23, 4:27 pm, Ron stecklyena...@gmail.com wrote:
Hi,
I'm using the SimpleModal library to display help text in a modal
popup. We are using the a.closeimg in the stylesheet to
but
then the div doesnt show at all
thanks,
Martin
(if writing this message changes the discussion subject then I
apologize, I don't know why it's doing that!)
On Jan 14, 11:00 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
You can specify rules using plugin options. Take a look
oh you legend, that works!
that's an amazing plugin you've made, many thanks :)
thanks again,
Martin
On Feb 13, 5:07 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
Add this:
errorContainer: $(.js_error_container)
That'll show and hide the container accordingly.
Jörn
On Fri
me and thanks in advance
Martin Hintzmann
... sorry I should have google it a bit more before asking for
help...
What I was searching for is called a horizontal accordian.
And I found a very good example right here
http://designreviver.com/tutorials/jquery-examples-horizontal-accordion/
, if that is an understandable way to explain it.
You can se it here: http://jsbin.com/ikobi
- Martin Berglund
1 - 100 of 227 matches
Mail list logo