Hi all
I've got a drop down menu that expands when you hover over a heading. Here
is the JQuery
$(#header .dropDown .content).hover(
function () {
$(#header .dropDown ul).slideDown();
return false;
},
function () {
$(#header .dropDown ul).slideUp();
description lorem ipsum dolor sit amet
consectateur adipscing elit.
Item 3 -
brief description lorem ipsum dolor sit amet consectateur adipscing
elit.
/option
/select
Would appreciate any help.
Cheers
Paul
Thanks Nathan
That's a good idea actually, guess that would work even if you had scripts
turned off...
Will put that to use, thanks again.
On 16 February 2010 16:34, Nathan Klatt n8kl...@gmail.com wrote:
On Tue, Feb 16, 2010 at 9:22 AM, Paul Collins pauldcoll...@gmail.com
wrote:
I'm have
That works Johan, thanks very much.
Doesn't validate, but I guess that's not the end of the world...
Thanks again.
Paul
2010/1/6 Johan Borestad johan.bores...@gmail.com
Hi Paul!
This is a case where you really don't even should use Javascript,
unless you're trying to do some fancy
It is, at least in my FF 3.5.7 on Win 7, but I haven't the slightest clue as
to why. Thanks for sharing those demos.
On Wed, Jan 6, 2010 at 1:29 PM, Scott Sauyet scott.sau...@gmail.com wrote:
On Jan 6, 3:44 pm, Acaz Souza acazso...@gmail.com wrote:
MooTools:http://www.jsfiddle.net/4vnya/
Hi all
I've been stuck on this for four hours, and I still can't solve it!
I am trying to check if a list item has a class of selected, then is so
change the opacity to 0.5. Here is my code:
if ($(#portfolio #thumbs ul li).hasClass(.selected)) {
$(this).css('opacity','0.5');
}
of testing for it first:
$(#portfolio #thumbs li.selected).css('opacity','0.5');
If the class doesn't exist, jQuery will do nothing (instead of
throwing an undefined error or similar).
On Tue, Jan 5, 2010 at 12:45 PM, Paul Collins pauldcoll...@gmail.com
wrote:
Hi all
I've been stuck
Sorry, the test page:
http://paulcollinslondon.com/test/test.html
2010/1/5 Paul Collins pauldcoll...@gmail.com
Thanks very much for your help Brian. That works, but I think the problem
may go deeper than I thought! I've put up a test page.
I'm using the JQuery Opacity Rollover Script
cause
the font is small but when you look at that tooltip the first time
after a page render it is fine, then subsequent displays of the
tooltip show the font as non-anti-aliased.
Has anyone else seen this issue and does anyone know of a work-around?
Thanks,
Paul
the answer you were looking for - but it
should help out. For reference, you can change CSS type properties
directly with a call like this :
document.getElementById(NAMEOFDIV).style.width = 10;
I can't remember how to do it in a more jquery like way at the moment.
HTHs,
Paul Hutson
://gameview.outer-empires.com/Info/Newbie.asp)
HTHs,
Paul Hutson
For the purposes of testing, I have been calling this PHP script:
?
echo response;
?
Instead of the echo response; try creating a span with the id
response. i.e. span id=responseWrite to here/span
This will do what you want, first I assigned the elements via a
filter :
elements = $('h3').filter('.example');
Then I scrolled around the items found and output them to a span for
debugging.
elements.each(function() {
$('#Output').html($('#Output').html() + br + $(this).html());
});
On Jan 3, 2:03 am, Šime Vidas sime.vi...@gmail.com wrote:
Is there a prefered way of formatting jQuery code when you have 5 or
more chained methods?
FWIW you do it the way I would.
On Jan 1, 8:53 pm, Trev aveollie...@gmail.com wrote:
Hello, I am completely new to jQuery, and I don't even know how to
approach or implement what I am trying to do.
Use a div to hold the image - set it at a higher Z index than
everything else. When the document has finished loading (or
As a side note, I did something similar in http://gameview.outer-empires.com
when you finish loading after the character selection screen if you
want to have a look at it.
Could you post an example of your code
that isn't working please?
You can't quite do the same with jquery (reflections wise) you can
however do a similar type animation (there are a few plugins on the
jquery site that do an accordian like function)
Do you mean something like this? : http://plugins.jquery.com/project/ScrollTo
Thanks for your reply. Your solution works. I had a feeling that :even and
:odd filters are zero-based, but found that to be odd in this situation.
So now that I have 2 ways to stripe visible table rows using jQuery, which
solution do you prefer?
$('#foobar tbody
Thank you. Have a great New Year.
2010/1/1 Šime Vidas sime.vi...@gmail.com
Well, definitely the shorter version :)
You can put a comment above to remind you that :even and :odd are
tricky
// Remember, :even and :odd are zero-based, so it's reversed
$('#foobar tbody
Thank you all for your helpful suggestions.
On Fri, Jan 1, 2010 at 2:37 PM, Karl Swedberg k...@englishrules.com wrote:
On Jan 1, 2010, at 3:53 PM, Michael Geary wrote:
I wouldn't use either version.
Instead, I would change your CSS from:
tr.rowodd { background-color: #FFF; }
tr.roweven
.
Any thoughts as it's rather annoying.
Cheers!
Paul :)
tools to come) but it's
locked http://docs.jquery.com/Sites_Using_jQuery. Do you know how I
can add our site?
Thanks,
Paul.
= $(this).parent('tr');
var position = $('td', $(this).parent('tr')).index(this);
$('td:eq('+ position +')', $(trparent).prev('tr')).css
('color','white');
$('td:eq('+ position +')', $(trparent).next('tr')).css
('color','green');
});
Paul
On Nov 18, 11:13 am, Jan jha...@gmail.com wrote:
Hi
i.e.
jQuery.getJSON(/resources/javascript/gettingstarted.json, function
(data) {}
But I can't figure out how to get the requested URL in the ajax error
function?
Is it possible?
Many thanks!
Paul.
Cheers Michel, never thought of using Firebug to see what was
available. I did try and decipher the W3Cs specifications but Firebug
would be easier :)
Paul.
On Nov 10, 1:04 pm, Michel Belleville michel.bellevi...@gmail.com
wrote:
I didn't have to do that for now, but if I had to I'd use Firebug
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').hide();
$('#tabs dt a').click(function() {
$(this).parent().next().toggle();
return false;
});
Paul
On Oct 27, 3:59 pm, Michel
Hi there,
When using Jquery Corner in Firefox Safari it works like a charm,
but in IE 7 8 I only get four ugly black corners... How can I solve
this: http://www.cornelisdehoutman.nl/futureisnow
can do to get jQuery 1.3.2 up and run with
VS Doc?
Thanks,
Paul
Hi,
I think you need a space before the #lightboximg
Try
#jqmTarget.load(myUrl + #lightboximg)
Paul
On Oct 4, 9:15 am, FineThought nathanleighda...@hotmail.com wrote:
Hi,
I'm brand new to jQuery and learning as I go. I've searched a lot over
the web regarding this and need some help. I'm
I figured it out. I had to use the showCustomerErrors method and got
tid of focus cleanup.
On Oct 2, 10:45 am, Paul Speranza paulgspera...@gmail.com wrote:
I am having a problem getting the error container to clear out after I
have fixed invalid inputs. I am using the
invalidHandler option
I am having a problem getting the error container to clear out after I
have fixed invalid inputs. I am using the
invalidHandler option. When my form is invalid it shows a message of
the number of errors (taken from the sample code) and shows the
invalid messages. After I correct each error the
Given that, how would you allocate a timeout for say the first 3
slides and then have the other slides all running at the default
timeout?
On Sep 9, 8:06 pm, Mike Alsup mal...@gmail.com wrote:
On Sep 8, 6:48 pm, Mike Alsup mal...@gmail.com wrote:
Hey thanks Mike, I got the random timeouts
Hi all
I'm currently using the Jquery Flipv plugin, which works well. The only
problem is, some words have extra padding at the end, depending on how many
characters.
http://www.openstudio.fr/jQuery-flipv.html?lang=en
I'm not sure why this is, but it seems that the conversion to vertical text
I have 2 questions.
1) When the list is shown and I click an item is there a way to hide
the list or do I have to wait until the user moves their mouse off of
it.
2) If I add or remove items from the UL that contains the items will
this be reflected in the menu?
Thanks
Paul Speranza
Hi all,
This is hopefully simple. I have a bunch of links with titles, like
TITLE=Facebook and so on. I am adding JQuery to make the links open in a
new window and would like to add some text to the title that says this link
will open in a new window, whilst keeping the original text. I'm using
Thanks for your help guys, that worked a treat.
You're right Liam, that was my bad, there was no add there, I meant
attr, which was the wrong code anyways...
Cheers again
Paul
2009/8/11 anurag pal mail.anurag@gmail.com
Hi,
Use prepend method.
Regards,
Anurag Pal
On Tue, Aug 11
Jack, yes, the list menu plugin.
On Aug 10, 3:01 pm, Jack Killpatrick j...@ihwy.com wrote:
Hi Paul,
Thanks for this info, I'll add it to my test cases and thanks for
letting the community know.
I was actually working on a new version of the plugin yesterday, which
adds one new feature
, the iPhone version is a
proper native app, NOT using Jquery in any way, except for the in game
galaxy viewer.
If you have any questions or comments, either leave them here, or post
them up in the newbie channel in game and I'll reply in there.
See you soon,
Paul Hutson (ala, Thoras Agea, in game
p.s. Sorry if I put this in the wrong place!! I didn't know where
else to post it...!
Is there any project about a website using pure jQuery for rendering
the pages ?
When you say pure jquery, what exactly do you mean? Outer Empires
uses Jquery for a LOT of the positioning, animation, etc when in game
(http://www.outer-empires.com) - the front page uses a little as well
now I
This may not be a bug in the jQuery List menu widget but if it saves
someone the time it took me to figure it out or the author has an idea
of how to handle this then it is worth it. If the items begin with a
comma - , Paul - it causes the columns in the result to not be
created in IE 7
Hi,
Can you post an example of your animation code or link to a demo page.
Paul
On Aug 10, 4:39 pm, Tom Cool tomcoo...@gmail.com wrote:
Hi,
I'm experiencing a large amount of flickering in a image i move with
animate(). Looking at jQuery's source code, i think it has something
to do
Hi,
Change the sortList definition to
sortList: [[3,0]],
or
sortList: [[3,1]],
depending on what order you want the column sorted in.
You could also tidy up your HTML by adding tbody/tbody tags and
form elements are not valid inside tr/tr
Paul
On Aug 7, 6:53 am, jsrobinson magiclampnetwo
Hi all,
I am using this handy tabs script from here:
http://jqueryfordesigners.com/jquery-tabs/
My problem is, if I try to use the same function for multiple elements on a
page, seperated by a comma, it will only show one of the elements at a time.
I am guessing that is due to the tabcontainers
Try,
$('.start-here li:has(li)').append('span class=ui-icon ui-
icon-plus/span');
Paul
On Aug 5, 4:59 pm, Panman rpann...@gmail.com wrote:
I have selected a list that contains sub-lists. Now, I'd like to
search for the list items that contain sub-lists (but not including
the sub-list-items
I can't figure out how to check with jquery how deep a user has
scrolled into a page. Suppose you got a webpage with 3000px in height
but the actual viewport is just 768px high. So the user has to scroll
down to see the rest of the page. How do i get the current vertical
scroll value of the page.
the second level nav though, it disappears and I'm not sure
why.
If it has a class of selected, I only want it to disappear when you roll
over another top level link. Can anyone let me know what I'm doing wrong
here?
Thanks for any help
Paul
2009/7/27 Paul Collins pauldcoll...@gmail.com
Hi all
/a/li
/ul
/div
/li
lia href=/Contact/a/li
/ul
/div
Currently, the 2nd level appears if I have the class of selected, but it
dissapears when I mouse over it. I would need it to stay there until I hover
over a different top level nav item.
Would really appreciate any help.
Thanks
Paul
Excellent, works a treat, thanks Eric...
2009/7/23 Eric Garside gars...@gmail.com
$('.secondLevel').css('width', $('#header').width());
On Jul 23, 1:16 pm, Paul Collins pauldcoll...@gmail.com wrote:
Hi all,
I've got a problem with IE6 and I need to basically find the width
be fantastic.
Cheers
Paul
' }, 'slow');
});
Paul
On Jul 21, 10:38 pm, Simon svansint...@gmail.com wrote:
Hey, so there might be a simple solution to my problem, but here is my
question:
I have a box:
html
div id=box
div id=innerbox
a href= id=toggle/a
There is some text inside this box. It spans the entire
http://docs.jquery.com/Selectors/nthChild
also works.
James wrote:
http://docs.jquery.com/Selectors/eq
On Jul 1, 3:10 pm, Wacko Jacko jackson.be...@gmail.com wrote:
How would I target (with jQuery or normal javascript) the 5th and 6th
li in an unsorted list for styling? I need to change
Hi,
Try setting width of image to 90%
.fisheyeItem img { width: 90%; }
Paul
On Jun 29, 9:46 am, Wolfram Rösler wolfram.roes...@gmail.com wrote:
Hello,
I have a couple of images in a fisheye that I want to be displayed
with some space between them.
Currently, jQuery displays the images
I understood what you meant, and I actually thought about it beforehand,
I'm just not familiar enough with jQuery to be confident in my assumptions.
I appreciate your help in this. I couldn't seem to get what you offered
to work. I just found it to be easier to leave the link in place whether
On Apr 29, 4:47 pm, Evan e...@nthdegree-designs.com wrote:
On Mar 13, 3:06 pm, Paul Hutson hutsonphu...@googlemail.com wrote:
Hello,
I've been trying to get the following working :
http://dev.jquery.com/view/trunk/plugins/sound/
However, it only plays about a second to three
Ensure you've included the Jquery package at the top of the page.
Hi there,
This is what I'm trying to do:
When a user selects a group in the first SELECT box, another SELECT
box should be loaded from an external PHP-file (using MySQL), based on
the group-id of the first SELECT box.
I use this code:
$('#kiesgroep').change(function(){
So i've noticed... good to get it confirmed. The weird thing that I
noticed is that JSON can get the contents of the page, but in JQuery
it tries to read it as an script. I don't know that much about JSON
though..
Thanks for you answer!
Regards,
Paul Peelen
On 2 Juni, 15:46, Liam Byrne l
galleries, edit, etc
You can view the corresponding HTML mark-up on this page.
If you view it in IE, you get something a little different then FF and
Safari (I haven't checked Opera yet).
Thanks,
Paul
Ricardo wrote:
What exactly are you trying to achieve? It's hard to deduce anything
noscript here; missing one of
object, ins, del, map, button start-tag
[/error]
What can I use if not noscript tag? I'm using it to hide my email
address from plain view.
Thanks,
Paul
Ricardo wrote:
Hi Paul,
Please avoid creating many threads on the same (or related) issues.
This is the third
or
email way to contact you, and I will send you the URL and instructions.
Thanks,
Paul
Thanks for the help (and the tip!) It all worked excellently :)
Cheers,
Paul
On Jun 16, 7:19 pm, mkmanning michaell...@gmail.com wrote:
$('ul').find('li[typeref=E][typeid=1]')
NB: an id attribute that starts with a number isn't valid markup.
On Jun 16, 10:05 am, Paul Hutson hutsonphu
Hey there I just wanted to feed back my knowledge and experience with
reallysimplehistory (RSH) and jquery integration.
There were some existing docs but nothing matched the problems i was
looking for.
Firstly, you may think you need to integrate jquery (and json) with
RSH as per their
I'm writing a snippet of code to be put on any third party website and
have NO idea what environment it will be dropped into. My end goal is
for the badge to be
script src=http://example.com/js/badge.js;/script
I would like to use jQuery in my badge code to make my life easier,
but I don't want
I'm writing a snippet of code to be put on any third party website and have
NO idea what environment it will be dropped into. My end goal is for the
badge to be
script src=http://example.com/js/badge.js;/script
I would like to use jQuery in my badge code to make my life easier, but I
don't want
recieved!
Regards,
Paul Hutson
Hi,
Try this:
$(this).parents('div').attr('id')
Paul
On Jun 14, 2:47 pm, Antonio antonio.pie...@gmail.com wrote:
Hi all,
I try to rephrase...
I want to get the value from the id attribute from a parent element
I try in this way...
$('div').parent().attr(id)
but it returns only blank
Thank you, Karl!!
Works excellent. Exactly what I needed!
Karl Swedberg wrote:
Assuming that the Move Up link is within the table row and that the
link has a class of moveup, you could do something like this:
$('a.moveup').click(function() {
var $thisRow = $(this).parents('tr:first');
Move
Down link if last row).
Is there a way to check for this?
Thanks
John Bill wrote:
good job!
2009/6/15 Paul Witschger tigerseyet...@gmail.com
mailto:tigerseyet...@gmail.com
Thank you, Karl!!
Works excellent. Exactly what I needed!
Karl Swedberg wrote:
Assuming
Karl,
Midnight or not, your code is awesome. I only had to make one tiny
alteration (to handle the table heading row), and it worked beautifully.
Thanks a lot for your help.
Paul
Karl Swedberg wrote:
Hi Paul,
This will do the trick, but it could be written a lot more elegantly
(it's
.
$([name='star1']).rating('drain')
Paul
On Jun 9, 7:54 am, karimmta...@gmail.com karimmta...@gmail.com
wrote:
Hi guys,
how can I reset the stars without clicking on the cancel button, like
on any other event on the page? is it possible?
thank you
Karim
Hi,
I'm confused as to why you are trying to load XML into an iframe using
AJAX.
Why not just set src=atom.xml and load the feed directly into the
iframe?
Paul
On Jun 9, 9:13 pm, barton bartonphill...@gmail.com wrote:
I have been trying to insert xml into an iframe. I can do it kinda
I've got a form using the jquery Validation plugin ( jQuery validation
plug-in 1.5.2)
What seems to be happening is that when the form hits a validation
error, the errorContainer seems to be listing all error messages/
labels, but it only highlights the Actual erring fields.
Say I have a
});
or if you always want both spin boxes initialised the same then this
can be shortened to:
$('#txtSpin1, #txtSpin2').SpinButton({min:1});
The same applies to the spans - rename the first id='color1' and the
second id='color2'.
Rgds Paul
On Jun 9, 7:57 am, skunkwerk skunkw...@gmail.com wrote:
hi
help?
Regards,
Paul Peelen
I have a problem with implementing the pager in the Cycle plugin. I
have an existing navigational structure, which is actually a playlist
- each link launches a new media file in an instance of flowplayer
[http://www.flowplayer.org]. I want to use each of these anchors to,
in addition, page
,
Paul
On May 28, 11:05 am, ryan.j ryan.joyce...@googlemail.com wrote:
sins of a solar empire meets eve, all powered by jquery?
sounds fun! :)
On May 28, 10:55 am, Paul Hutson hutsonphu...@googlemail.com wrote:
Hello all,
I've mentioned this from time to time in these discussion
:)
Regards,
Paul
On May 28, 11:45 am, ryan.j ryan.joyce...@googlemail.com wrote:
i am curious though - assuming you've got the CPU utilization down to
something the handsets can cope with, is cheating not a concern
because of the open nature of client-side script?
I am really someone can help (fingers crossed anyways!)
I am trying to implement the cycle plugin into this page:
http://staging.visualintent.com.au/cc2/index4.html
It all seems to be working well in Firefox etc but not Internet
Explorer 6+ and I have no idea why!
Basically I am trying to have
I was having the same issue and found the problem (which seems to
happen on WebKit browsers... had same problem on Chrome)... In my
case, the elements that I was trying to match were inside a .clone
()'ed element. I found that after I clone'ed if I do not insert it
into DOM, then using multiple
. That script tag you added is not going to be
evaluated anytime, it will just sit there doing nothing. You'll have
to move it to the head to execute it.
On May 20, 2:17 am, Paul Tarjan ptar...@gmail.com wrote:
I actually wanted to append the text to the document. Here is how I'm
working around
I actually wanted to append the text to the document. Here is how I'm
working around it, but I thought building up the tags using jquery
functions was the preferred method.
var embed =
$(span/).append(
$(span/)
.text(data)
If I have a node that isn't in the DOM, and then I add a script to it,
then it is actually executed. Example
Expected behavior : s variable contains the string scriptalert('hi')
/script.
Observed behavior : alert box pop up and s contains
script
var s =
Hi,
Try this
var xxx = 5;
$('input:attr[value='+xxx+']').parents('tr').remove();
Paul
On May 11, 8:37 pm, Massimiliano Marini m...@linuxtime.it wrote:
Sorry,
the right question is:
How can I remove the entirely row containing the checkbox with the value for
example 5?
The value
the main demo appears:
http://jquery.bassistance.de/treeview/demo/
Please help.
Best regards,
Paul.
Hi,
Your code is missing th /ul for ul id=second
When I add this in everything toggles as expected --
http://jsbin.com/esaso/edit
Paul
On May 6, 3:37 am, brian bally.z...@gmail.com wrote:
jquery 1.3.2
I have a nested group of lists similar to below where all but the
top-level list
Hi,
I think it may be to do with 'border' being shorthand for all the
individual border properties.
If you code this
$('#byClass').append($('#byClass').css('border-top-width'));
then it shows the width as '1px'.
hth
Paul
On May 1, 9:39 pm, Panman01 rpann...@gmail.com wrote:
One thing to note
On Apr 8, 4:52 pm, Paul Thiel pjth...@gmail.com wrote:
Hi guys.
Trying again as not sure what happened to the previous post.
I am using jQuery 1.3.2 and getting some unexpected behavior this
morning.
This works, with the alert being executed when the showpalette event
is triggered
Hi guys.
Using jQuery 1.3.2 and getting some unexpected behavior this morning.
This works, with the alert being executed when the showpalette event
is triggered.
$().bind('showpalette', function() {
alert('showing palette!');
});
$.event.trigger('showpalette');
However, this does NOT
Hi guys.
Trying again as not sure what happened to the previous post.
I am using jQuery 1.3.2 and getting some unexpected behavior this
morning.
This works, with the alert being executed when the showpalette event
is triggered.
$().bind('showpalette', function() {
alert('showing palette!');
does this thing only work when placed inside a form?
what if my server does not handle asp?
I simply cannot get it to work. Even the listnav bar does not display.
I am trying to implement demo one.
here is my page code: NB i have omitted header and footers from this
snippet.
script
ive spent all day trying to get this to work.
are u sure it has been tested using v 1.2.6
to :auto), using JQuery? Would really appreciate any links.
Cheers
Paul
for this?
--
Paul Woolcock
pwool...@umflint.edu
paulwoolcoc...@gmail.com
').attr(selected,selected);
Paul
On Mar 17, 12:00 pm, lucas chizovo...@gmail.com wrote:
Thanks! but, prepend put the element at begining of the list in the
combo, but it isn´t selected as the first option
in the documentation i didn´t see nothing to put it as selected.
Thanks again!
Hi Chris,
Your .empty() refers to .gloves_wear - but the class on the div is
wear_gloves !
Otherwise code looks OK.
Paul
On Mar 16, 2:59 am, Chris Hall sifuh...@gmail.com wrote:
I'm trying to remove radio buttons under a specific circumstance, but
I'm not having much luck.
Here
Hi,
You have a trailing comma at the end of the parameter for the animate
commands - it's not needed. I think IE treats it as invalid JS so
ignores the command. So try it like this:
$(.sidebar a).mouseover(function(){
$(this).animate({
marginLeft: 10px
}, 400 );
});
Paul
On Mar 16, 7:12
Hi,
Try using prepend to add at the beginning.
See jQuery docs - http://docs.jquery.com/Manipulation/prepend
Paul
On Mar 16, 3:25 pm, Chizo chizovo...@gmail.com wrote:
Hi people, how can i add a first option value to a combobox,
containing for example Select...
With append i can add the new
1 - 100 of 275 matches
Mail list logo