[jQuery] Cross-Domain Scripting Question

2010-01-01 Thread Vik
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

[jQuery] Keeping Dropdown Menu In Front of Google Ads?

2009-12-27 Thread Vik
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

[jQuery] Re: Change Window Location, and Send REQUEST or POST Info?

2009-12-20 Thread Vik
has the same functionality. On Sat, Dec 19, 2009 at 8:42 PM, Vik v...@mindspring.com 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, because the login form isn''t up yet - the user is visiting

[jQuery] Change Window Location, and Send REQUEST or POST Info?

2009-12-19 Thread Vik
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 =

[jQuery] Re: Change Window Location, and Send REQUEST or POST Info?

2009-12-19 Thread Vik
of this server-side. 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 v...@mindspring.com wrote: Let's say a user visits my site, and takes an action

[jQuery] Fwd: jCarousel External Control as Pagination

2009-08-04 Thread Ole Henrik Hunstad Vik
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

[jQuery] Needed - An Easy Way to Keep Plug-Ins Up-to-Date

2009-05-01 Thread Vik
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

[jQuery] Re: Communicating Info from Server to Javascript, Prior to Ajax Calls?

2009-04-22 Thread Vik
[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 javascript to know some info, e.g. the username of the user, and I'd like

[jQuery] Communicating Info from Server to Javascript, Prior to Ajax Calls?

2009-04-19 Thread Vik
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.

[jQuery] Re: Can't Get Data Back from $.ajax() Call in IE7?

2009-02-15 Thread Vik
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:

[jQuery] Re: Can't Get Data Back from $.ajax() Call in IE7?

2009-02-15 Thread Vik
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=gstq=%24.ajax()+firefox+ie7#662932a169dd4e14 Andy K:

[jQuery] Can't Get Data Back from $.ajax() Call in IE7?

2009-02-14 Thread Vik
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

[jQuery] Live Event Firing Multiple Times Instead of Just Once?

2009-02-03 Thread Vik
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

[jQuery] Re: Live Event Firing Multiple Times Instead of Just Once?

2009-02-03 Thread Vik
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.

[jQuery] Re: Live Event Firing Multiple Times Instead of Just Once?

2009-02-03 Thread Vik
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 v...@mindspring.com wrote: Looking into it, it looks like live() is using event binding, rather than event delegation. Is that correct? I think some

[jQuery] Formatting Anomaly in IE7 after Fadein? (with demo page)

2009-01-27 Thread Vik
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

[jQuery] Continuing to Seek Rounded Corners on Absolutely Positioned Elements that Work in IE7

2009-01-26 Thread Vik
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

[jQuery] Re: Continuing to Seek Rounded Corners on Absolutely Positioned Elements that Work in IE7

2009-01-26 Thread Vik
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

[jQuery] Formatting Anomaly in IE7 after Fadein?

2009-01-26 Thread Vik
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

[jQuery] Re: auto refresh after x seconds ???

2009-01-26 Thread Vik
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() {

[jQuery] A Way to Do Curved Corners, with Borders, on an Absolutely Positioned Object?

2009-01-21 Thread Vik
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

[jQuery] Re: A Way to Do Curved Corners, with Borders, on an Absolutely Positioned Object?

2009-01-21 Thread Vik
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 v...@mindspring.com wrote: Has anyone found an approach for curved corners, with borders, on an absolutely positioned element

[jQuery] Re: A Way to Do Curved Corners, with Borders, on an Absolutely Positioned Object?

2009-01-21 Thread Vik
Sorry, I didn't see your reference to the DD_roundies script. I'll check it out! On Jan 21, 10:10 am, Vik v...@mindspring.com 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 works

[jQuery] Re: A Way to Do Curved Corners, with Borders, on an Absolutely Positioned Object?

2009-01-21 Thread Vik
Thanks, Ricardo. I will check this out as well. On Jan 21, 10:31 am, Ricardo Tomasi ricardob...@gmail.com 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 v...@mindspring.com

[jQuery] jquery.corners not Working in Mac FireFox 2 or Windows IE 7? Demo Page Provided

2009-01-20 Thread Vik
in advance to all for any info. -Vik

[jQuery] Re: jquery.corners not Working in Mac FireFox 2 or Windows IE 7? Demo Page Provided

2009-01-20 Thread Vik
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.

[jQuery] Re: jquery.corners not Working in Mac FireFox 2 or Windows IE 7? Demo Page Provided

2009-01-20 Thread Vik
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] Re: Extract Dropdown Menu Items to Array?

2008-12-23 Thread Vik
a normal array out of it. On Dec 22, 11:47 pm, Vik v...@mindspring.com 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.

[jQuery] Extract Dropdown Menu Items to Array?

2008-12-22 Thread Vik
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.

[jQuery] Making an Element Fly to a New Position on the Page?

2008-12-03 Thread Vik
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

[jQuery] Re: Making an Element Fly to a New Position on the Page?

2008-12-03 Thread Vik
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' },800); - ricardo On Dec 3, 4:12 pm, Vik [EMAIL PROTECTED] wrote

[jQuery] Offset() Shows Different Result On Page Load vs. On Page Resize? Online Demo Provided.

2008-11-29 Thread Vik
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

[jQuery] Re: Change Event Firing Twice

2008-10-24 Thread Vik
I'm encountering a similar situation. Have you found the answer yet? Thanks in advance for any info.

[jQuery] .hide() Doesn't Work Fast Enough?

2008-07-07 Thread Vik
, type: 'sequence', containerheight: '71px' }); }); Thanks in advance to all for any info. -Vik

[jQuery] Re: .hide() Doesn't Work Fast Enough?

2008-07-07 Thread Vik
the logo can be seen. :) Thanks very much for the feedback! -Vik

[jQuery] Selecting Row When Checkbox in a TD is Checked?

2008-06-12 Thread Vik
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: td width=8% center input type=checkbox name=Dinner_id_5 value=9003

[jQuery] Re: Selecting Row When Checkbox in a TD is Checked?

2008-06-12 Thread 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).show();

[jQuery] Showing/Hiding Table Rows if One of Several Checkboxes is Checked?

2008-06-11 Thread Vik
I have a table in which each row contains 8 td cells. 7 of the td 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. checkbox is

[jQuery] Newbie Question: Javascript Never Gets Called?

2007-09-11 Thread Vik
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: - script src=http://localhost:/js/jquery.js; type=text/ javascript/script script type=text/javascript

[jQuery] Re: copy highlighted from a div

2007-07-18 Thread ViK
);} 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

[jQuery] copy highlighted from a div

2007-07-16 Thread ViK
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