Did anybody ever figure out a way to position the cluetip relative to
it's parent rather than the mouse? I would also like to do this as I'm
attaching the cluetips to areas in a map and I want to always have
them in the same place so they don't block any of the image using the
map.
Regards,
Hello there,
I am experiencing some problems using $.load and $.ajax to pull
content from a url and display it in a div. I created the attached
example page to show what I mean.
I expect that when I click the link, the indicator.gif image (or
Loading...) will appear for a moment, then disappear
I realized after I posted that the hide() function might be returning as
finished as the element is being unhidden. I'm not sure why this would
be (doesn't the element's display property get set to inline
immediately? Perhaps the display attrib gets set in that way on
-every- size and opacity
i need to delete a row from mysql DB, click delete buttonn and fadeout then
delete record from DB.
HELP PLEASE ...
Below is my code:
$(document).ready(function() {
$(a.delete).click(function() {
if (confirm('Are you sure you
You could store the bbcode in the element's jQuery data store:
$(#test).data(bbcode, ...);
and you can get it back out by
var bbcode = $(#test).data(bbcode);
See http://docs.jquery.com/Core/data for more info.
Please let me know if your question goes further into how to make your
plugin
I'm not sure your sample provides quite enough detail of what you're going
for. If you have the following
ul
li id=1 class=exampleclass/li
li id=2 class=exampleclass/li
li id=3 class=exampleclass/li
li id=4 class=exampleclass/li
li id=5 class=exampleclass/li
Here's the thread this was in reply to (in my client they're not related):
http://groups.google.com/group/jquery-en/browse_thread/thread/f4ac0893083fda8
- Richard
On Thu, Dec 4, 2008 at 6:14 PM, Ethan [EMAIL PROTECTED] wrote:
Any updates on this plugin, I have tried to make it myself, I'm
Hi,
I have used the '.load' function to load a HTML page into a division
through AJAX.
But i noticed that if i insert any other jquery scripts in the page
that is loaded through AJAX, then they are not executed.
As an example i loaded a page using Ajax into a div, from a link in
that page i
I am brand new to JQuery, but it looks fascinating. I am trying to
implement a slideshow using Query and supplying the images for a SQL Server
table with paths to the images (Images/Image1.jpg). At present I am using
an asp.net repeater to display the images, and the asp.net repeater has a
Linq
Will,
Does anyone know of a way to use class like objects in event handling
using jQuery?
For Example,
input type='button' value='Button' onclick='Record.show()' /
where .show() is a method of the Record object. This would be really
cool to be able to reuse the method name .show() but
Maybe you should make clearer that the articles are copied from
somewhere else (out of the web).
--Klaus
On 6 Dez., 03:43, Pedram [EMAIL PROTECTED] wrote:
Dear folk ,
If you're interested on web development Articles which is updated and
has lots of new information.(Web developer to web
Sean,
On Fri, Dec 5, 2008 at 2:00 PM, Sean O [EMAIL PROTECTED] wrote:
.getValue() doesn't work, and would only return the rel attribute of
selection anyway. What I need is the displayed text.
Ideas? Thanks.
The getValue() should do exactly what you need. It returns an array in
the format
Did anything get done in this direction? In some cases, putting the
error messages inline is unreasonable. An error container is also
unreasonable, for it requires scrolling to the container and adding
links to the fields from each error message to make its function
decent.
Is there a
That might work. I'll tinker with that. How does it work with
multiple instances of the same plugin through? Where I'm using it, I
am going to be pulling data from 2 instances of the plugin. Maybe I
could have two different names... I think that would work.
Although, I would like to know
Hello, world!
My English is no good this is my first javascript code )).
I've a text field for 8-symbol auth code:
---
CUT
var sAuthCode = ';
var iAuthCount= -1;
var sAuthCacheCode = ';
var iAuthCacheCount = -1;
Hi all,
I released my first jquery plugin. It is about binding or connecting a
function to another function. It is just like binding a handler function to
event. Please have a look at it and send me your comments.
http://plugins.jquery.com/project/jqConnect
cheers,
Prajwala
On Sat, Dec 6, 2008 at 11:53 AM, Brian Ronk [EMAIL PROTECTED] wrote:
That might work. I'll tinker with that. How does it work with
multiple instances of the same plugin through? Where I'm using it, I
am going to be pulling data from 2 instances of the plugin. Maybe I
could have two
Hi Micheal,
Thank you so much for that. I knew I was getting close to a solution
but I was well and truly stuck. It is now working and I am delighted.
This is the code that worked for me
success: function(xml) {
towncity = [];
$(xml).find([EMAIL PROTECTED]'+ currprov +']
One thing I do notice with my code is that it is slow. If I change
provinces and type in the city field and change provinces again things
slow right down. I know this must be due to the way I have coded this.
I am wondering if you have any suggestion to improve the speed of
things? The form will
You can also trigger custom events registered with bind.
http://docs.jquery.com/Events/trigger#typedata
Usually called 'custom events'. Perhaps that's what you're looking for. You
can create an event with any (available) name and using .bind() and
.trigger().
- Richard
On Fri, Dec 5, 2008 at
Wow I'm chatty aren't I...
I just wanted to add I changed my code to this
$(function() {
$.ajax({
type: GET,
url: xml/location.xml,
Having read the handful of mentions I could find, the underlying 'why'
is still a mystery to me. I tried stepping through the code with
Firebug but can't make out why it's not working, although I have MADE
it work in this manner:
$(a).click(
function() {
var self = this;
setTimeout(
It will actually be 2 instances of the plugin on 2 elements: $
('#test').data('bbcode'), and $('#test2').data('bbcode')
Thanks for those links, those will help me figure it out, although it
doesn't look easy :)
On Dec 6, 1:08 pm, Richard D. Worth [EMAIL PROTECTED] wrote:
On Sat, Dec 6, 2008 at
Go here:
http://www.theshedbbq.com/gulfport/photos/
Click one of the photo gallery links. In IE7, it does not return
false and immediately jumps back to the top of the page. Within the
clickhandler, I'm grabbing some data from the anchor tags' attributes,
then calling getScript(). Do I need
Hi guys,
I have a simple md5 password encryption form and I'm using jQuery to
create an effect:
script type=text/javascript
$(document).ready(function(){
$(#encrypt).click(function(){
$(#encrypt).attr('disabled', true).val('In progress...');
$(#result).slideUp(0,
On Sat, Dec 6, 2008 at 2:38 PM, Brian Ronk [EMAIL PROTECTED] wrote:
It will actually be 2 instances of the plugin on 2 elements: $
('#test').data('bbcode'), and $('#test2').data('bbcode')
That's no problem. Each of those elements has their own data store. If you
end up going the widget
Hm, how very odd indeed. There must something else on my page
conflicting with it then. I'll strip it to the barebones and work my
way back up. Thanks for all the help so far!
May I also say that your website (learningjquery.com) has been an
invaluable font of knowledge for jQuery, as well as
Hi Richard,
Thanks for replying. I am trying to save /update sequence of elements
whenever it is changed. In following example, if you move 3rd element
at 2nd position then I wanted those two elements only in JS instead of
complete list. But it looks when we change sequence and try to save
the
I posed the example as I did because when you move element 5 from position 5
to position 2 you are only moving one element, but it's affecting the
position of 4 elements (2, 3, 4, 5). So when you say you only want to know
about two elements, I'm confused about which two you would be talking about
Hi, I've just started using jQuery and have run into the following
problem that I'm sure has an easy answer.
I want a function to run after an event, for example, if I click on a
test div:
$(#test).click(function(){ $(this).css(color,pink) });
Instead of this, I want to have the effects of
Hi,
I'm new jQuery and JSON. I'm trying to use it to populate a dropdown list
through a web service and jQuery. So far I've succeeded in calling the web
service and receiving the list of items in a JSON format. However, now I'm
stuck adding these items to the dropdown list.
my web service
Hi,
I'm new jQuery and JSON. I'm trying to use it to populate a dropdown
list through a web service and jQuery. So far I've succeeded in
calling the web service and receiving the list of items in a JSON
format. However, now I'm stuck adding these items to the dropdown
list.
my web service
Hi!
this function draw a line using bresenham algorithm.
I created a selected line to draw. when the user movemouse, the oldest line
is erased and a new selected line is created.
but the process spent a lot of time. I think the problem is in outstanding
line.
Is there best way?
thanks,
Dirceu
Hello,
I'm wondering if this is the correct way of checking whether the
textbox is empty or not:
if ($(#text).val() == '')
Thanks.
Maybe try:
if($('#text').is(':empty'))
--Erik
On Sat, Dec 6, 2008 at 2:12 PM, Costaud [EMAIL PROTECTED] wrote:
Hello,
I'm wondering if this is the correct way of checking whether the
textbox is empty or not:
if ($(#text).val() == '')
Thanks.
Well, turns out the problem was with my web service. Once I've changed it to
look like this:
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public ListItem[] GetProjectsForCustomer(int CustomerId) {
testJquery.data.TestDataContext dc = new
Hi!
How can I add a class with its attrs dynamically?
like this (not works, obvious ...)--- $('#div').addClass('blah
{background:#000}')
Thanks,
Dirceu Barquette
Try this plugin:
http://plugins.jquery.com/project/Rule
Karl Rudd
On Sun, Dec 7, 2008 at 9:50 AM, Dirceu Barquette
[EMAIL PROTECTED] wrote:
Hi!
How can I add a class with its attrs dynamically?
like this (not works, obvious ...)--- $('#div').addClass('blah
{background:#000}')
Thanks,
Hi Nina,
First, let's format your JSON response to make it easier to read. It's fine
to use the shorter
[
{
CustomerId: 18,
Items:[
{
Text: SampleProject,
Value: 6
},
Sure, you can do this, but it's less complicated than that.
Don't make your function a method of the jQuery object. Simply make it an
ordinary named function with *exactly* the same code as the anonymous
function.
So your code:
$(#test).click(function(){ $(this).css(color,pink) });
Very good!!! I think is perfect to my application!!
Thank you!
Dirceu Barquette
2008/12/6 Karl Rudd [EMAIL PROTECTED]
Try this plugin:
http://plugins.jquery.com/project/Rule
Karl Rudd
On Sun, Dec 7, 2008 at 9:50 AM, Dirceu Barquette
[EMAIL PROTECTED] wrote:
Hi!
How can I add a
Dear kalus,
yes are article are copied from various sources of the web, and there
is a link to the source above on each post , in the next week our
Projects and Our works is going to be upgraded on the website , we are
also developing a Shopping cart builder which is based by Ajax based
by jQuery
When you execute this statement:
window.location.href = 'test.php?delnews=' + this.id;
you are navigating the browser to a new page. This terminates any JavaScript
on the current page, and your DELETED alert will not be displayed.
It sounds like you want to remain on the same page, so you
Following works strange in IE when using Jquery Tabs:
.ui-tabs-hide {
position: absolute;
left: -1px;
}
When I do the above, on IE 7, the width of the pages in tabs become
huge and goes out of page on left and right both.
These tab pages have tables. And I do NOT have table width
That is always saying the field is empty.
On Dec 6, 5:24 pm, Erik Beeson [EMAIL PROTECTED] wrote:
Maybe try:
if($('#text').is(':empty'))
--Erik
On Sat, Dec 6, 2008 at 2:12 PM, Costaud [EMAIL PROTECTED] wrote:
Hello,
I'm wondering if this is the correct way of checking whether the
Whoops, that matches has no children. I think what you did is fine.
--Erik
On Sat, Dec 6, 2008 at 3:56 PM, Costaud [EMAIL PROTECTED] wrote:
That is always saying the field is empty.
On Dec 6, 5:24 pm, Erik Beeson [EMAIL PROTECTED] wrote:
Maybe try:
if($('#text').is(':empty'))
--Erik
Is there any reason why you aren't just hiding the tab with a display:none?
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ashish
Sent: Saturday, December 06, 2008 3:47 PM
To: jQuery (English)
Subject: [jQuery] IE 7 Issue with Tab with left:
I am using Yui data table in some tabs and YUI data table column sizes
go all weird with display: none
any solutions?
On Dec 6, 4:03 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote:
Is there any reason why you aren't just hiding the tab with a display:none?
JK
-Original Message-
From:
Doesn't this work?
$(a).click(function() {
var self = this;
$.get($(self).attr('href'),function(html){
// put the html into a textbox
});
return false;
};
On Dec 6, 5:00 pm, donb [EMAIL PROTECTED] wrote:
Having read the handful of mentions I could find, the underlying
You could post a test case page and I could take a look at it, but if there
is any way so do the same layout with divs and CSS instead of tables, you
are likely to have the different browsers play a bit more friendly.
There is a whole host of nasty issues that disappear once you can move away
HTML
-
div id=navBoxdiv/div/div
ul
liimg src=images/nav/nav_left.jpg //li
liimg src=images/nav/btn_nav1.jpg alt=�P於新�]和�I //li
liimg src=images/nav/btn_nav2.jpg alt=�a品展示 //li
liimg
Sure, that's fine. You could also do this:
if (!$('#text').val())
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Dec 6, 2008, at 5:12 PM, Costaud wrote:
Hello,
I'm wondering if this is the correct way of checking whether the
textbox is empty or not:
Thanks i will try that, the reason I moved to table based layout was
because,
when I resize the browser (say by dragging the bottom right corner of
browser) the content in tables resize very nicely in browser window.
could not get the same without tables.
On Dec 6, 5:29 pm, Jeffrey Kretz
Hi Frank,
Let me know how it goes with your testing.
In the meantime, I converted the script to a plugin, so after you
include it, you can just do this:
$('table').simpletip('a'); This will display a tooltip for every link
within the table element, using event delegation.
It also has
Hello friends,
I am learning jquery these days and I am building small plugins just for
learning purposes. This link show a paginator plugin I just made.
http://pastebin.me/493aa9fe2b475
Kindly give any suggestions you will, so that I can improve my learning and
understanding.
I would be
The best way is using canvas. It works in all modern browsers. Other than
that, if you really must do it with dom elements, the biggest single
improvement you can make to your code is to do DOM manipulation once, up
front. Add a bunch of divs (enough for the longest line you would draw) and
keep
Understood.
There are a number of resources that will help you do a CSS based layout
that will accomplish exactly that. Here are a couple I just found on
Google:
http://www.glish.com/css/
http://www.yourhtmlsource.com/stylesheets/csslayout.html
JK
-Original Message-
From:
Hello,
I have something like this:
...
td class=menuitem width=100 align=center nowrapa
href=index.html class=menuHome/a/td
...
How can I make the whole td clickable leading to index.html not just
the text.
I searched Google but I couldn't find anything about this. Your help
would be greatly
Karl's suggestion is how I always do it...simplest IMO.
On Dec 6, 8:19 pm, Karl Swedberg [EMAIL PROTECTED] wrote:
Sure, that's fine. You could also do this:
if (!$('#text').val())
--Karl
Karl Swedbergwww.englishrules.comwww.learningjquery.com
On Dec 6, 2008, at 5:12 PM,
I'm having the exact same issue, but ony in IE 6/7, using getScript
(). I'm wondering if it has to do with sending a GET request and IE
is funky about it???
On Dec 6, 7:16 pm, ricardobeat [EMAIL PROTECTED] wrote:
Doesn't this work?
$(a).click(function() {
var self = this;
I think I understand what you are trying to do, but the example is
rather confusing. Can you use maybe more unique names? I got mixed
up because of this:
The variable called1 will have 'called1-fun1' and
The variable called2 will have 'called1-fun2'.
called1-fun1 should be class1-fun1 and
61 matches
Mail list logo