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").slideU
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 wrote:
> On Tue, Feb 16, 2010 at 9:22 AM, Paul Collins
> wrote:
> > I'm have a fixed widt
orem ipsum dolor sit amet consectateur adipscing
elit.
Item 3 -
brief description lorem ipsum dolor sit amet consectateur adipscing
elit.
Would appreciate any help.
Cheers
Paul
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 wrote:
> On Jan 6, 3:44 pm, Acaz Souza wrote:
> > MooTools:http://www.jsfiddle.net/4vnya/
> > jQuery:http://www.jsfiddle.net/eFbwJ/
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
> Hi Paul!
> This is a case where you really don't even should use Javascript,
> unless you're trying to do some fancy
Sorry, the test page:
http://paulcollinslondon.com/test/test.html
2010/1/5 Paul Collins
> 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 Rollov
ul.
Thanks
2010/1/5 brian
> Just put the class in the selector instead 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 &
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');
> 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. Write to here
r Empires, here...
http://gameview.outer-empires.com/Info/Newbie.asp)
HTHs,
Paul Hutson
know that isn't exactly 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
nk. Its hard to see 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
Do you mean something like this? : http://plugins.jquery.com/project/ScrollTo
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)
Could you post an example of your code
that isn't working please?
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.
On Jan 1, 8:53 pm, Trev 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 whenever
you deem it shoul
On Jan 3, 2:03 am, Šime Vidas 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.
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() + "" + $(this).html());
});
He
Thank you all for your helpful suggestions.
On Fri, Jan 1, 2010 at 2:37 PM, Karl Swedberg 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 { background-
Thank you. Have a great New Year.
2010/1/1 Šime Vidas
> 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 tr:visible:even').addClass('rowodd');
>
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 tr:visible:even').addClass('
uce the expected, single alert
box.
Any thoughts as it's rather annoying.
Cheers!
Paul :)
parent('tr');
var position = $('td', $(this).parent('tr')).index(this);
$('td:eq('+ position +')', $(trparent).prev('tr')).css
('color','white');
$('td:eq('+ position +')', $(trparent).next('
showcase - more 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.
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
wrote:
> I didn't have to do that for now, but if I had to I'd use Fireb
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.
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
O
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
hat I can do to get jQuery 1.3.2 up and run with
VS Doc?
Thanks,
Paul
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 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. When m
Hi,
I think you need a space before the #lightboximg
Try
"#jqmTarget".load(myUrl +" #lightboximg")
Paul
On Oct 4, 9:15 am, FineThought wrote:
> Hi,
>
> I'm brand new to jQuery and learning as I go. I've searched a lot over
> the web regarding th
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 cor
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 wrote:
> On Sep 8, 6:48 pm, Mike Alsup wrote:
>
>
>
> > > Hey thanks Mike, I got the random timeouts working, however all the
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
cre
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
Jack, yes, the list menu plugin.
On Aug 10, 3:01 pm, Jack Killpatrick 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
>
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
> Hi,
>
> Use prepend method.
>
> Regards,
> An
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
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 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
> t
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
> 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
p.s. Sorry if I put this in the wrong place!! I didn't know where
else to post it...!
imobster clone. For reference, however, 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
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 tags and
elements are not valid inside
Paul
On Aug 7, 6:53 am, jsrobinson wrote:
> I have two custom parsers,
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('');
Paul
On Aug 5, 4:59 pm, Panman 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 think the e
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.
"selected". When
you mouseover 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
20
he HTML
Home
About Us
Overview
Contact
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
>
> $('.secondLevel').css('width', $('#header').width());
>
> On Jul 23, 1:16 pm, Paul Collins wrote:
> > Hi all,
> > I've got a problem with IE6 and I need to ba
27;m not sure how to start with the script. I can calculate the width of the
"header" DIV, but not sure how to force the "secondLevel" one to match it.
alert($("#header").width());
Any help would be fantastic.
Cheers
Paul
unction(){
$("#innerbox").animate({ left: '0px' }, 'slow');
});
Paul
On Jul 21, 10:38 pm, Simon wrote:
> Hey, so there might be a simple solution to my problem, but here is my
> question:
>
> I have a box:
>
> html
>
>
>
>
&g
http://docs.jquery.com/Selectors/nthChild
also works.
James wrote:
http://docs.jquery.com/Selectors/eq
On Jul 1, 3:10 pm, Wacko Jacko 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 the css for only
2 items
Hi,
Try setting width of image to 90%
.fisheyeItem img { width: 90%; }
Paul
On Jun 29, 9:46 am, Wolfram Rösler 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
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(){
$.post("
Ensure you've included the Jquery package at the top of the page.
On Apr 29, 4:47 pm, Evan wrote:
> On Mar 13, 3:06 pm, Paul Hutson wrote:
>
>
>
>
>
> > Hello,
>
> > I've been trying to get the following working :
>
> >http://dev.jquery.com/view/trunk/plugins/sound/
>
> > Howev
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 By
ement "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
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 deduc
with this code? It's really starting to irritate me.
If you need to see it in action, let me know (and possibly an IM way or
email way to contact you, and I will send you the URL and instructions.
Thanks,
Paul
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
http://example.com/js/badge.js";>
I would like to use jQuery in my badge code to make my life easier, but I
don't want to require a
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
http://example.com/js/badge.js";>
I would like to use jQuery in my badge code to make my life easier,
but I don't want to require a
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 documentat
Thanks for the help (and the tip!) It all worked excellently :)
Cheers,
Paul
On Jun 16, 7:19 pm, mkmanning 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
Element 2
I would like to do a search of the above UL and get back the id of the
first LI element you can see in the list there by doing a search for
typeref="E" && typeid="1". Is that possible using Jquery?
Any help would be very very gratefully recieved!
Regards,
Paul Hutson
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
(removing "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 <mailto:tigerseyet...@gmail.com>>
Thank you, Karl!!
Works excellent. Exactly what I needed!
Karl Swedberg wrote:
Assu
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');
Hi,
Try this:
$(this).parents('div').attr('id')
Paul
On Jun 14, 2:47 pm, Antonio 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
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 requir
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 wrote:
> I have been trying to insert xml into an iframe. I can do it kinda.
> The
#x27; command - but it's not
documented in the API.
$("[name='star1']").rating('drain')
Paul
On Jun 9, 7:54 am, "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
txtSpin2').SpinButton({min:1});
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'.
Hi all,
I'm having some trouble with the slide up and down effect with JQuery.
Basically, I have an element that is absolutely positioned -60px at the top
of the page, by applying a CSS class (hide) using JQuery. This shows is
slightly poking out at the top of the browser. When you hover over the i
this problem and can 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 anothe
ht months or so :)
Regards,
Paul
On May 28, 11:45 am, "ryan.j" 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?
,
Paul
On May 28, 11:05 am, "ryan.j" wrote:
> sins of a solar empire meets eve, all powered by jquery?
>
> sounds fun! :)
>
> On May 28, 10:55 am, Paul Hutson wrote:
>
>
>
> > Hello all,
>
> > I've mentioned this from time to time in these
f what
we're doing.
http://www.youtube.com/watch?v=lAj2KYuFV2g
We are, as always, looking for more testers and - from my POV - it'd
be excellent to get some more technically minded testers from the
Jquery community..
Looking forward to your comments and questions.
Regards,
Paul Hutson
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 s
point. 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 wrote:
>> I actually wanted to append the text to the document. Here is how
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 =
$("").append(
$("")
.text(data)
.attr("i
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 "alert('hi')
".
Observed behavior : alert box pop up and s contains ""
Hi,
Try this
var xxx = 5;
$('input:attr[value="'+xxx+'"]').parents('tr').remove();
Paul
On May 11, 8:37 pm, Massimiliano Marini wrote:
> Sorry,
>
> the right question is:
>
> How can I remove the entirely row containing the checkbox wit
main demo appears:
http://jquery.bassistance.de/treeview/demo/
Please help.
Best regards,
Paul.
Hi,
Your code is missing th for
When I add this in everything toggles as expected -->
http://jsbin.com/esaso/edit
Paul
On May 6, 3:37 am, brian wrote:
> jquery 1.3.2
>
> I have a nested group of lists similar to below where all but the
> top-level list is hidden. Clickin
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, Pan
Flesler
>
> On Apr 8, 4:52 pm, Paul Thiel 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
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 work:
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!');
ive spent all day trying to get this to work.
are u sure it has been tested using v 1.2.6
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.
$(function(){
low set to :auto), using JQuery? Would really appreciate any links.
Cheers
Paul
; wrote:
> > Hi,
> >
> > I really want to start using jquery in some places to replace
> > mootools, however i find it extremely difficult to persuade clients to
> > go with jquery when the jquery website athttp://
> docs.jquery.com/Main_Page
> > is completely
Hi,
The prepend function just adds HTML at the beginning. You have to set
the select yourself. Simplest way would be like this:
$('select').prepend('Select ... ');
or something like this:
$('select').prepend('Select ... ');
$('select option:first
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 wrote:
> Hi people, how can i add a first option value to a combobox,
> containing for example "Select..."
> With append i can add t
1 - 100 of 288 matches
Mail list logo