[jQuery] Please I need some help on jquery on usercontrols, thanks...

2010-02-16 Thread ysfkel

I am trying to get jquery to work on a form I have on a usercontrol
. My web application has a masterpage, The current page I am working on has
several forms which are on usercontrols loaded onto the parent page by the
click of a menu control option,which then loads the required form contained
on a usercontrol dynamically via a place holder located on the parent
page.The placeholder is itself placed in an ajax update panel control. Below
is how I have tried to register the jquery datepicker on one of my
usercontrols. The usercontrol also contains a textbox which displays the
datepicker when a mouse clicks it.However when I run the parent page to load
this usercontrol in the placeholder. Nothing happens, nothing is loaded into
the placeholder and no error message also. I read it somewhere that
javascript codes cannot be registered on usercontrols this way.Please I need
full explanations and c sharp codes on how to implement this. I am a
beginner asp c# developer with little knowledge on jquery and javascript as
well. Thanks.

%@ Control Language=C# AutoEventWireup=true
CodeFile=InsertReservation.ascx.cs
Inherits=UserControls_Customers_InsertReservation  %

link type=text/css
href=~/jquery/css/ui-lightness/jquery-ui-1.7.2.custom.css /
script src=~/jquery/js/jquery-1.4.1.min.js type=text/javascript
/script
script src=~/jquery/js/jquery-ui-1.7.2.custom.min.js
type=text/javascript/script

script type=text/javascript
$(function()
{
$(#txtArrivalDate).datepicker();
}
);
/script
-- 
View this message in context: 
http://old.nabble.com/Please-I-need-some-help-on-jquery-on-usercontrols%2C-thanks...-tp27606867s27240p27606867.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



Re: [jQuery] Please I need some help on jquery on usercontrols, thanks...

2010-02-16 Thread Rey Bango
You should post this on http://forum.jquery.com since this group is no
longer being actively monitored. We've switched to a dedicated forum
for support.

Rey
jQuery Team

On Tue, Feb 16, 2010 at 6:23 AM, ysfkel kdigital...@yahoo.com wrote:

 I am trying to get jquery to work on a form I have on a usercontrol
 . My web application has a masterpage, The current page I am working on has
 several forms which are on usercontrols loaded onto the parent page by the
 click of a menu control option,which then loads the required form contained
 on a usercontrol dynamically via a place holder located on the parent
 page.The placeholder is itself placed in an ajax update panel control. Below
 is how I have tried to register the jquery datepicker on one of my
 usercontrols. The usercontrol also contains a textbox which displays the
 datepicker when a mouse clicks it.However when I run the parent page to load
 this usercontrol in the placeholder. Nothing happens, nothing is loaded into
 the placeholder and no error message also. I read it somewhere that
 javascript codes cannot be registered on usercontrols this way.Please I need
 full explanations and c sharp codes on how to implement this. I am a
 beginner asp c# developer with little knowledge on jquery and javascript as
 well. Thanks.

 %@ Control Language=C# AutoEventWireup=true
 CodeFile=InsertReservation.ascx.cs
 Inherits=UserControls_Customers_InsertReservation  %

 link type=text/css
 href=~/jquery/css/ui-lightness/jquery-ui-1.7.2.custom.css /
 script src=~/jquery/js/jquery-1.4.1.min.js type=text/javascript
/script
 script src=~/jquery/js/jquery-ui-1.7.2.custom.min.js
 type=text/javascript/script

 script type=text/javascript
 $(function()
 {
 $(#txtArrivalDate).datepicker();
 }
 );
 /script
 --
 View this message in context: 
 http://old.nabble.com/Please-I-need-some-help-on-jquery-on-usercontrols%2C-thanks...-tp27606867s27240p27606867.html
 Sent from the jQuery General Discussion mailing list archive at Nabble.com.




[jQuery] LOOKING FOR PROFESSIONAL SEO SERVICE

2010-02-16 Thread JasonBreakey04

Getting into a relationship is easy. Getting into a healthy, compatible and
successful relationship takes wisdom, insight and a true knack for
determining compatibility between two people. Our purpose is to help our
clients fall in love for the last time. We partner with our clients to
discover, define and articulate their core purpose beyond simply meeting
someone and translate that vision into reality. The return for us? Our work
makes a difference for our people, our clients and our society. You could
say we built our company on purpose. 

Now as we are growing, the competition has also increased to much so we are
looking for someone who can help our company with SEO service.

Please feel free to contact us on the following:
[url=http://www.TheRelationshipCompany.com]Dating and Matchmaking for
Singles - The Relationship Company[/url]

-- 
View this message in context: 
http://old.nabble.com/LOOKING-FOR-PROFESSIONAL-SEO-SERVICE-tp27609522s27240p27609522.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



Re: [jQuery] Cycle plugin: Fill browser heigth and width with images

2010-02-16 Thread jpweeks


perfidus wrote:
 
 I just wonder where exactly in the cycle.plugin code should I place the
 conditional:
 if($(window).heigth()  $(img).heigth())
 {
 //RESIZE THE PIC PROPORTIONALLY ETC...
 }
 

To resize resize images which are being displayed with jquery cycle to full
browser width:

//establish global variables
var matchedWidth;
var matchedHeight;
//check browser aspect ratio against window aspect ratio
$.fn.resizeForBack = function() {
imgWidth = $(this).width();
imgHeight = $(this).height();
winWidth = $(window).width();
winHeight = $(window).height();
imgRatio =  imgWidth / imgHeight;
winRatio =  winWidth / winHeight;
if(imgRatio  winRatio){
matchedHeight = winHeight;
matchedWidth = winHeight*imgRatio;
$(this).css({height: '100%', width: 'auto'});
}
else if(winRatio  imgRatio){
matchedHeight = winWidth/imgRatio;
matchedWidth = winWidth;
$(this).css({width: '100%', height: 'auto'});
}
}
function onBefore(){
$(this).resizeForBack();
$(this).parent().find('img.current-slide').removeClass('current-slide');
}
function onAfter(){
$(this).addClass('current-slide');
}

//resize visible image on window resize
$(window).resize(function(event){
  $('img.current-slide').resizeForBack();
});

//use a custom transition effect which doesn't constrain the images to their
original size
 $('#main-back').cycle({  
   fx: 'custom', 
  speed: 1000,
  timeout: 2,
  containerResize: 0,
  next: '#next-nav-home, #over-prev',
  prev: '#prev-nav-home, #over',
  before: onBefore,
  after: onAfter,
cssBefore: {  
left: 0,  
top:  0,  
width: matchedWidth,
height: matchedHeight,
opacity: 0.5, 
zIndex: 1 
}, 
animOut: {  
opacity: 0, 
}, 
animIn: {  
left: 0,  
top: 0,  
opacity: 1,
width: matchedWidth+1, //animIn seems to 
require a value differing
from cssBefore
height: matchedHeight+1
}, 
cssAfter: {  
zIndex: 0 
}

 });

I haven't been able to find a more concise method, but this works and runs
fairly smoothly.
-- 
View this message in context: 
http://old.nabble.com/Cycle-plugin%3A-Fill-browser-heigth-and-width-with-images-tp24729038s27240p27609687.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.



[jQuery] Multiple select box line wrap

2010-02-16 Thread Paul Collins
Hi all

I'm have a fixed width on a multiple select box. The problem is, some of the
options are longer than the width and by default the lines won't wrap. I'm
wondering if anyone has seen a way of making lines wrap using either CSS or
JQuery. I've added a title to each option, so you can get the full content
if you hover over an item, but really need the text to wrap.

Here's how the HTML code looks:

select multiple=multiple
option title=Item 1 -brief description lorem ipsum dolor sit amet
consectateur adipscing elit.
Item 1 -
brief description lorem ipsum dolor sit amet consectateur adipscing
elit.
/option
option title=Item 2 -brief description lorem ipsum dolor sit amet
consectateur adipscing elit.
Item 2 -
brief description lorem ipsum dolor sit amet consectateur adipscing
elit.
/option
option title=Item 3 -brief description lorem ipsum dolor sit amet
consectateur adipscing elit.
Item 3 -
brief description lorem ipsum dolor sit amet consectateur adipscing
elit.
/option
/select

Would appreciate any help.
Cheers
Paul


RE: [jQuery] Can I use external domain with jQuery media plugin ?

2010-02-16 Thread Scott Stewart
From what I've seen the answer is no.. 
The workaround is to build a redirect page in whatever backend processing
language you're using (ColdFusion, JSP, .Net, PHP), then call the redirect
page in the href.

-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Sourabh
Sent: Tuesday, February 16, 2010 1:17 AM
To: jQuery (English)
Subject: [jQuery] Can I use external domain with jQuery media plugin ?

Hello

it is about jQuery media plugin (http://malsup.com/jquery/media/
misc.html)


Can I use


  a id=mike class=media {type: 'html'} href=http://
www.google.co.in

This to load EXTERNAL DOMAIN html page in an iframe that media plugin
I create.
When I tried above code it did not work.Do I need to do anything else
for this ?

Thanks in advance



Re: [jQuery] Multiple select box line wrap

2010-02-16 Thread Nathan Klatt
On Tue, Feb 16, 2010 at 9:22 AM, Paul Collins pauldcoll...@gmail.com wrote:
 I'm have a fixed width on a multiple select box. The problem is, some of the
 options are longer than the width and by default the lines won't wrap. I'm
 wondering if anyone has seen a way of making lines wrap

Multiple selects are a HTML/CSS/browser weakness.

My recommendation is to use checkboxes, styled so they highlight when
:selected and the box doesn't show, named as an array, e.g.,
name=multiSelect[]; put them all in a ul or ol and make wrapping
easy.

Nathan


Re: [jQuery] Multiple select box line wrap

2010-02-16 Thread Paul Collins
Thanks Nathan

That's a good idea actually, guess that would work even if you had scripts
turned off...

Will put that to use, thanks again.


On 16 February 2010 16:34, Nathan Klatt n8kl...@gmail.com wrote:

 On Tue, Feb 16, 2010 at 9:22 AM, Paul Collins pauldcoll...@gmail.com
 wrote:
  I'm have a fixed width on a multiple select box. The problem is, some of
 the
  options are longer than the width and by default the lines won't wrap.
 I'm
  wondering if anyone has seen a way of making lines wrap

 Multiple selects are a HTML/CSS/browser weakness.

 My recommendation is to use checkboxes, styled so they highlight when
 :selected and the box doesn't show, named as an array, e.g.,
 name=multiSelect[]; put them all in a ul or ol and make wrapping
 easy.

 Nathan




-- 
--
Porfolio: paulcollinslondon.com
Twitter: twitter.com/paulcollins


Re: [jQuery] Multiple select box line wrap

2010-02-16 Thread Nathan Klatt
'Course it's a good idea!

;)

On Tue, Feb 16, 2010 at 11:29 AM, Paul Collins pauldcoll...@gmail.com wrote:
 Thanks Nathan

 That's a good idea actually, guess that would work even if you had scripts
 turned off...

 Will put that to use, thanks again.


Re: [jQuery] jquery cycle plugin IE6 flicker (appears to reload elements repeatedly)

2010-02-16 Thread arcadian

I believe the problem that you are experiencing is because IE6 has issues
when background images and opacity settings are adjusted.

I was doing something similar with the jquery cycle plugin and the only way
that I found to fix it was to place an IMG tag in the rotating item and
place it behind the content, thereby simulating a background image.

There is potentially another fix that is supposed to remove background
flicker/loading in IE6, but I have not had much luck with it. See the link
included below.

http://ajaxian.com/archives/no-more-ie6-background-flicker


websymphony wrote:
 
 I've employed the jquery cycle plugin (great work malsup!) to display
 banners for various hospitals (such as
 http://intermountainhealthcare.org/hospitals/bearriver/Pages/home.aspx).
 
 To display the banners, I nested the call within a separate script
 containing
 
 $(document).ready(function() {
   (More scripts)
 $('.ih-bannerCont').cycle({fx: 'fade', speed: 750, timeout: 7000,
 before: contentOut, after: contentIn});
   (More scripts)
 });
 
 While the cycler works great on IE7 and FF3, IE6 chokes as it tries to
 reload the images each time the cycler changes views (this appears a
 flicker between each slide, and a white background).  I've reviewed
 the cycler on malsup's jquery site, which works with no errors in
 IE6.  Did I miss something?
 
 -Thanks
 
 

-- 
View this message in context: 
http://old.nabble.com/jquery-cycle-plugin-IE6-flicker-%28appears-to-reload-elements--repeatedly%29-tp26957694s27240p27613236.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.