could shorten this all up and make it accessible for _javascript_
disabled by putting the url into the href of your links.
Haven't looked at plugin but since you're just loading html will use
load() in jQuery core:
hideLoading();
$("#cs_links a").click(function () {
showLoading();
Cleaner if you can use a class on the links. Assume they now have class
"dataReveal".
i=1;
$(".dataReveal").each(function () {
var actOnElem = "#dataToReveal" +i;
$(this).click( function() {
$(actOnElem).slideDown();
return false;
});
i++;
});
olsch01 wrote:
OK, I
I gave you slideUp twice...oops...bad copy paste
Erik R. Peterson wrote:
Thanks
Charlie,
I'll put it in now. thanks.
E
On Jul 4, 2009, at 9:56 AM, Charlie wrote:
could shorten this all up
and make it accessible for _javascript_ disabled by putting
version is in the url current version of jQuery is 1.3.2, just change
url .
plugins generally don't have AJAX libraries and if you bootleg them
from somone elses server you are at mercy of their server. Google with
international network is a different story.
good point, if links are sortable would need to re think my method.
Assumed they were in order in my example. If they are in order however
there is less searching of the DOM required, especially if there are
hundreds or thousands of a tags
olsch01 wrote:
Hi Charlie,
one drawback of your
>From what I see all your image links do exact same shift of background
image on hover and active. You used a different class for each link to
assign indiividual background images, however you don't need to create
a new class for each link just to shift the background since they all
shift
typo, left out a bracket
$("#cs_links a").click(function() {
$(".active").removeClass("active");
$(this).addClass("active");
return false;
});
Charlie wrote:
From what I see
all your image links do exact same shift of background
image on hove
ick(function() {
$(".active").removeClass("active");
$(this).addClass("active");
return false;
});
HTML:
div id="cs_links"
div id="cs_contact"
a id="js_contact" class="cs_contact"
href=""
w.enaturalskin.com/src/js/jquery/core/jquery-1.2.6.min.js
Line 22
On Jul 5, 2009, at 11:44 AM, Charlie wrote:
you put typo version on page
with missing bracket, my bad but I did try to fix it. Throws erreor
also in Firebug, if you open Firebug, paste that JS right into console
and
there's nothing in this post to work with to help assist. Posting a
live link or a test case in jsbin.com would be best bet for anyone to
see what is happening, and how it is created.
Blake Senftner wrote:
Hi all,
I've got a nice little bit of logic for exposing and hiding detail
might have another solution:
$.ajax({
type: "jQueryProblem",
url: "sign_Up_jQuery_Group.google",
data: "getProblemSolved",
success: function(){
googleGroup.die();
}
});
Ralph Whitbeck wrote:
$("#GoogleGroup #jquery-en").hide(); - doesn't seem
to work either ;-)
Thanks for the
If you are using progressive enhancement for table, pagination plugin
seems to take the markup out of the DOM to store in jQuery object and
then display only required number of rows. You can see this in the
example of pagination plugin.
http://tablesorter.com/docs/example-pager.html as well
If it was me I'd be saying "how can I change my Mootools code to
jQuery"? Why? You can't beat the documentation that surrounds jQuery!
When I originally probed around all the _javascript_ libraries
(YUI,Mootools,Prototype,Dojo) I realized pretty quickly that jQuery has
by far the best support
http://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_event_work_on_a_new_element_I.27ve_created.3F
Now that jQuery documentation comes in handy!
Araceli DomÃnguez wrote:
Charlie, thanks a ton for answering and thanks to all for reading.
I've changed the tooltip, you were right
some known as Horizontal Accordion
olsch01 wrote:
Hi Fabrice,
the first thing I would do is search the jQuery plugins pages (there
is a category for menus: http://plugins.jquery.com/project/Plugins/category/44),
or simply search for something like jquery menu slide in Google/Bing/
Yahoo...
http://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_event_work_on_a_new_element_I.27ve_created.3F
Thomas wrote:
Hello,
I use a jquery tabs with ajax (for loading a tab content)
it works very well,
but when ajax have to load an accordion, it doesn't work well (i loose
the
"is not defined function" error means calling a function that doesn't
exist at time it is called. Make sure path to your js file is valid,
that is where the function is defined. Also be sure jquery.js being
loaded before plugin js . If problem persists post a link
You can put your function
make it work but requires additional plugin, livequery. Perhaps
take look at Cluetip tooltip plugin. Implementation method is same as
mootools one you were using
http://plugins.learningjquery.com/cluetip/
Either will work, just different implementation approaches
Araceli Domnguez wrote:
Charlie
"can't get it to work" ??
nothing happens? images change but not way you want?
Sometimes interpreting the problem is half the battle. Can you post a
link? If not , look at "Source" in browser of working example. Make
sure you are including necessary script files ( jquery and plugin).
Order
you can use onBeforeShow to insert function to calculate offset for
css. Number of li's x height of li etc
Use "(this)" to refer to ul about to open and apply css to it
galilee99 wrote:
Hi, I'm trying to setup a vertical menu where the submenus align to
the top of the parent ul rather
you have too many issues, and assumptions going
on to try to guess what problem is
Here's an explanation of "External Script File"
http://www.htmlgoodies.com/beyond/_javascript_/article.php/3470901
HariOm wrote:
Charlie, yes you are right. It doesn't recognize the fu
did you try solution "IE Z-Index Bug Fix" in FAQ section of superfish
site?
http://users.tpg.com.au/j_birch/plugins/superfish/#faq
Adam Bomb wrote:
I need some help. I'm using Superfish navigation with Ultimate Fade-In
Slideshow. The two scripts work in harmony in every modern browser
you just need to refine your selector for p tags to fit the appropriate
parent element
lots of ways to do this
if the p tags are in the .box div you are hovering change:
$("p").css('color','#fff')
to
$(this).find("p").css('color','#fff')
A more flexible way to do this would also be to
false });
});
but this doesn't work, my accordion after a click has still no
presentation
i put this :
alert( $(this).text() );
in the function to see if my accordion is well "selected" and it is...
why does my accordion isn't "reload" ??
Charlie a crit :
probably good idea to validate page, see if that helps. Page flickers
on initial load in FF also, you have a few markup problems including
divs inside a tags, extra "" in some places and some
unclosed tags
http://validator.w3.org/check?verbose=1uri=http%3A%2F%2Fwww.pms-clan.org%2F
Fabinou
looks OK in my FF 3.0.11 however in IE 7 looks different than your
image. Renders with no padding ona's so li's get all bunched
together
Header has a div inside an h1 tag, perhaps that's causing problem?
kanjigirl wrote:
Yesterday my host did about 10 minutes of server maintenance and
seems like making the custom code fit the functionality of the plugin (
which works), rather than hack the plugin to pieces to fit your
methods, would make more sense
expresso wrote:
NO, I have custom code that determines how to paint in images to
JCarousel based on a _javascript_
Ryan,
was looking at this just before you posted this. Hover over menu in IE
7 causes body background to move. Thought that was wierd. Clicked
validate and you have doctype mismatch between html type and doctype,
might be an issue
Ryan Ross wrote:
I figured it out (sorta)
.sf-navbar li
., 18:37, Charlie charlie...@gmail.com wrote:
if your main menu items don't fit into space allowed and you force them into wrapping to multiple levels, a different design approach migtht be in order?
the position :rel has to be there for absolute position to use as reference location
problem
I have used this method to do realignments and
animations before. Either of these solutions is workable
Charlie wrote:
Following concept
would allow the subs of second row to open below that
row. This is untested but should be relatively easy to implement
Add a class to the wrapped li
of course it won't work, is improper use of index(),
replace index() with eq()
Suggestion:
instead of posting each and every thought and failed function you have
every 2 minutes, this example could have been created in a very simple
test page to get the methods and syntax sorted out.
you
should be able to apply what I suggested.
nico wrote:
Hi Charlie,
Thanks again for your ideas, if theres no other way I maybe let the
subsubmenu ul obens also in a navbar 850px widht right under the first
navbar.
ok, here is an example of the superfish menu.
http://www.premioweb.eu/jobs
looked closer in IE,,,see problem closer now, where 2nd row shows
through subs of 1st row. Yup, you got a problem. Not sure how to
resolve that part, I was only thinking originally of the subs of 2nd row
nico wrote:
Hi Charlie,
Thanks again for your ideas, if theres no other way I maybe
Nathan,
I've used loopedslider and it works great! When run in continuous loop
it doesn't seem to be a memory hog like some other carousels/sliders
with continuous option. I implemented it with images in pagination non
related to images used in the slider. Went together very easily
Will
validated, that doesnt work either, so i think it's not the problem :(
Fab
On 8 juil, 17:49, Charlie charlie...@gmail.com wrote:
probably good idea to validate page, see if that helps. Page flickers on initial load in FF also, you have a few markup problems including divs inside a tags, extra
good chance there is an overflow: hidden in css related to original
menu css in template.
Can you post a link, it is far easier and faster to troubleshoot in
browser Wading through a bunch of css for elements that can't see html
is very non productive.
tacotac wrote:
All of the
not sure what to look at. Can put an image in li and class it to have
different display css than other li's. Menu items need to stay in li
for script
also options like onBeForeShow can be helpful to script for different
parts of menu. There's likely a solution that will work in list
"is not a function" means script you are referncing , in this case
hoverintent, isn't accesible when you call the function. It shows you
have it in page, but is path vaild? Is same file being inserted again
after the call ( seen that cause function to fail too)
can you post link?
zayatzz
other functions work just fine. Several
other functions stop working too though, like colourpicker that is
visible on the same page.
Alan
On Jul 9, 8:27pm, Charlie charlie...@gmail.com wrote:
"is not a function" means script you are referncing , in this case hoverintent, isn't
not suggesting this works or aware of problem but ideas that came to my
mind to test:
replaceWith(""); // or replaceWith() some empty element and remove that
element?
Liam Potter wrote:
Having a strange bug in opera 9.6.4.
When removing objects from the dom, opera leaves a "ghost
and keeps the clutter
out if you stay in the same topic.
As Liam points out you already asked the index question, AND it
was answered by Charlie, in the topic you created just 13 hours ago
http://groups.google.com/group/jquery-en/browse_thread/thread/8832916...
and yet, here's an identical to
Reasonably easy to create with superfish. Columns can be created
within an li using divs, animate accordingly Add custom animations to
onShow option.
pennfoli0 wrote:
Hi,
Sony.com (http://www.sony.com/index.php) has a very cool horizontal
menu, My question is can this be done in unordered
eakdown" //abr /span style="font-family: Lucida Grande,
Trebuchet, sans-serif, Helvetica, Arial; font-size: 10px; color:
#808080"Uploaded with a href="" class="moz-txt-link-rfc2396E" href="http://plasq.com/">"http://plasq.com/"plasq/a'
what is a jQuery Div? define "drop down controls" ( select, dropdown
menu etc)
based on information provided there isn't much to go on to provide
solution. Is it css related, is it script related, is it markup
related? How can anyone tell. Suggest posting a link to demonstrate the
problem
Having problem with "after" option function firing *immediately* after
the "before" function but only on initialization. Have tried updated
versions on Github, tried older versions from Git and can't find one
that doesn't do this
Set up following test page to print time when "before" and
r
(this)- per API *this* is the UL about to be shown
}
galilee99 wrote:
Hi, any tips on how to count the number of li's??
On Jul 8, 11:51am, Charlie charlie...@gmail.com wrote:
you can use onBeforeShow to insert function to calculate offset for css. Number of li's x height of
use native _javascript_
var url ="">
alert(url);
Alexandru Adrian Dinulescu wrote:
I am trying to get the current page HTML URL (the one at
the top in the address box) and place it in a variable. Any help ?
---
Alexandru Dinulescu
Web Developer
(X)HTML/CSS Specialist
active class is on the a tag not li so example doesn't
work
try this:
var arr = [ ];
$(".active").each(function() {
indexLi=$(this).parents(".buttons").children("li").index($(this).parent("li"));
arr.push(indexLi);
});
alert(arr);
Dave Ward wrote:
I don't
have you tried the inputs in :VARIABLE WIDTH SUB-MENUS (BETA) ?
It applies a sizing script to superfish but I have no experience with it
Short of that working might have to manually install superfish in
template to use supersubs
Mike wrote:
Hello,
Sorry, I'm lost. I installed
1.5, it causes a lot of problems and there is no support
provided for this mootools vs. jquery issue.
On Jun 25, 6:12pm, Charlie charlie...@gmail.com wrote:
the majority of the problems with superfish integration into Joomla are css issues. The existing template menu css doesn't get remo
this isn't exactly clear but sounds like you are taking input values
and want them as straight text in a td of the new table?
how you go about this will depend a lot on the size and structure you
have for markup as well as how much of original goes into new table.
Could be as simple as
ody").attr("id","newTable");
$("#newTable td").each(function () {
var newText = $(this).find("input").val(); // get value
from input
$(this).html(newText); //replace input with new html which
is just text
});
Working example http://jsbin.com/uroca
Charli
I think I confused myself and not sure what objective isoh well,
was good practice
Charlie wrote:
After rereading this, if tables are same size and same config; the
following clones the existing table and strips out all inputs inserting
the values as text in new table
still not sure if this is 2 tables and exactly what you are trying to
do,
david wrote:
Dear Charlie,
I mean if i have a table
table
tr
td
input type="text" value="" name="a'
/td
tdinput type="text" value="" name="b"
/td
/tr
http://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_event_work_on_a_new_element_I.27ve_created.3F
sixthmatrix wrote:
If I use ajax to load a new page within a DIV called "test"...
It seems that all the classes and ids that are loaded within that
'test' div does not work
function fonctionRadioBoutons() {
alert("Dans la fonction : " +
$("input:radio[name=radioBoutons]:checked").val());
}
rejome wrote:
Hello,
Here is my prototype : http://rejome.homeip.net:8080/prototype.html
I don't understand how I can get the radiobutton value in the
Following getJSON works fine but I need to replace "presentations with
a variable "getSlides" tried a lot of different ways with a variety of
errors no matter what I've treid
var getSlides = $(this).attr("href");
$.getJSON("photoList.js", function(slides){
$.each(slides.presentations,
this happens all the time with Joomla menu extensions. Original menu
CSS doesn't get removed, so now there are 2 sets of menu CSS rules
operating on same menu. Since they are scoped differently in design,
different elements may take have the original template rule take
prescedence, while
wouldn't take long to rip out the area maps and put in a UL based menu
like superfish, would be easier to modify later also if ever need to
Paulo Henrique wrote:
Hello guys, thanks for the help last time...
now I'm coming here to ask you help to build a dropDown menu
I already built
I have lots of superfish experience, can clear up your issues for $80
US. You have a template/tag problem, was pointed out last time this
site was posted
kanjigirl wrote:
My Superfish menu's working fine in FF and IE8, but broken in IE6/7:
dialog has a setter option for title, it isn't really a title
attiribute. The dialog "title is actually a span with class
ui-dialog-title-dialog
http://jqueryui.com/demos/dialog/#option-title
$('.selector').dialog('option', 'title', 'Dialog Title');
either pass the id into the option or you
not hard to do , just have to use destroy() each time you change it
$("#accordion).accordion('destroy');
create new accordion panels
//reconstruct accordion
$("#accordion).accordion();
Todd Stuart wrote:
Hello
I am needing an accordion with dynamic data loading on each tier. Does
not sure if you are aware of this but their is a "switchClass" script
in jQueryUI. It also includes a duration so the switch can act as
animation. You could analyze code from there to adapt to yours
http://jqueryui.com/demos/switchClass/
intrinsi wrote:
I have created a plugin called
if you work with ID's you won't have choice but to use filters, however
if you can associate a class matching system when you construct the
ID's would simplify filtering
tr id="top11_21"tda href="" id="top11_21click" class="class11_21"click here/a/
td...rest of row data/td/tr
tr
pretty simple problem, all ID's have to be unique(w3c standards),
change ID's to class will work fine
Alexandre wrote:
Hi,
I'm having an annoying issue with addClass()
I'm trying to find all divs with id name '#moldura_slides' and add the
class '.horizontal' to each one of them.
The
sure, just add
$("#dialog").load("url") to click function you have
Carlo Landmeter wrote:
Thanks for your replies.
If I look at your first option I wouldn't know how i could know the
correct ID before i click the button but i have to initiate the dialog
open after the normal dialog
there are methods explained in UI tabs docs how to handle this
amuhlou wrote:
Perhaps you can try grabbing the element's height just before you
initiate tabs (assuming you're not pulling in the tabs via ajax)?
On Jul 17, 5:47am, David garcia.narb...@gmail.com wrote:
Hi,
my
might consider using a filter to locate the elements between the hr's
and use wrapAll(), then remove the hr's
Liam Byrne wrote:
If you do what you're thinking, then every second content element would
be OUTSIDE of any div
What (I think) you need to do is:
FIRST hr/ : OPEN DIV
there are no restrictions in superfish script or default CSS. To test
I've created as many as 8 levels of subs. More than likely your issues
are related to your CSS.
Is this a Joomla or other CMS install?
neel wrote:
Hi,
When the number of menus (including a menu and its submenus)
have used it on area tags, no differennt than any other tag,, follow
standard instructions
e...@uitenbogaard.nl wrote:
Hi,
I'am looking for a solution to use dynamic tooltips when mouse comes
over a hotspot (several hotspots in an image).
I like the tooltip on the homepage of this forum
try this:
$("#maincontent, .left , .right").prepend('div
class="inject1"div class="inject2"div
class="inject3"');
$("#maincontent, .left ,
.right").append('/div/div/div');
pennfoli0 wrote:
Hi,
My CMS won't let me customize their HTML structure they didn't give me
access to their
lots of image viewres/slideshow plugins provide option to pause on
hover. SOme are very light and don;t have a lot of options.
If yours doesn't provide option easiest would be swap it with one that
does, such as Cycle. Trying to step into the plugin code to set and
clear time outs likely
http://www.tinywebgallery.com/en/tfu/web_demo1.php
remote file view, rename files, image view and uploader(Flash)
donb wrote:
What was I smoking when I wrote that? No, the site that had the
'nice' uploader was:
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
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
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
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
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
description just what this represented...
Shawn
Charlie wrote:
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
have been playing with it a bit and it isn't compatible with version
1.1 markup. Look in changelog.txt for revised markup and options if
this is problem you are having
liquidcomma wrote:
Hi,
Since all the doucmentatio refers to the earlier version of
GalleryView, does any one know of a
for starters your images are huge ...sampled a couple .Judy
Dench is 1728px 2304px (scaled to 449px 600px) and file size is
350kb!
that's a huge amount of loading time for the number of images you have
Alan wrote:
OKgranted I am totally a rookie here...but I am S stuck!
you keep focusing effort on the DIV wrapping the slider, but the not
the UL which is the first block level parent of the slider images. I'm
not sure why overflow on div not working but I would attack the UL with
float, height, overflow etc. With those huge images and therefore very
slow load
you can use the "before" and "after" options in the API to write
functions that trigger on each slide to do what you want
Mescalero wrote:
I would like to add another attribute to the img tag called "link."
This attribute would define where the image would link to if someone
clicks the
if you wrap your thumbs in scrollable with an a tag like this
a class="thumb" href="" img src=""
//a
you can change the src of the big image you load the page with like
this ( your large pictures are already in div id="pictures"
$(".thumb").click( function () { //because using class name
curious what makes you want it to become the "defacto solution" yet
this is second time in 24 hours you've complained about it
Supersubs plugin provides excellent support for mega menus, what is
lacking there for you?
Asking for themes is being lazy, so really back to your complaint about
read FAQ's on jQuery site and use livequery or live()
Marek wrote:
Hello
I have question about JQUERY.
Im using
$(".item").draggable({ revert: 'valid' }); // for making draggable
content
Im inserting data to PHP file by
$.post("insert.php", { name: "123", time: "123" } );
After
if you're using it on Blogger site easiest is to use script tag as liam
suggests and use Google library to pull it from so no worries about
uploads
script type="text/_javascript_"
src="" class="moz-txt-link-rfc2396E"
looked at this a couple of times ,,have you tried working with the
cleartypeNoBg option"
have seen other posts where things have been resolved using
cleartypeNoBg: false
welshy1984 wrote:
I am having an issue with pausing the cycle from links within the
cycle.
I have set up a cycle
I believe your best bet would be a custom build solution. Most
accordions use floating divs but to overlay the headers without moving
them down you would need absolute positions. Shouldn't be too difficult
to create fom scratch
ste...@braingia.org wrote:
Hello,
I'm trying to accomplish
you're php always assigns current page class to Home
li class="current_page_item"a
href=""Home/a/li
try this:
li ?php if(is_home()){echo 'class="current_page_item"';}?
a href=""Home/a/li
if you use the pathClass option properly you can shorten the superfish
constructor
$('ul.sf-menu')
the details you want to display can also be contained elsewhere if you
want by using the index of the current slide to match the index of
another set of containers
function onAfter(curr, next, opts) {
var index = opts.currSlide;
// use index to refernece other containers to work with
http://plugins.learningjquery.com/expander/
I've had good success with it
sso wrote:
I posted a while ago about the Truncate plugin not preserving html
links in FF. I like the plugin, but it needs to present properly in
FF. I couldn't figure it out and nobody responded.
Is there any
#myLocalContentDiv is not a URL so how can you construe this as a bug?
Your best bet is to ask fo help on the jQuery UI list which focuses on
UI issues but you will need to provide more info than what you've
presented here. What do you mean by "change the URL"? for example. A
simplified
you can wrap jquery around the gMaps APi functions to make it easier to
create jQuery interactions from markers to other parts of your page(
click functions etc) , manipulating marker window content, using AJAX
etc. The mapping functions like drag markers are done using gMaps API.
What is
I don't believe title tag is valid in body tag however regardless of
tag placement try this
alert($('title').text());
Kris-I wrote:
Hello,
I have an HTML text with text and tags
I'd like to get only the text between the tags title
Then I have this:
body
start text
titleText to
idea of "freezing" jQuery not making a lot of sense. What you did to
post code is great, however there's an even better way, put it in
jsBin. jSBin will include jQuery for you and give a working copy of
your code to share, instead of it being in 2 places with no CSS.
Perhaps if you explained
anyone reading this can only guess how your image gallery is
constructed. Can you provide link to demonstrate your problem, and to
see code used?
sintu wrote:
Hi,
I have a problem in a div displaying number of images and it is
implemented using jquery. This div contains a scrolling option
t to here: http://tutshelf.com/TutShelf_Beta/js/stuff.js and
for the CSS here: http://tutshelf.com/TutShelf_Beta/style.css
I couldn't get the code to work with JSBin, sorry :(
On Jul 23, 1:59pm, Charlie charlie...@gmail.com wrote:
idea of "freezing" jQuery not making a
you are duplicate loading script files and also trying to use
$(document).ready in a jQuery.noConflict environment. If not familiar
with noConflict read FAQ's on jQuery site
dgaletar wrote:
Hello. I love your module! Thank you for developing it.
The issue I am having is that my menu is
you would be best off researching this on a Joomla forum.
yvonne wrote:
OK. I am not very skilled with Joomla and I need help installing
Superfish. I tried on my local version to upload the ZIP file but I
get an error message"Could not find an XML setup file in this package.
Path does
201 - 300 of 790 matches
Mail list logo