I'm using the IntenseDebate comments system. Like Google Adsense, you
add a couple of lines of javascript to your page, and that calls their
server, and inserts all kinds of controls and forms and links on your
page.
I'd like to provide a similar capability to sites which might like it
-- not comm
I've got a Google ad in the top right column, and drop-down menus that
come down over it. Often, it's a Flash ad, and the drop-down menu
gets hidden behind it. I have put the Google ad in a div with a low
z-index, and give the drop-down menu a high z-index. This appears to
solve it for some Goog
ps you should check to see if CI has the same
> functionality.
>
>
>
> On Sat, Dec 19, 2009 at 8:42 PM, Vik wrote:
> > There is no session yet; the user has not yet logged in. There is no
> > way to write the requested URL to a hidden input in the login form,
> > b
de. Have your PHP script save the
> requested page in the session before redirecting to the login page.
> Or, write the requested URL to a hidden input in the login form.
>
>
>
> On Sat, Dec 19, 2009 at 6:16 PM, Vik wrote:
> > Let's say a user visits my site, and takes an
Let's say a user visits my site, and takes an action that requires him
to be logged in. I would like to:
- Take him to the login page
- Automatically return to the page he started from after he logs in
So I need to capture the current window.location, which is easy (var
returnURL = window.locati
Hi there (tried posting earlier, Googles Groups dont seem to work that well
currently),
I have a couple of problems using jCarousel, and was hoping someone
here might lead me to a solution. First of all, can I change the way
the External Control function works? I am guessing that I "only" need
to
I'm sure this has been discussed before - one thing the jQuery
community greatly needs, is an easy way to keep all your plug-in code
up-to-date - some easy code to run, or site to access, that would
check all your plug-ins, and update them when new versions are
available.
It might be good to thin
; From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
>
> Behalf Of Vik
> Sent: Sunday, April 19, 2009 3:40 PM
> To: jQuery (English)
> Subject: [jQuery] Communicating Info from Server to Javascript, Prior to
> Ajax Calls?
>
> Let's say I want my
Let's say I want my javascript to know some info, e.g. the username of
the user, and I'd like to communicate it prior to any Ajax calls. So
far I've been storing the info in a hidden field that jQuery can
access via an id. Is this the correct approach?
Thanks in advance to all for any info.
Fixed it!
Once I realized it was working on Firefox/Win XP, but not IE7/Win XP,
I did some more googling on this group, and found this post:
http://groups.google.com/group/jquery-en/browse_thread/thread/a40b6fb572232e3b/662932a169dd4e14?lnk=gst&q=%24.ajax()+firefox+ie7#662932a169dd4e14
Andy K:
Thanks for the compliment, Rick. But I am completely stumped on this
one so far.
I've updated the code, but with the same result. The data comes back
correctly on Safari/Mac, Firefox/Mac, and Firefox/Win XP. But on IE7/
Win XP, data comes back undefined.
$.ajax({
mode: "s
I've been testing this past few weeks in IE7, and I've got one
specific case where $.getJSON() seems to call the server
intermittently, and usually not at all. I use $.getJSON() a lot. In
FF and Safari it always works, and even in IE7 it usually seems to
work, but not in this case for some reason
I found the answer. It was a bug in my code. I was calling my routine
that set up the live() functions, more than once.
On Feb 3, 3:59 pm, Vik wrote:
> Looking into it, it looks like live() is using event binding, rather
> than event delegation. Is that correct? I think some unusual
Looking into it, it looks like live() is using event binding, rather
than event delegation. Is that correct? I think some unusual things
I'm doing in my code is resulting in live() binding a function to the
same element on my page multiple times.
I have the following code:
$("#element_id").live("mousedown", function(event){
ChangeView();
return false;
});
When $("#element_id") is clicked, the ChangeView() function is called
not once, but multiple times. I see the fol
I have a page with a 3-column layout. When a link is clicked, the
middle column is supposed to slide up, have it's text replaced, and
then fade in. This works perfectly in Safari, Firefox 2 and Firefox 3,
but on IE7, the middle column fades in with a width that is less than
half of what its CSS s
You can try something like...
function refreshRecordsDiv()
{
$("records").fadeOut("slow");
//ajax to refresh contents of records div, using one of jQuery's
ajax functions
$("records").fadeIn("slow");
setTimeout("refreshRecordsDiv();", 3);
}
$(document).ready(function()
{
setTi
I'm a total newbie to all the weird glitches that we have to deal with
in IE7. I've just uploaded my site to my production server, and
everything seems to be working except for a number of IE7 formatting
errors.
For example, on my home page, there's a button on the lower right
called "Take a Sit
I just changed the position attribute from relative to absolute on one
css rule:
.dialog .b {
/* bottom */
position:absolute;
width:100%;
}
...and it seems to be working now in IE7. Here's an updated demo page:
http://www.flavorzoom.com/schillmania_tryout_2/temp.html
I've just begun testing
The latest approach I'm trying uses a more old-school technique,
described here:
http://www.schillmania.com/content/projects/even-more-rounded-corners/
For most uses, it works very well. But for absolutely positioned
objects, one of the divs seems to disappear in IE7. Here's a demo
using it with
Thanks, Ricardo. I will check this out as well.
On Jan 21, 10:31 am, Ricardo Tomasi wrote:
> There is also the Cornerz jQuery plugin. It uses canvas/VML, works
> perfectly for all I've seen.http://labs.parkerfox.co.uk/cornerz/
>
> On Jan 21, 4:10 pm, Vik wrote:
>
> >
Sorry, I didn't see your reference to the DD_roundies script. I'll
check it out!
On Jan 21, 10:10 am, Vik wrote:
> Thanks very much for this feedback. Yes, Safari and Firefox 3 are
> easy, because they support that CSS property. The tough thing is to
> find a solution that
ute
> positioning and it seems fine. In your css you would basically say
> the width and color of the border and the rounding takes care of it
> for you.
>
> On Jan 21, 11:18 am, Vik wrote:
>
> > Has anyone found an approach for curved corners, with borders, on an
> &g
Has anyone found an approach for curved corners, with borders, on an
absolutely positioned element, that works on the major browsers?
Thanks very much in advance to all for any info.
Note - I'm trying lots of different approaches to do this. Here's an
odd case of a demo that works in Mac Firefox
Tain,
So that I can be sure which page you tested -- is this the page that
works on your IE7 and FF 2:
http://www.flavorzoom.com/corners_anomaly/corners_anomaly.html
...or is this the page:
http://www.atblabs.com/jquery.corners.html
...or both?
Thanks in advance for the info.
jquery.corners normally works in those browsers, as seen on their demo
page at http://www.atblabs.com/jquery.corners.html . It has an
algorithm to use with browsers that don't support the CSS3 border
radius property.
advance to all for any info.
-Vik
text, and then
> use get() to get a normal array out of it.
>
> On Dec 22, 11:47 pm, Vik wrote:
>
> > Is there a way to extract the text of all the items included in a
> > dropdown menu, into an array?
>
> > Thanks in advance to all for any info.
Is there a way to extract the text of all the items included in a
dropdown menu, into an array?
Thanks in advance to all for any info.
Fantastic. Thanks very much.
On Dec 3, 1:01 pm, ricardobeat <[EMAIL PROTECTED]> wrote:
> http://docs.jquery.com/Effects/animate
>
> You'd do something like:
>
> $('.newdate').animate({
> top: '200px',
> left: '50px'
>
>
On the NetFlix site, if you assign the movie a new position in the
Queue, the movie flies to the correct new position on its own, without
being dragged there.
I have a similar situation. I have list of items with dates. They
appear on the page sorted by date. I permit the user to assign a new
da
I'm using jQuery's offset() method. I have a function named
ResizeContent that is called on page load, and then is called again
whenever the window is resized. This function includes calls to offset
(). Oddly, I find that offset() is giving me an incorrect value on
page load - but then returns a
I'm encountering a similar situation. Have you found the answer yet?
Thanks in advance for any info.
before the logo can be seen. :)
Thanks very much for the feedback!
-Vik
$("ul.nav").superfish();
$('#Animated_Header').fadeIn(100).innerfade({
speed: 'slow',
timeout: 300,
type: 'sequence',
containerheight: '71px'
});
});
Thanks in advance to all for any info.
-Vik
I found a way to do it.
$("#Filter_Dropdown").change(function () {
var str = "";
var orig_str = "";
orig_str = $("#Filter_Dropdown option:selected").text();
str = '.' + orig_str;
$(".food_planner tbody tr").
I have a table, listing foods, and each row in the table has a few
checkboxes the user can check to show if they eat the food for
breakfast, lunch, dinner, etc. For example:
Dinner
I want to be
I have a table in which each row contains 8 cells. 7 of the
cells contain a checkbox, for things like "Breakfast", "Lunch",
"Dinner", etc.
The page has a dropdown menu that lets the user specify that he wants
to see only the items for which the "Breakfast", or "Lunch", or
"Dinner", etc. checkbo
I'm a Javascript newbie, but I do have some Javascript working, and I
have the jQuery demo working.
Here's the code I have on one of my html pages to load javascript:
-
http://localhost:/js/jquery.js"; type="text/
javascript">
http://localhost:/js/
jquery.selectCombo1.2.1.js"
t;Copy");}
> and its companion, in VBscript.
>
> On Jul 16, 4:37 am, ViK <[EMAIL PROTECTED]> wrote:
>
> > hi all
>
> > I need to copy to clipboard a highlighted text selected from a div,
> > can i do this with jquery? can you help me with a sample?
>
> > Thank's in advance
hi all
I need to copy to clipboard a highlighted text selected from a div,
can i do this with jquery? can you help me with a sample?
Thank's in advance
41 matches
Mail list logo