I've bugged it here: http://jquery.com/plugins/node/787 and here:
http://dev.jquery.com/ticket/1870 but I'm wondering if any one has any
ideas for a workaround (other than switching browsers
unfortunately) . Basically, in IE6 the width() on a select box (or
it's surrounding div/span) is not
just going to put it in the logical order (first
add the rows, then check the width) and ignore that little quirk
though.
My immense thanks!
-Charlie
Hi all, I'd like my application to be able to check my ajax results
for an array with an index of error before it gets passed along to
whatever function made the call to finish doing whatever it's doing.
It looks like this would be easy if global events were called before
local events, but as
I ended up doing modifications to the jQuery core to make this
possible.
Thank you for the response. I think I'll try my callback method
described (sorta) above, if no one else can come up with a better
solution. I'd rather write more code now and stay on the upgrade path!
Hi all, the application I'm attempting to write couldn't be simpler:
I want to display rows of data, retrieved from a database and allow
people to edit or delete those rows and add new rows. Backend is PHP,
but I'd prefer to keep that out of the picture. So far I'm passing my
rows successfully
you can pass the index for the accordion panel to the next page in a
url after a hash or search symbol . On page with accordion extract the
data from the url and use it to activate panel in accordion.
here's a working example
arrows are image files, modify the image in css images folder
Praveen wrote:
How to change the arrow color(right and down arrows) in the superfish
menu?
-Praveen
your question isn't very clear . If you are trying to select based on
what is inside the div these should help:
$("div:contains("Some Text")).// do something
or
$("div:has(li[class=something])").// do something
http://docs.jquery.com/Selectors
need to be more specific what you are trying
Thank you very much
On 27 avr, 13:55, Charlie charlie...@gmail.com wrote:
your question isn't very clear . If you are trying to select based on
what is inside the div these should help:
$("div:contains(&
$(".content").load("test.html#content");
this will grab only the id content from test.html and load it , can
refine this down to elements within #content as well
example on jQuery site shows same method
clicforw...@googlemail.com wrote:
Hello Michael,
thanks for this.
I got a error:
got similar results however if take out the "*" it works fine. The "*"
is redundant since jQuery will look for all anyway
clicforw...@googlemail.com wrote:
Hello,
im using .load to get a part of a html site into my div.
Problem:
For exapmle i have some markup like:
pstrongsome
I don't know first one is semantically correct or not but it works:
$("#playGround div").html("");
also
$("#playGround div").contents().remove();
also
$("#test_div *").remove();
clicforw...@googlemail.com wrote:
Hello,
im loading external site like this.
($(this).attr("href") + ' #content *') will return the contents of
#content on the page being loaded without the div container with same ID
using less generic ID named " content" would be another obvious
solution
Laegnur wrote:
Hello
In a website that I am developing, I have a tab
removeAttr() will take the whole href property out of the tag
a href="" Test/a will become a
Test/a
if you want to keep href property you could overwrite the href values
$('#add a').attr('href','#'); produces
a href="" Test/a
Sam Granger wrote:
$(function() {
$('#add
I've done this with a horizontal superfish, make it go right to left,
not a big difference on vertical style
sf-menu ul's for the sub menus are absolutely positioned, work those
off right side references , look for left floats that now need to be
right etc
the arrow class ( default is
window.location.search will return "p=item"
window.location.hash will return "id=1"
simple test in firebug:
alert(window.location.hash);
gozigo_milis gozigo_milis wrote:
Dear all,
Can u give me script with jquery how to get URL after #
Example : index.php?p=item#id=1
How can
window.location.hash.substring(1);
this will take out the "#" sign,
Charlie wrote:
window.location.search
will return "p=item"
window.location.hash will return "id=1"
simple test in firebug:
alert(window.location.hash);
gozigo_milis
add the superfish-vertical.css file to page along with the
superfish.css, and in tag ul class="sf-menu" put class="sf-menu
sf-vertical". Done, menu now vertical
Englesos wrote:
Hi All,
I have been trying to talk “Superfish” into working as a vertical menu
for phpWebsite (as discussed
Simplest solution would be don't use the third level UL's, add custom
classes to the 3a and 3b you are showing and use css to customize.
Won't be fighting script or having to change absolutely positioned subs
that way
webhank wrote:
i am looking for a way to have superfish only hide the
not sure what you are seeing, appears to be working. One of the issues
with swapping out menus in Joomla is the menu class in existing
template.css. Some of it's rules supersede superfish.css . It makes
troubleshooting superfish css a little clumsy if left in.
cacaoananda wrote:
I'm using $ajax xml successfully for a google map project. The xml
being delivered seems to have unusual tag structure but $ajax still
parses it using following:
$.ajax({
type: 'GET',
url: 'somefile.xml',
dataType: 'xml',
error: function() {
// do something
},
success:
you can put columns into the sub menus fairly easily with supersubs.js
okdok wrote:
I would like to integrate a multi-column superfish into a Joomla!
1.5.10 production site. Has anyone been able to accomplish something
similar?
fix your overflow: hidden in parent div
rui wrote:
Sorry! Here it is:
www.freequizzes.info/codigo
On 15 maio, 18:21, Ethan Mateja ethan.mat...@gmail.com wrote:
Link?
On Fri, May 15, 2009 at 12:00 PM, rui mourato@gmail.com wrote:
I've just installed this
a specific file?
Rui.
On May 16, 5:13pm, Charlie charlie...@gmail.com wrote:
fix your overflow: hidden in parent div
rui wrote:Sorry! Here it is:www.freequizzes.info/codigoOn 15 maio, 18:21, Ethan Matejaethan.mat...@gmail.comwrote:Link? On Fri, May 15, 2009 at 12:00 PM, ruimourato
$.each(data,function(i) {
name = "name - " + data[i].name;
surname = "surname -" +data[i].surname;
age = "age -" + data[i].age;
console.log(name) etc...
});
I'm not good at explaining the exact terms _javascript_ definitions for
"value and key" but they are
have been working with suckerfish menu's for a year or so and
have just
gotten into the multicolumn feature. What I have yet to wrap my
head around
is how to create the second column. Any examples are greatly
appreciated.
On Sat, May 16, 2009 at 10:16 AM, Charlie charlie...@gmail.com
w
o wrap my
head around
is how to create the second column. Any examples are greatly
appreciated.
On Sat, May 16, 2009 at 10:16 AM, Charlie charlie...@gmail.com
wrote:
you can put columns into the sub menus fairly easily with
supersubs.js
okdok wrote:
I would like to integrat
grab the index of menu click, pass it in the URI , grab it on opening
page and pass it to the new page menu. Works great for opening jQuery
UI tabs and accordions however they have "selected" or "activate"
functions built in. Might be a little more difficult depending on how
menu script
google maps function resizeMap();
donb wrote:
A Google map will not render itself property if the dimensions of the
map container are not defined at the time the map initializes. And a
'display:none' container will have zero height and width.
Perhaps you can load the map off the side
put a div inside sub li, put whatever you want in the div. If various
dropdowns have different widths add supersubs.js and adjust accordingly
Hetneo wrote:
Hi Cy Morris,
Firstly, great extension, love it!!
Just wondering if it has the ability to be easily adapted into a mega
menu style?
have you tried using pathToclass? built in function in superfish allows
opening path you choose by adding class of your choice. Examples on
superfish home page
pauln wrote:
I'll restate this previously posted issue with a little more
context...
I'm using superfish with hoverIntent to
I'll bet there are 30 different answers for this based on how the data
is being delivered, processed. and how you are using "jQuery Library"-
plugins, methods, functions, event binding etc.
I just set up jQGrid with several thousand rows in database and am
amazed at how fast it works!
you have a series of compounding problems here.
Simplest to fix is getting rid of "left: -50%" hack by clearing out all
the non essential css from the container div "navigation". Getting rid
of "inline" in that div will also fix the hack for "weird CMSMS menu
template problem".
Next make
simple recipe for multi column subs with superfish
put div into 2nd level li. Put whatever you want inside this
div, images, multiple divs, heading tags etc. Style divs any way you
need
use supersubs.js to adjust widths if not all sub menu's are same width
Hetneo wrote:
Hi
look at demo on jQuery site, works exactly same as your sciptaculous
example
http://docs.jquery.com/Tutorials:Live_Examples_of_jQuery.
not sure why your's causing issues, used this many times myself with
same result
M.M. wrote:
I've searched the archives, and lot of people asked this
$('.contenttitleh1a, .itema').click(function() { ...
heohni wrote:
Hi!
currently I have this:
$('.contenttitleh1a').click(function() { ...
Is there a way to say
$('.contenttitleh1a'). or $('.itema'). click(function() { .?
It's just that I have 2 different links to click but
I'm working on a Google Map app using jQuery and Google maps code
together but I got very confused trying to follow your questions.
you can pass variables ( index, lat/long or whatever works easiest)
from small map to the URL that opens big map. invesitgate jQuery .attr()
to do this,
y
of (like in the example) getting superfish to display the child and
the grandchild elements?
Thanks,
Charles
On May 27, 1:25pm, Hetneo charles.kingsley.no...@gmail.com wrote:
Hi Charlie,
I guess the next question is what happens if there are li items within
the div?
Superfishdoes not display
$.getScript("url") might help
heohni wrote:
Hi,
on my contact page, I have some hidden divs. One is for a google map.
This div is only shown when the user has clicked to open the div.
As I am working with smarty my template looks like this:
span id="gmap"
{literal}
script src=""
another option is put an overlay over them
Fluffica wrote:
I thought "oriHref" was a fancy part of jQuery there. Well, hopefull
thinking.
Unfortunatly I've got a long list of dynamic links, and need to
disable them all when one is clicked. Putting the original href back
into each one
using jQGRid version 3.4.4
I have jQGrid working great with several thousand records, bottom
toolbar search, add , delete etc are working fine in all columns. I
installed the top toolbar search bar using .filtergrid and it is
sending ajax only when I hit enter key, not autocomplete style as
I've never done this but if I was to try I'd try putting a dialog
outside of all main containers, clone whatever needs printing to the
dialog, set main containers print css to display:none
waseem sabjee wrote:
I'm not sure if thee is an automated command for this but
one method is to
menu css is not typically quick fix stuff, there are a lot of elements
at play, so getting a quick fix solution in a forum isn't easy.
The relative and Z-Index issues have nothing to do with your situation.
The process will involve a restructuring of your css backgrounds
Background of menu
markup isn't correct for accordion, also page doesn't validate on w3c
validator. Fix the markup and should work fine
sadist wrote:
hi,
i am developing a site, which i intend to use accordion at my
frontpage.
everything works good with all browsers except for in IE 6 or even 7,
it is
not much to go on here. Google "IE problem" and there are a little more
than a few issues show up
pretty hard to troubleshoot a bunch of empty div's, an unknown image
and a generic "problem", all packed into a 100px tall container . The
underlying concept though sounds like jQuery would help
not a perfect solution but you won't see any subs for any of the time
cursor is over "Home"
$(".sf-menu li:eq(0)").hover(
function () {
$(".lower").css("left","-999em");
},
function () {
$(".lower").css("left","0em");
}
);
gerbert wrote:
Joel Birch are you around? Anybody else
you can search the json array with $.each
var nameWanted = "a";
var data="">
{"id":"2","prijs":"5","naam":"b"},
{"id":"3","prijs":"22","naam":"c"}]}}
$.each(data.channel.items,function(i,item) {
if (data.channel.items[i].naam == nameWanted) {
index=i;
prijsWanted=
overflow: hidden should help. Also you are loading 2 instances of
jQuery file which can cause issues
instamattic wrote:
Is there a way to prevent the brief display of all the photos in the
cycle when the page loads? Problem affects IE7 and maybe others.
http://scotthardinghomes.com/
invalid code
div dl class="entry"
Dave Maharaj :: WidePixels.com wrote:
I am cleaning up some html code and
originally i had
li
div class="loading" id="loading_profile"/div
div id="profile"
dl class="entry"
dtProfile Settings/dt
dd class="skills"
?php foreach
you already have what you need
whenever you see a reference to jquery.js ( in tutorials,plugin docs
etc) you can substitute jQuery.1.3.2.js. or any other version The
numbers after jQuery are version numbers, but this is the jquery.js you
are needing. You can do one of following: save the
One reason I follow this board is to learn how to do things I haven't
encountered. I had no idea off top of my head how to do what you want
but in quest to learn jQuery many of the problems on this board are
great for training one's self. Thanks to team jQuery for such a good
library and for
i did realize after reading your post my bad for not paying closer
attention to the OP, wrapping it all first then moving out of p makes
sense
mkmanning wrote:
This still won't move the optional caption text (see my post above).
On Jun 6, 4:21pm, Charlie charlie...@gmail.com wrote
the reason it doesn't work is ul.links isn't a sibling of the li that
click occurs on, it is nested inside that li and therefore is a child.
In the Learning jQuery example, the div's that are being opened and
closed are siblings of the h3 that is being clicked
.next() will look for a
not much to work from here but sure sounds like script isn't activating
did you include jQuery.js and jQueryUI.js files? are paths to these
files correct? is order correct?
did you intitiate $("#tabs).tabs(); ?
is syntax correct?
more code or link would help, markup alone doesn't tell a
have you looked at the "even more advanced demos" on cycle site? If
ever there was a plugin with a large variety of examples Cycle is it!
You could at least find some examples that come close to what you want
and be more specific about what it is you are trying to do by
referencing them. Look
this response refers to a specific use in a CMS, in this case Joomla.
Admin of a menu in a CMS has nothing to do with extensibility of the
markup or script functionality.
you can extend the markup virtually indefinitely without any css or
script mods by continuous nesting of UL's. Of course
navigation : true
In accordion will match link within accordion content to page url and
open that section when page loads
Skunkmilk wrote:
Hi All,
Very new to Jquery and was hoping i can get some help.
I have an accordian list much like the example here :
this is confusing, all the #content div's are already hidden by css (
display:none) and you say it's already working . Not very clear what
you are trying to accomplish
$("#content div").hide(); // this will hide every div within #content
using part of your click function below a "filter"
try taking the dialog constructor out of the click functions maybe load
is firing before the dialog call is complete
this seems to be the norm, not trying to build it inside a click
also first link doesn't validate on w3 validator, always worth
checking validation when DOM weirdness occurs
exactly
terry irwin wrote:
Thanks Charlie,
Do you mean using it like this ?
$(document).ready(function(){
$("#accordion").accordion({
active: false,
collapsible: true,
navigation : true
});
});
On Thu, Jun 11, 2009 at 11:19 PM, Charl
var d=$('div.pointer').length;
alert(d);
amit wrote:
Hi,
I am writing an application that converts an ajax xml response into
html using client side xslt transformation. The transformation is
achieved using following snippet, which works fine -
transform:function(xml){
if
one little addition to markup add an id ="list" to ul due to $sortable requirements
$("#section_list li:not('li ul li')").each( function(i) {
position= i+1
myId="foo_"+position
$(this).attr("id",myId);
});
$("#list").sortable();
$("button").click(function() {
var
give ul.sf-menu an absolute position with css and apply the floating
script to ul.sf-menu instead of the div container in example
everything else in menu css and script remains the same
I believe dimensions.js is deprecated in current jquery.js and is now
built into core
Yuri Timofeev
changing to class will do what you need
here's an example using live() instead of livequery since it is built
into jquery now and works for click function you are using
I just changed to a UL instead of images
http://jsbin.com/ewutu
fabrice.regnier wrote:
hi ;)
An id must be
look on jquery UI main page, there's a developers guide for widgets and
tutorial
Amit wrote:
Hi Group,
I just wanted to
knew if we can create widgets using jquery , if yes, how??
--
Regards,
Amit Kr. Sharma
Mobile: 09780141161
simplest solution is to add an extra class to the culprit sub ul's
either by hard coding it in markup or using jquery . From there it
depends on the situation you have, number of sub levels and which
levels are being troublesome. If it's just a matter of sliding first
level left a bit, use
get better response with a link to see the problem, jsbin works great
, has built in script libraries including jquery
Glazz wrote:
nobody can help me out?
['font-family'],
'font-size' : opcoes['font_size']
});
/** end **/
});
/** end **/
};
On 13 Jun, 14:42, Charlie charlie...@gmail.com wrote:
get better response with a link to see the problem, jsbin works great , has
problem is events won't trigger on new element introduced to DOM after
document ready has fired unless you use live() or livequery(),
these allow to bind to elements before they enter DOM
read up on it, will be an easy fix
Eric-Sebastien Lachance wrote:
Sorry if the subject is somewhat
this does not mean click both at same time, it is standard method of
applying function to more than one selector and applies to *any*
selector individually
look at examples
http://docs.jquery.com/Selectors/multiple#selector1selector2selectorN
bharani kumar wrote:
Assume if we give
assuming you're keeping the a tag there are quite a few ways to
do this, here's a few:
1)
$("div h1 a").appendTo("div");
$("div p, div h1").remove();
2)
var link=$("div h1 a");
$("div").html(link);// nothing left in div except a tag with
this example, would wipe out anything else in div too
this is a css issue very common with Joomla integration of new menu,
the original template menu css does not get removed when installing a
new menu and some of this css is needed to adapt new menu to theme of
template. There are different techniques that can be used to style a
menu , yet
page breaks in IE 7
w3 validator shows broken tags and microsoft debug has error here :
}).playlist(".entries");
good practice to run validator (easy click from Firefox developer
toolbar) , can find issues that may not be obvious, or when page not
acting properly
$(".classa").click(function () {
$(this).parent().next(".classdiv").toggle();
});
FrenchiINLA wrote:
Thank you for the reply. I would like to show hide the div located
right after the h3 when a.classa is clicked, and not all other
div.classdiv located on other lines. Thanks
o "x1-button"
the if statement " appears to return true again. As it appears that
"#content div" is for any div in #content being hidden versus ALL.
So I am looking to understand how to write the filter/test to check if
ALL the divs in #content being hidden
if contents are text just use css, not likely a need for scripting this
li { float: left; width: 25%; text-align: center}
wrap contents in another tag if you want to visually separate borders,
backgrounds etc
Brian wrote:
What I Have:
I have a bunch of inline blocks next to each other
you're each idea is right on track
$(".logo").each(function(){
$(this).hover(function(){ /// *this* within an *each* will
single out the individual .logo you hover over
$(this).find(".caption").animate({opacity:"show"},
"fast");// look within this .logo only
},
function(){
not sure if this will help you or not but IE tester has an IE5.5 script
engine, as well as 6,7 8
http://www.my-debugbar.com/wiki/IETester/HomePage
Rodrigo Sebastin Alfonso wrote:
Yeah, I thought so, but it's not an option to me to work
without Win 95 (yes, I also said WTF). Client needs!
"according to what's in this list."
no way to see from here what's in your list, what you want to look for
or what you want to do once you find( or don't find) what you are
looking for
maubau wrote:
I'm trying to create a list, to which you can:
1. add and remove items.
2.
that's a server side issue, not client side
bharani kumar wrote:
when upload ,
On Fri, Jun 19, 2009 at 7:33 PM, mojoeJohn mojoej...@gmail.com
wrote:
resize it in what way? on a hover or an image replacement or what?
On Jun 18, 11:25pm, bharani kumar bharanikumariyer...@gmail.com
rule of thumb is to have jquery.js load before any other jquery
scripts, you have superfish.js loading before jquery.js
kanjigirl wrote:
I'm using Superfish for the first time on this page:
http://www.redkitecreative.com/projects/rickett/
In IE7 I'm getting an error with
$("input[type='text']").val("");
kalyan Chatterjee wrote:
Just use this a simple html button:
input name="button2" type="reset" id="button2" value="Reset" /
On Jun 20, 9:58am, naz s.na...@gmail.com wrote:
i have try this code but it also clear my buttons name .i just want to
parnt.length isn't zero so if you are still using that test could the
the problem
think about it a second, if you assign $(this).parent() to it how can
length be zero?
also you have a syntax error
$(this).insertBefore(p)// should have quotes around p unless it is a
variable
if you aren't
your source is all corrupted by injecting your images
aimg//a inside the href of another a
page is breaking as result
try to make the code match the design of original plugin example first,
verify by checking source in browser
wildbug wrote:
I figured out how to limit the photos to 4.
IE doesn't seem to recognize option click
try this in both FF and IE
$("select *").click(function () {
alert(this.tagName);
});
In FF will get alert returning "Option", in IE doesn't fire
try this:
$("#kies_land").change(function () {
if ($(this).val()=="nederland") {
i tried this in IE 7 and was able to get to search after closing modal
without complete lock up
page does however have a significant number of validation errors,
multiple use of ID's, broken tags, invalid xhtml tags ,style tags
inside body all over the place etc and error console keeps
t;Ok": function() { $(this).dialog("close"); } }
});
fredriley wrote:
Thanks for the reply, Charlie. Sorry I've not got back on it until
now.
On Jun 11, 10:32pm, Charlie charlie...@gmail.com wrote:
try taking the dialog constructor out of the click functions maybe load is
not to mention jquery UI Dialog
http://jqueryui.com/demos/dialog/
options don't show how to set it fixed for scrolling but that's easily
modified with jquery.css()
brian wrote:
jquery.popup? There are a couple of different versions of that, I think:
it works fine here http://jsbin.com/ogoni
Thavipa wrote:
Hmm, thx for your reply.. but, it doesn't work..:(
On 20 jun, 18:09, Charlie charlie...@gmail.com wrote:
IE doesn't seem to recognize option click
try this in both FF and IE
$("select *").click(function (
try setting delay as in Superfish API
http://users.tpg.com.au/j_birch/plugins/superfish/#options
if that doesn't do anything chances are your script isn't firing . Main
menu won't appear any differently if script isn't firing
non firing script can be for any number of reasons
is this a CMS
, please try to understand
myrequirement,
Thanks
On Mon, Jun 22, 2009 at 12:01 AM, Charlie charlie...@gmail.com
wrote:
not to mention jquery UI
Dialog
http://jqueryui.com/demos/dialog/
options don't show how to set it fixed for scrolling but that's easily
modified
firebug and
fiddler but they dont show much. Also, I tried on another PC and I got
the same problem with IE7.
Thanks!
On Jun 20, 6:04pm, Charlie charlie...@gmail.com wrote:
i tried this in IE 7 and was able to get to search after closing modal without complete lock up
page does however
take a look at Hover Intent plugin, page explains your problem
http://cherne.net/brian/resources/jquery.hoverIntent.html
adamscybot wrote:
This doesnt work at all, even without the stop().
Nav bar is unresponsive.
waseem, why would you make this so complicated for someone just
learning jquery?
OP didn't provide any info on where messages are coming from. Creating
arrays, click counts etc when you don't have enough information to set
anything up is very likely going to confuse someone. A couple of
with this...
On Jun 22, 9:31am, Charlie charlie...@gmail.com wrote:
validator shows recurring ID's missing script type's, broken tags , invalid style placements, invalid xhtml tags etc,http://validator.w3.org/check?verbose=1uri=http%3A%2F%2Fpjm.com
the errors part can be seen in web dev toolbar in firefox
try here: http://jquery.com/
if you plan on using jquery much or any web development install Firefox
and Firebug extension. Far more friendly development browser
if you can't download from above site the following is Google hosted
jquery and is great way to use it, no file paths or
since jquery is _javascript_, and probably the best reference on the web
for learning _javascript_ ( and many other languages) is
w3schools.com try this link:
http://www.w3schools.com/js/js_functions.asp
hard to beat their explanations and "try it yourself" examples
jerome wrote:
I
you're loading jquery twice. Remove top one, not recommended to serve
it from jquery site, put your animation script below your local
version of jquery
should work then
umcosta wrote:
Ok, here is what I want to do (extracted from: http://docs.jquery.com/Traversing/hasClass):
script
here's a couple of options:
add a class to your FAQ only used for the click function, remove the
class inside the load success function.
change $("FAQ).click.. to $(".newClickClass").click..
after appending content : removeClass("newClickClass")
or simpler
hide or remove #FAQ if
appears you are trying to use toggle with 2 functions the same way
hover works with it's 'over' function and 'out' function
toggle arguments are toggle(speed,[callback])
try this:
$('a.toggle').click(function(){
1 - 100 of 790 matches
Mail list logo