you can't use "this" in same manner as tagnames, ID's or class as a
selector in combination with other selectors the way you are
attempting.
try:
h1Height = $('this').siblings('h1').height();
Warfang wrote:
I'm pretty new to _javascript_/ jQuery, so this is really bugging me.
I'm tr
Selectors are strings, including the special operators. So your select
should look like this:
'this + h1'. What you have there just concatenates the two strings
together making your selector 'thish1'
cheers
Michael Lawson
Development Lead, Global Solutions, ibm.com
Phone: 1-276-206-8393
I'm pretty new to Javascript/ jQuery, so this is really bugging me.
I'm trying to get the height of an h1 that is a sibling to this. The
value for the variable h1Height, however, returned as null in the
console in Firebug. Perplexed, I tried console.logging ('this'+'+h1')
to see what it was inter
Can you post a link? This problem surely has an easy solution but not
easy to guess what it is without seeing it. Be a lot easier to debug
real thing in firebug .
Andy wrote:
Hey Guys,
Getting the same issue - anyone know of any other fixes to this
problem ? Really need some help!?
Thx
Hey Guys,
Getting the same issue - anyone know of any other fixes to this
problem ? Really need some help!?
Thx
Hello friend, here's a nice tutorial:
http://net.tutsplus.com/tutorials/javascript-ajax/create-a-progress-bar-with-javascript/#more-4045
I guess it could help you!
[]'s
Pedro Vidal
Brazil.
2009/7/18 shaf
>
> Hi Guys
>
> I want to use the progress bar to display to content load progression
> whe
Hi Guys
I want to use the progress bar to display to content load progression
when the site is loaded (like gmail). How can I do this ?
I want to put in 1 page two jquery plugin, but one of this plugin
don't work when i put 2" plugin. I am a noob in jquery and I want to
know if 2 jquery plugin in 1 page works fine?
Hello,
I am trying to build a vertical slider using jQuery. I have made
horizontal ones work in the past. No matter what I try it dosen't seem
to work in any capacity.
The GALLERY -> OCCASION CAKES page is what I'm testing on.
Link: http://www.marisasimoncakes.com/index.php?/galleries/occasion_
On Jul 18, 9:40 am, son wrote:
> Thank you Rob.
>
> I can't remember what make me use the XHTML doctype, I thought I had
> some problem with running some jquery stuff, but not sure.
>
> what is the ideal doctype the will work well with JQuery?
jQuery is irrelevant, the best (and only) DOCTYPE
The problem is the use of 'this' in the inner function. In that code it no
longer means what you want it to mean. Try this (pun intended) instead:
$('a[href^=logmar]').queue(function(){
var $this = $(this);
var args = $this.attr("href").split('?')[1];
if(args.charAt(0) ==
you already asked this in another earlier and reply is there
http://groups.google.com/group/jquery-en/browse_thread/thread/30f15f2a1cfc11cc#
mike177 wrote:
Hello,
I would like to know if there is any way to control a vertical
superfish so that it sits on the right side of the page and the
Hi,
I am looking for a solution to change my body's background with a list
of backgrounds in every 3 seconds with some fade-in and fade-out
transitions, I also want it to cycle back to its beginning image.
.bodyBG1 { image1 }
.bodyBG2 { image1 }
.bodyBG3 { image1 }
sample c
Hello,
I would like to know if there is any way to control a vertical
superfish so that it sits on the right side of the page and the menus
drop left?
Many thanks,
Mike
On Fri, Jul 17, 2009 at 4:09 PM, Mike wrote:
> and FireBug, something is replacing GET with OPTIONS. But in IE and
> Opera, it is still showing up as GET. I dont get it
As mentioned, the Same Origin Policy is killing the request. The
OPTIONS part is because FF3.5 now allows a workaround to
After getting a good nights sleep, and doing more research, it seems
the problem is not scope-related, but ajax-related. The advice I have
read suggests setting return values from within the ajax callback
function, because of the asynchronous completion of the ajax function.
So, I have attempted t
Hello,
I am trying to load a report onto my page via ajax, the code post
below currently works but what I would like to be able to do is pass
the layer into which the results of the ajax request should be loaded
as there are lots of boxes within the reports that require new data to
be loaded on d
Hello,
I am trying to load a report onto my page via ajax, the code post
below currently works but what I would like to be able to do is pass
the layer into which the results of the ajax request should be loaded
as there are lots of boxes within the reports that require new data to
be loaded on d
you can add classes ( either hard code or script) to the main items
that don't have children, then use a css hover and current rule that
positions visible sub tags offscreen
Matt Hull wrote:
Hovering on the navigation that has no children - what's new, or Learn
with us. Instead of showing
yes, you can make it open left by modifying CSS. Rework left floats to
right and sub ul positions from left to right
mike177 wrote:
Hello,
Is there anyway to make a vertical super fish menu drop left? I have
positioned the menu on the right side of the page so, I need sub-menus
to drop le
Hello guys, my first time writing to group...I'm a beginner in jquery and
I'm trying to learn the $.ajax() method. I created a simple form (3 inputs)
and the form should send the data (via ajax) to the page ajax.php which will
return the data to be written in a div (#mensagem), just it.
But I woul
Hello,
Is there anyway to make a vertical super fish menu drop left? I have
positioned the menu on the right side of the page so, I need sub-menus
to drop left. Is this possible?
Many thanks,
Mike
Hi there! I have a background image I want to change position when I
press the arrow keys. I want the background to move 16 pixels for
every press in the direction I indicate. I can't get this to work,
however. I have jquery installed, as well as the background-position
plugin. Here's my code:
$(
I am attempting to use the return value from a nested ajax function as
the value for a variable in its parent. However, despite being able to
successfully assign the variable within the nested function, it
reverts back to its original value after the child function has
terminated. Below is the cod
Hovering on the navigation that has no children - what's new, or Learn
with us. Instead of showing a blank subnavigation, it is still showing
the current drop down. Is there any way to make it blank?
Example of my issue:
http://update.creativejunction.org.uk/talk-with-us/
This superfish navigati
Hey,
One component to my current project involves retrieving various blocks
of text and html from a database that are displayed on a website (a
website that is composed of the same blocks of text and html from the
same database) via $.getJSON, and thereafter locating each of the
retrieved blocks
Hi,
Here's how it looks: