Main store schrieb:
I have a bug only on Firefox (IE and Safari OK),
the carousel is here http://www.main-store.fr .
You'll see the bottom of my page is too long.
I have tried to modify the CSS with some Height measurements but
nothing happen..
hi.. just remove the height from the body
Hello again,
scrolling works now - I copyied the example over it again.
But still initially opnly one image is loaded in FF.
Greetings
Daniel Khan
Hi
My site is running slow(well especially the one page). On this one
page I got like 700kb worth of jquery plugins + my own jquery stuff.
So I am looking on how to make it faster. I am using as much of mini
versions of jquery as I could find so now I am looking into zipping
it.
I hear this
I am getting the attribute of an image on a page. It is the onclick
attribute, but I need some text from the onclick function. (Sounds
strange, but I do). Using the following works totally fine:
var link_path = $(html).find(img[alt='Show in Asset Map']).attr
('onclick');
alert(link_path);
Since you're not using the class for styling, but indexing, why not
just use the natural index of the div in its container, or from the
jQuery object itself?
$('.ngg-gallery-thumbnail-box') is an array-like object, so you can
iterate over it, or access its members by index number, such as $
in js file
$('a.ToggleOpen').live(click,function(){
var searchhtmlid = $(this).attr('rel');
var filename = String($(this).attr('href').split(?,1));
var myparams = getparams($(this).attr('href'));
myparams.pop(myparams);
Try alert( typeof(link_path) ) and you'll see it's a function. Try
link_path.toString() and then split it.
On Apr 9, 2:54 pm, Nic Hubbard nnhubb...@gmail.com wrote:
I am getting the attribute of an image on a page. It is the onclick
attribute, but I need some text from the onclick function.
CaptainABrad schrieb:
Stated simply, is there a way to either:
1) Click a link on a page with jQuery, or
2) Open a link in a new tab.
2: window.open and target _new should work
Thomas Creutz schrieb:
CaptainABrad schrieb:
Stated simply, is there a way to either:
1) Click a link on a page with jQuery, or
2) Open a link in a new tab.
2: window.open and target _new should work
I was wondering if JQuery has anything builtin to find an element from
the payload of an ajax call, and eval() the contents of it? I have
some cases where I will be returning javascript with HTML and I would
like to be able to just execute it
I have a image edit form where the user can upload a new image and/or
edit image information such as title, description etc. Since I use the
jQuery Forms plugin for most of my other forms I wanted to use it here
as well, but last night I encountered a little problem...
I use JSON for the return
Hi all,
I want to add the ability to play sound on my web site without going
to a new page. BGSOUND is IE dependent and will not hold accross all
browsers. I downloaded the jquery.media.js and the jquery.metadata.js
and included the imports:
script
I have a image edit form where the user can upload a new image and/or
edit image information such as title, description etc. Since I use the
jQuery Forms plugin for most of my other forms I wanted to use it here
as well, but last night I encountered a little problem...
I use JSON for the
I have an $.ajax() call that I am using to GET some text from a page
on my site. I have put it in a variable with the success function.
How can I move that var up and out of the $.ajax function so I can use
it in other parts of my script?
Thanks.
Something like this might work:
var ajaxResponse;
$.ajax({
url: 'ajax.php',
complete: function(response) {
ajaxResponse = response;
}
});
-Hector
On Thu, Apr 9, 2009 at 3:44 PM, Nic Hubbard nnhubb...@gmail.com wrote:
I have an $.ajax() call that I am using to GET some
Solved 1 and 2 just not the third. Anyway to detected duplicates only?
Everything I found on the net only removes duplicates.
$.validator.addMethod('keywords', function(value, element) {
var valid = true;
var valid = (value.length 0);
var message = $(element);
if
Ah, thank you! Not sure what I was thinking.
On Apr 9, 3:04 pm, mkmanning michaell...@gmail.com wrote:
Try alert( typeof(link_path) ) and you'll see it's a function. Try
link_path.toString() and then split it.
On Apr 9, 2:54 pm, Nic Hubbard nnhubb...@gmail.com wrote:
I am getting the
Hi there Ian,
So sorry about that problem. I believe I've fixed it in a version I've
had up on Github for a couple weeks. Just put together a new release
for it here:
http://plugins.jquery.com/node/7526
Please give that one a try and let me know if you still run into
problems
--Karl
Hi. How do you deal when thickbox is displaying itself bigger then
browser size and it does not show scroll bars, so there is no way of
getting to the last sentences display in Thickbox?
Hey...
I am using ColdFusion as well on the FuseBox Framework.
I have somewhat of a slick way to handle the js resources, it was
great at first but the more screen/interfaces I have the more
difficult it becomes to manage the js. I basically have a .cfm page
with html and dynamic data with none
Well, you've got two basic options. You can do a straightforward
global variable like Hector suggested, or you can create and use a
custom storage object in the jQuery namespace. Try adding to your
code:
$.__customStorage = {};
$.get({
url: 'some.page.php',
complete: function(data){
As long as you specify the daa type as html, it should work
automatically.
From the docs:
dataTypeString Default: Intelligent Guess (xml or html)
The type of data that you're expecting back from the server. If none
is specified, jQuery will intelligently pass either responseXML or
I put together a pretty basic DOMBuilder tool for this purpose, called
HSJN (HTML Snippet Javascript Notation). You can view/get the source
here: http://code.google.com/p/hsjn
It gives you the ability to specify jQuery chains within it's syntax,
and will parse it out into dom nodes you can
Aha, but won't work so well with JSON response, right?
I do check XHR in my PHP script and I thought it would work doing
something like this:
$xhr=$_SERVER['HTTP_X_REQUESTED_WITH']=='XMLHttpRequest';
if(!$xhr)
{
print(textarea.$json./textarea);
}
else
{
print($json);
}
That way I
There's something missing in each of these solutions.
What about the code that will use this variable: How does that code know
when the variable is ready to use?
That code could check to see if the variable is null, but what does it do
then? Try again later? How much later?
What's more likely
This worked - thank you for your help!
-dave
On Apr 7, 7:40 pm, Jonathan jdd...@gmail.com wrote:
If you can't figure out a better way you can always do a setTimeout in
the document.ready to call a function after a set delay to poll the
document.title again.
check_title = function() {
Here's a method that I'm using to pass data from
an ajax response to another function: (I'm starting
with the success: section of an ajax call)
success: function(response) {
if( response.MESSAGE == 'Success' )
{ populateStoryTable(response); }
That's perfect, Rick, it's exactly the way I would have coded it.
Hang in there on this client-side stuff! It will all continue to become more
clear as you work with it.
I have some sympathy for what you're going through with it. As more of a
front-end guy, it happens to me every time I tackle
Hi everyone,
Simple question: if 'table' is a table on which the excellent
tablesorter plugin is active, can I rely on the following statement
$(#table).each( /* function goes here*/);
iterating over the rows of the table in their *current* order? (ie,
even if the user has resorted the
I assume the idea was to store the variable for later use, not how to
trigger a callback.
There's a number of situations I use fairly often which need me to
store a variable in an accessible place, but not utilize it until
later.
On Apr 9, 10:19 pm, Michael Geary m...@mg.to wrote:
That's
Since the tablsorter rewrites the order of the tr tags on the DOM,
then it makes total sense that .each will return the rows in the
order the appear on the screen
On Apr 9, 10:28 pm, james.kirin40 james.kiri...@gmail.com wrote:
Hi everyone,
Simple question: if 'table' is a table on which the
That's a path (storing variables for later use) that I started
venturing down when I became aware of global js variables. I thought,
now that's a lot simpler than having to make sure that some record
ID is always passed between one function and another.
But alas, my goal was to try to use
Does anyone know how to do this?
I'm getting stuck with this, too!
2009/4/9 Jim D jwiz...@gmail.com
Hi. How do you deal when thickbox is displaying itself bigger then
browser size and it does not show scroll bars, so there is no way of
getting to the last sentences display in Thickbox?
Hi jwizard,
i think we must change code of Thickbox!
I must do since i can not google a solution!
Did you do that? if you did, could you share it to me?
If you didn't, i will do it share to you after completed!
2009/4/9 Vincent Nguyen kureik...@gmail.com
Does anyone know how to do this?
I'm
I love the idea of creating the non-page-refreshing apps,
but, as someone mentioned earlier, even a relatively simple
app just start to overflow with code and it becomes difficult
to keep up with what is doing what and when.
Someone mentioned earlier, that instead of putting all their
js code on
Hi,
First of i'm sorry if the answer to this is somewhere on here already
but i've been staring at the screen for hours trying fix this and
haven't found exactly what i need. Also i should warn you i know next
to nothing about jquery or javascript or any other internet magic past
HTML and CSS.
I'm new to jQuery and I'm trying to solve this little problem here.
Imagine that I have the following code:
ul class=pageitem
li class=menu
a href=#musicspan class=nameMusic list/spanspan
class=arrow/span/a
/li
li class=menu
a href=#albumspan class=nameAlbum list/spanspan
class=arrow/span/a
Hey Luke,
You have two ID's with the same ID portrait You can only have one ID
named portrait on the page...name the other portrait2 or something.
In your jQuery code change $(#portrait)... to $(.pics)...
Both will then work.
Although there seems to be other issues both cycles now cycle.
I'm sorry in my previous reply replace the words portrait with the word
portfolio ... sorry.
Ralph
On Fri, Apr 10, 2009 at 12:17 AM, Ralph Whitbeck
ralph.whitb...@gmail.comwrote:
Hey Luke,
You have two ID's with the same ID portrait You can only have one ID
named portrait on the
Hey Tiago,
This will work:
$(document).ready(function() {
$(a).click(function() {
$(.arrow, this).addClass(testing);
});
});
it adds a click event to your a tags. When a a tag is clicked on it finds
the .arrow class within the a tag context and adds the class
101 - 140 of 140 matches
Mail list logo