Hi all
I am using jquery animation on a div. Which contain transparent
background image. Changing the opacity property from 0 to 1 using
animation, transparent portion of the background image become black in
IE7. It works in FF.
code-:
$(#alldivpopup).css({'opacity' : '0','display' :
Hi all,
I am using jQuery BlockUI Plugin (v2). It works success but I have a
small problem, when I click the link, it is bloclking the page but the
main page goes up.
Also same problem for link which is oppening new tab or new windows.
main pages goes up when I click the link.
any advice
Not familiar with the BlockUI plugin. But, do you have a .click() event
somewhere related to that link? If so, return false from the event handler.
Setting href=# means a named anchor. # by itself is top of the
page. So, if the anchor tag's normal click handler is executed, you'll
be
Hi thaks for your reply,
How can I stop normal handler.
my link is like that..
script type=text/javascript
function information(){
jQuery.blockUI({ message: jQuery('#111'), css:
{border: '0px solid #a00', textAlign:'center'} });
};
/script
a href=#
Thank you both for your reply, Finally I got it to work, actually I
was trying to link to the library within a MasterPage while the
ContentPage was located in another virtual directory, after i found
the problem is because of incorrect reference I just changed directory
to where my content page
judging from that snippet, I don't think jQuery or BlockUI is the problem.
Using onClick is old school and should be avoided these days. It mixes
functionality with data/presentation when these things should be kept
separate. (just like CSS should be kept in it's own file rather than
Thanks alot :) you are right it is working now. I just added return
false;
thanks for your helping again :)
On Sep 9, 12:23 pm, Shawn sgro...@open2space.com wrote:
judging from that snippet, I don't think jQuery or BlockUI is the problem.
Using onClick is old school and should be avoided
After you have bound your keyup action you can add another triggering
event like so:
$('#Query').bind('change', function(){
$(this).trigger('keyup');
})
On Sep 9, 3:36 pm, Dave Maharaj :: WidePixels.com
d...@widepixels.com wrote:
I have a simple form field that runs a query.
I have
On Sep 8, 6:48 pm, Mike Alsup mal...@gmail.com wrote:
Hey thanks Mike, I got the random timeouts working, however all the
slideshows fade in at the same time on the first transition... is
there any way around that? Here is my code:
script type=text/javascript
I was able to narrow this down to the BlockUI plugin, and more
specifically, the GrowlUI function within it. These growl alerts show
up on every page load, so it was explained why I saw so many 404's in
the logs. Debugging the script to find the source of the null
requests was a lot
Hi,
I stick on a wired ajax problem. The following code works on my local
machine. But when i replace the post url to an other server the _POST
array is empty. I tried different clients, servers and browsers. $.get
(... works fine.
script type=text/javascript
!--
$(document).ready(function(){
Hey,
I have an alert(); in a document.ready function. Sometimes the alert
appears after my image on this page is loaded and sometimes it appears
before. What can I do, that this javascript-part is really executed
AFTER everything is loaded?
Greeting from binarious
Hey.
I have a strange problem with image-offset.
When I open my page by typing url, my $(#image).offset().left is
640px.
But when I go to the exactly same page with a link (a href...) the
offset changes to 570px.
Any idea, what it could be?
The problem occurs in Chrome 4 and Opera 9. In Firefox
can anyone answer a couple of questions for me about the carousel
script.
1. how do i show a large image of the centre image in the carousel
above it?
2. can i highlight the centre image?
3. can i enlarge the centre image slightly more than the others?
thanks,
regan
Hello!
I had set up a page with Superfish 1.2.2 a while back, since then it
has been upgraded to the current version. But the complaint is the
menu is not working- no delay, no fade ect.
I am not sure how they went about this upgrade, looks like the jquery
files and superfish files were
I have an HTML page that looks like this:
html
head/head
body
script type=text/fbml
div id=testsome test/div
/script
/body
/html
Now I have the will to access to the text inside test div but the code
$('#test').text();
doesn't work, matter of fact nothing is
Hi,
I can not upload an array to the server...
I am using this:
$.post(/addPolyline/, {project_name:project_name,
polyline_coordinates:vertexArray}, function(data){
alert(Done);
});
project_name is a string.
The vertexArray contains coordinates so it could look like this:
Guys, I have a problem with my menu. I am trying to add and remove classes
when clicking on the main menu links. For instance when on load, the 'Home'
is the current tab clicked, but when I click on 'Contact Me' I would like
the class current to be removed from 'Home' and added to 'Contact Me'
I have some simple tooltips on my site that load the content of the
title tag into the tooltip. I am currently using this plugin
http://cssglobe.com/post/4380/easy-tooltip--jquery-plugin but I have
tried several others.
They all work fine for static elements, but the main content of my
pages are
use $(window).load. I think it will work
Thanks
Rupak
On Wed, Sep 9, 2009 at 3:13 PM, binarious mar...@simple-co.de wrote:
Hey,
I have an alert(); in a document.ready function. Sometimes the alert
appears after my image on this page is loaded and sometimes it appears
before. What can I do,
Div is outside the HTML DOM. After creating the div element you have to
append the div into the body.
thanks
Rupak
On Wed, Sep 9, 2009 at 3:38 PM, Mariano mariano.calan...@gmail.com wrote:
I have an HTML page that looks like this:
html
head/head
body
script type=text/fbml
2009/9/9 Mariano mariano.calan...@gmail.com:
I have an HTML page that looks like this:
html
head/head
body
script type=text/fbml
div id=testsome test/div
/script
/body
/html
Now I have the will to access to the text inside test div but the code
Thanks again Michael!
I changed that particular line to use eval() and it works just the
same... saved me an external js with 50 lines or so, great stuff! :)
Thanks for the svn link too, I doubt I'll be using it regularly but
always good to know what's cooking!
On Sep 9, 12:57 am, Michael
critical part of jQuery is using a selector that matches the target
element . You've used $('.ul.sf-menu').superfish() , which is looking
for the ul with class named "sf-menu" which doesn't exist.
http://docs.jquery.com/Selectors
If you want to use the superfish css system you need the
You can't post a javascript object, its gotta be key-value pairs
if the data is coming from a form you can do:
var serial = $('#myform').serialize();
and post the variable serial
if not then as far as I know you gotta convert the object into key-
value pairs some other way!
On Sep 9,
I'm not sure I understand completely, if you mean that the tooltip
doesnt work with elements dynamically generated via load(), then it
could be a binding issue... try binding an alert() and see if that
works. in case it doesn't its because when the event was bound the
elements didn't exist...
I have a page /a that has a line
var aaa = 99;
And I load that page /a into a div on another page. In the other
page, I want access to that variable aaa. I tried this:
$(#adiv).load(/a, function () { console.log(aaa); })
I get an error that aaa is undefined.
What am I doing wrong?
I'm not really sure what you're trying to do here...
if you want a JS variable to persist between pages you'll have to pass it in
a cookie, or as part of a query string and then retrieve it on the load of
the second page. It's probably easier to do this server-side.
Jon
2009/9/9 Matt Wilson
Here's twp blog posts to help out
http://weblogs.asp.net/scottgu/archive/2008/11/21/jquery-intellisense-in-vs-2008.aspx
http://blogs.msdn.com/webdevtools/archive/2008/11/18/jscript-intellisense-faq.aspx
Also, just some personal experience:
To get around the MasterPage issue, which sadly
I believe the jQuery way to do it would be something like:
script type=text/javascript
$(document).ready( function() {
$('a' /* or '#anchorid' */ ).click( function() {
return information();
});
function information(){
jQuery.blockUI(
{ message: jQuery('#111'),
css:
Hi,
First of all, I want to thank you about your excellent Autocomplete
plugin for jQuery.
So, I plan use your component in my open source framework called
XMLNuke. This framework produces XML, so I made some changes in jQuery
Autocomplement plugin to support receive XML data.
Here an Example:
First, thanks for the Treeview extension. It is great!
I have it running fine, and I have been using the lazy-loading
extension. I need to build my tree using AJAX and add an anchor tag
inside the LI tag so that I can display a dynamic treeview and allow
the user to click on a folder or leaf
Hi,
I want to make a vertical superfish menu, which should be shown after
hovering over some button... when moving the mouse out from the menu
again, the whole menu should disappear. (so a bit like the windows
start menu)
The first part works (showing the menu after hovering over the
button),
Hello,
I managed to post my array by calling toString() javascript method :
$.ajax({
type: POST,
url: /addFeature/,
data: {project_name:project_name,
'vertexArray':vertexArray.toString()},
success: function(msg){
Hi,
Is there a way to use
$key = $value
45 = 'some text'
And search in $value (some text) but when I select 'some text', it's
the $key (45) as input value instead 'some text' ?
Thanks in advance.
ps : sorry for my poor english.
Hi! Thanks, but it didn't work, because I'm using a plugin to convert
a string of XML to a DOM object. When I wasn't using this plugin I
tried to call data type XML directly, but it didn't work with IE
either...
On Sep 8, 10:06 pm, Steven Yang kenshin...@gmail.com wrote:
sorry i may be
Thanks Mike, I'll grab the update immediately :)
Cross-referencing this with a jQuery ticket, in case this might also
be resolved within the css method as well: http://dev.jquery.com/ticket/5185
On Sep 9, 8:16 am, Mike Alsup mal...@gmail.com wrote:
I was able to narrow this down to the
Hi runrunforest,
To elaborate on Benn's explanation, the $.each and $().each() methods
provide two arguments inside the callback you supply. The first is the
index (either an enumerated key for arrays or a string key for
objects). The second is the value (the value associated with the
current
Well I tried unchecking Show XMLHttpRequests and the problem didn't
go away.
I also tried from a different machine with FF3 but no firebug. It
didn't work on that machine either.
I've been in contact with the back-end developer and he created a
short c program to test this problem.
Here's the
It's not possible to tell what's going on without knowing what code is
determining which request parameters are CGI parameters and which
aren't. However it seems pretty clear that whatever is doing that is
probably making some bad assumptions about HTTP.
On Wed, Sep 9, 2009 at 10:11 AM,
2009/9/9 RPrager ryan.pra...@gmail.com:
FF3 output:
HTMLBODYH1logcgis/H1Can not access CGI data: Script can only
be used to decode form results
BRThere are 0 positional parameters and 0 CGI fields
/BODY/HTML
FF2/IE output:
HTMLBODYH1logcgis/H1
BRThere are 0 positional parameters and 2
hello friends,
i have done a few improvements to the autocomplete module, to fix problems and
improve functionality:
added selectOnly option to autoselect a result if there's only one. this may
save you a click.
moved the loading indicator to the left side, in case the field is rtl.
hello,
you should make an additional input for the code, and set a result trigger to
update the code.
as for the data you supply, it should be in the format
'description1|key1\ndesc...'.
search google for good examples.
On Wed, Sep 9, 2009 at 17:43, TiGeRWooDtigwod.e...@gmail.com wrote:
(jQuery UI Resizable Plugin)
Hi there!
Does anybody have a clue, if it's possible or a workaround existing,
to resize a DIV and the content (here: images)
within without using alsoResize in combination with a class/id
name.
In other words: Is there a workaround for:
$('DIV').resizable({
$('form').submit(function(){
var flage;
$.post('test.php',function(data){
if(data.length){
$('#message').html(data);
flage = true;
}
else{
Did you ever find a solution to this problem? I ran into the same
issue.
On Sep 3, 4:24 pm, emmecin...@gmail.com emmecin...@gmail.com
wrote:
The online documentation for slideDown and slideUp says that only
the height is affected by those routines. That claim is false: the
value of display
$('form').submit(function(){
var flage;
$.post('test.php',function(data){
if(data.length){
$('#message').html(data);
flage = true;
}
else{
Well, not really - I ended up adding code to explicitly set the top
and left of my div baseed on the top and left of the clickable
trigger that makes it slide down and up. That was unpleasant to have
to do, but it does actually work now.
By the way - the documentation doesn't do much of a job at
I am having the same problem. I am simply trying to store a variable
at this point and still get
code
$(a) is null
$('a').click(function() {\r\n
$('a').click(function() {
var title = $(this).attr('title');
console.log(title);
});
/code
On Sep
.offset() returns an element's left and top *relative to the body*.
.position() returns an element's left and top *relative to its offsetParent*
.
The offsetParent of an element is its nearest parent that defines a local
coordinate system. For example if you have an element with
Thank you, that's quite clear.
On Wed, Sep 9, 2009 at 12:44 PM, Michael Gearym...@mg.to wrote:
.offset() returns an element's left and top relative to the body.
.position() returns an element's left and top relative to its offsetParent.
The offsetParent of an element is its nearest parent
It seems like when I load a page into a div like this, the $
(document).ready code in the loaded page doesn't fire:
$(#mydiv).load(/a);
But when I do this, the $(document).ready on /a does fire.
Is this correct?
Hi,
I hope someone is familiar with simpleModal. I'm trying to add some
effects to the popup, but keep getting errors when I add my onOpen
parameter. Here's my code. Thank!
$(document).ready(function() {
$('#create-user').click(function(e) {
Why in the earth must you have a div inside scipt tags?
- Original Message -
From: Nick Fitzsimons n...@nickfitz.co.uk
To: jquery-en@googlegroups.com
Sent: Wednesday, September 09, 2009 6:55 AM
Subject: [jQuery] Re: HTML code inside script tag, how access to it with
DOM???
No ideas ... ?
+ 1 a demo page will be great
- Original Message -
From: MorningZ morni...@gmail.com
To: jQuery (English) jquery-en@googlegroups.com
Sent: Tuesday, September 08, 2009 2:51 PM
Subject: [jQuery] Re: New Edit-in-Place Plugin with dynamic selects,
datepicker
Planning on adding a
Well, can you show us some mark-up?
- Original Message -
From: the intern aaron.wal...@urs.org
To: jQuery (English) jquery-en@googlegroups.com
Sent: Tuesday, September 08, 2009 1:54 PM
Subject: [jQuery] Page load question
What I have is a form where people will answer yes or no
try _REQUEST['aa'] and see if is data is not empty
- Original Message -
From: atur armand.tur...@googlemail.com
To: jQuery (English) jquery-en@googlegroups.com
Sent: Wednesday, September 09, 2009 3:48 AM
Subject: [jQuery] $.post - post array is empty
Hi,
I stick on a wired ajax
Hi
I have used bind method with data parameter many times
$('#mydiv').bind('click', {val:a},myfunc);
but in live method there is no such thing.
$('#mydiv').live('click', {val:a},myfunc);
Is there a work around to do achieve the task.
Hi,
Let's say a A page has a div in it with id named container and a B
page is called via ajax...
e.g $(#container).load(B)
In order to load the B page, the A page has to be already loaded, so as
the page is already loaded it do not reload again
when you call B page; this is why nothing
Hi saqib,
The live() method doesn't allow for passing custom data to the
handler.
http://docs.jquery.com/Events/live#typefn
There are possible solutions, though. Depending on what you need to
pass, you might be able to do so by using the data() method to store
your values on an element, and
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
Worked perfectly! Thanks Eric!
On Sep 9, 2:28 pm, Eric Martin emarti...@gmail.com wrote:
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() {
If the body of the request contains the form data then the problem is
on the server; if not, then the problem is on the browser. If the
problem is on the browser then more digging will be required, but if
it's on the server then the information about the whole request
(headers and body) will
If the body of the request contains the form data then the problem is
on the server; if not, then the problem is on the browser. If the
problem is on the browser then more digging will be required, but if
it's on the server then the information about the whole request
(headers and body) will
Apparently, in IE7 and below, there is an issue with sub-submenus
dropping below the submenu. I don't have any other issues with z-
indexing anywhere, so I'm not sure what the problem is.
Example of this error here: http://www.ciu.edu/graduate/studyoptions/
Scroll over Graduate School, and then
Is it possible to align the dropped down nav to the corresponding
parent like it does in the basic mode? Right now the dropped down nav
stays aligned to the left for each 'current' list.
I would like to add a Create new... item to my autocomplete lists to
give users a way to create new items. This item would stick at either
the top of the bottom of the suggestion list and, when selected, fire
a callback where I could display a dialog to collect the information
for the new entry,
Question:
Simple Modal has default height and width values of 200 and 300 pixels
respectively. Is there a way to the modal conform to whatever content
is present. In other words I want the modal to have height and width
equal to the HxW of image modal is applied to ... automatically.
Anytime when I click the remove link after selecting one or multiple
items my browser jumps to the main page.
It doesn't happen on _any_ system but only on _some_ systems.
Is there any solutiuon?
System: Vista
Browser: FF 3, FF 3.5, IE 8, Seamonkey
hello,im still green when it comes to coding and i have a bit of
problem on my hands. i've been searching for some help on this plug-in
for some time now and cant find a good answer or solution, im trying
to run .scrollto to make a horizontal website. the head looks
something like this
script
I've got the same problem on a site I am working on right now. I
tried setting a z-index for sub-submenus in the CSS, but it didn't
have any effect.
On Sep 9, 3:50 pm, theosoft ccop...@gmail.com wrote:
Apparently, in IE7 and below, there is an issue with sub-submenus
dropping below the
All -
I have a set of tabs that I have gotten to rotate through via this
scipt:
$(document).ready(function(){
$(#tabs).tabs({ fx: { opacity: 'toggle' }}).tabs('rotate',
3500);
});
Does anyone know how to still control the fade in the toggle?
where do I put the millisecond count
I've gotta say, Superfish and Supersubs are wonderful tools. But I've
run into some strangeness in IE7 and 6 regarding Supersubs. Whenever
the text in a Tier 3 menu item is long enough to wrap, the menu items
that wrap appear beneath the Tier 2 BENEATH item they are attached to
in z-index
This happens on the example demo:
http://docs.jquery.com/Plugins/Validation#Example
Firefox 3.5.2
Firebug 1.5X.0a22
function live was what I needed.
But now another question.
it's possible to make a POSTwith AJAX, via a button also created with
AJAX, and store the return in a CONTAINER that does not exist in the
DOM, but must exist when the POST is done?
I.E.
/*Action on a button that still exist in the
Even jQuery would have to rely upon the browser's display engine so,
if you're talking about IE6, I'd think you'd be out of luck.
On Wed, Sep 9, 2009 at 2:26 PM, M djflexl...@hotmail.com wrote:
No ideas ... ?
Can anyone offer any suggestion to allow for me to get this to work?
If I type something like Green and click on the suggestion, I want it to
go to a page like page.php?id=1.
If I type something like Red and click on the suggestion, I want it to go
to a page like page.php?id=2.
%-|
--
Any extra options for the toggle can go where the opacity option is:
{ fx: { opacity: 'toggle', duration: 1000 } }
On Sep 10, 7:27 am, -e-train etrai...@gmail.com wrote:
All -
I have a set of tabs that I have gotten to rotate through via this
scipt:
$(document).ready(function(){
That code looks fine - so wordpress must be messing it up.
It looks like jQuery is loading fine, else it would never get to the $
('a') line. Perhaps you could try the LIVE event:
$(function() {
$('a').live( click, (function() {
$('#box').fadeOut();
});
});
Which would add the click
You can use array.
var arr = new Array();
arr['Some Text 1'] = 41;
arr['Some Text 2'] = 42;
arr['Some Text 3'] = 43;
arr['Some Text 4'] = 44;
arr['Some Text 5'] = 45;
alert(arr['Some Text 4'])
On Sep 10, 12:43 am, TiGeRWooD
Hey,
i want to insert a web address into an input field after i click on a
button, i want jquery to grab the title and the meta attributes of the
website.
Like if i type http://www.jquery.com i want to get jQuery: The Write
Less, Do More, JavaScript Library and the meta jQuery is a fast and
google for the result trigger of autocomplete, and perform an href.location=x
there.
On Thu, Sep 10, 2009 at 02:02, ripcurlksmkevin.mccorm...@cox.net wrote:
Can anyone offer any suggestion to allow for me to get this to work?
If I type something like Green and click on the suggestion, I
Please, post some mark-up
- Original Message -
From: MorningZ morni...@gmail.com
To: jQuery (English) jquery-en@googlegroups.com
Sent: Tuesday, September 08, 2009 6:45 AM
Subject: [jQuery] Re: get image size?
Whatever picture I try, the answer is alsway 272
You realize of course
My first question is why are you using a development version of
Firebug? I copied and pasted the jQuery example into an html file and
tested it and I get no error in FF 3.5.2 with the current release
version of Firebug 1.4.2
Secondly, why are there 2 class declarations in your original input
autocomplete is the place to enter some text based on a list of values.
you may set mustMatch:false, and you'll be able to enter text not in the list.
then, if you set on* on the input field, it may do whatever you want with the
text you entered.
On Wed, Sep 9, 2009 at 20:41,
I think it's perfectly valid to have a div inside a script tag (or at
least useful), if a div makes sense to the TYPE you defined for the
script. For example, John Resig uses a script tag with type text/
html in his micro-templating solution:
http://ejohn.org/blog/javascript-micro-templating/
In
I'm having trouble setting the input focus when validating fields in a
form. I have a very simple case below, that validates a field for
white space. If it has white space, it triggers an alert and I'd like
the focus to stay in that field. However, when tabbing, it moves to
the next field
I thought that's what alsoResize was for... couldn't you do something
like:
$('#myDiv').resizable({alsoResize: '#myDiv img'});
or something like that? Otherwise, perhaps you could use the resizable
event, and do the resizing yourself:
$('#myDiv').resizable({
resize: function(event, ui) {
Just use put a mouseover event on the trigger which shows the menu,
and a mouseout event on the menu itself... like
a href=# id=startButtonStart/a
ul id=startMenu
liAll Programs/li
liRecent Documents/li
liUpgrade to a Mac/li
/ul
$('#startButton').mouseover(function(){
What's the problem? That code looks perfect... have you looked in
Firebug to see where it's adding/removing the class names?
On (unrelated) issue the code might have is the selector you use is
'#nav li a' which will select all of those second level nav elements
too: red/green/black - if that's
On Sep 9, 7:40 pm, Geoffrey geoffreydhug...@gmail.com wrote:
My first question is why are you using a development version of
Firebug? I copied and pasted the jQuery example into an html file and
tested it and I get no error in FF 3.5.2 with the current release
version of Firebug 1.4.2
There
hey!!
I know it is a little difficult to understand, but I try to explain
more detailed...
First take a look at this slider:
http://css-tricks.com/examples/AnythingSlider/
Simple slider actually. Though, what I really need is like a
placeholder
or loader that always appears (with a short
Hello, I've created dynamic table using tablesorter and the sort
function works fine at first. The problem occurs when I want to sort
new data.
To make it clearer here's the flow:
1. Generate data, display on table
2. Sort works fine
3. Remove all data row, generate new data, display on table
I think the problem is that according to the W3C standards, the blur
event is not cancelable: They don't seem to want the programmer to be
able to mess with a blur...
But also, your validation code is a bit buggy anyway: the ret
variable is undefined and the regex you use will only catch the
On Sep 10, 9:49 am, Mr Speaker mrspea...@gmail.com wrote:
I think it's perfectly valid to have a div inside a script tag (or at
It is never valid markup in an HTML document, a div element can't be a
child of a script element.
least useful), if a div makes sense to the TYPE you defined for
Thanks! I knew about the validate stuff, it was kind of a quick and
dirty example. But I appreciate your bringing it all to my attention.
The jQuery docs for blus() say the default action can be prevented
by returning false. Maybe it should be corrected.
Your suggestion of using setTimeout
It's like tabbing to the next field is NOT the default action - but
something more intrinsic/unrelated. So even if you cancel the default
action, it doesn't stop the tab? weird.
I was also thinking that it would be a good idea to plugin-erise this
functionality, so if there's a better way to do
Hey! No arguing with John Resig around here ;)
But the script tag thing is a templating solution - so the advantage
is obvious: having to maintain a 10kb+ HTML fragment encoded as a
JavaScript variable (or even comprised of jQuery statements) is not
fun.
I'm not a fan of the script
I think they don't let you hold focus for a reason... I've tried it on
a couple of my forms and it's annoying! I wanna leave it blank and
come back to it damn it! ;)
On Sep 10, 2:27 pm, Mr Speaker mrspea...@gmail.com wrote:
It's like tabbing to the next field is NOT the default action - but
100 matches
Mail list logo