Re: [jQuery] Re: Having hard time with customizing scroll bars

2010-01-16 Thread Sam Sherlock
Yes you can - did you see the os examples?

this plugin has an extensive set of demos and is extremely versatile

http://www.kelvinluck.com/assets/jquery/jScrollPane/examples.html
 
- S



2010/1/16 swfobject_fan 

> Thanks dave, but I can't change the look of the scroll bars with this
> right? I was looking for something similar to flexcroll.
> http://www.hesido.com/web.php?page=customscrollbar
>
> On 16 Jan, 19:49, Dave Methvin  wrote:
> > > Where can I find more about those plugins?
> >
> > This search turned up jScrollPane, looks like that is what you want.
> >
> > http://lmgtfy.com/?q=jquery+scroll+plugin
>


[jQuery] Re: Replace image with SWF onClick

2009-10-17 Thread Sam Sherlock
you want to replace them when the user clicks the anchor tag?
or replace the anchor tag onload?

http://flowplayer.org/documentation/users-guide.html


- S




2009/10/17 knal 

>
> Hi group,
>
> I'm trying to achieve something (which doesn't seem to difficult to
> me) but i can't get it to work;
>
> I want to embed video's through a swf-videoplayer on my website.
>
> The idea is that i have (say 750 * 400 px) images wrapped in links.
> The links point at the videofile. If the user clicks the link, i want
> to replace the link+image by the swf video with the same dimensions...
>
> Hope this kind of makes sense.
>
> Thanks in advance,
> Knal


[jQuery] Re: Browser sniffing - the correct way?

2009-09-21 Thread Sam Sherlock
>
> Often the best solution is to simply avoid troublesome features.


I think this article explains the concept well
http://www.alistapart.com/articles/testdriven
as simple as possible but not simpler

30,000 registered at TNL.net


that would be an awful lot to check; which is why checking is the user
supports the correct implementation of box model or cssFloat depending on
what your using is much smarter

- S


2009/9/21 RobG 

>
>
>
> On Sep 18, 1:32 am, ldexterldesign  wrote:
> [...]
> > This still leaves the issue of targeting browsers with JS/jQuery.
>
> You still seem to be missing the message: trying to compensate for
> browser quirks by detecting specific browsers is a flawed strategy.
> Browser detection is usually based on the user agent string, of which
> there are over 30,000 registered at TNL.net.
>
>
> > A
> > friend of mine just recommend:http://www.quirksmode.org/js/detect.html
>
> Don't use it. Don't even consider detecting specific browsers for
> javascript quirks. For HTML or CSS hacks, go to relevant forums. Often
> the best solution is to simply avoid troublesome features.
>
>
> --
> Rob


[jQuery] Re: jQuery PDF Viewer?

2009-09-16 Thread Sam Sherlock
I have'nt tried this but it does look goodhttp://pdfobject.com/
- S


2009/9/16 benji++ 

>
> I'm looking for something that can display a PDF in a way similar to a
> typical jQuery image gallery (or a desktop PDF viewer, e.g. Acrobat or
> Preview).  I tried out Mike Alsup's jQuery Media Plugin
> (www.malsup.com/jquery/media/), thinking that the "iframe player"
> might do the trick.  But of course, I still get the default browser
> behavior for a PDF, which in most cases (like Firefox) is to not
> display it at all.  Works great in Safari, though, especially with the
> AdobePDFViewer.plugin.
>
> So does anyone know of something that could enable PDFs to be
> displayed on the page?
>


[jQuery] Re: error in ie7 & ie8 only

2009-09-15 Thread Sam Sherlock
narrowed down but not solved


this causes error in ie
$('.body').block({
 message: '',
css: { border: '1px solid #FFF; background: #FFF;' }})

yet this works
$('.body').block({
message: 'Processing',
 css: { border: '3px solid #a00' }
});


so bit of further investigation and I now understand it

css: { border: '1px solid #FFF; background: #FFF;' }

needed to be (no semi colons and make the css setting a JSON object - ff et
al are more forgiving)
css: { border: '1px solid #FFF', background: '#FFF' }



- S


2009/9/15 Sam Sherlock 

> seems this may be relevant [1] but I can't find where I can parseInt -
> might be a plugin that is causing the issue
>
> I am using blockui - I thought that noticing that blockui uses this sz()
> which parses the int - maybe I need to make another plugin use sz()
>
> this results from the following
> $('.tabs a, a.groove').live('click', function(event, args) {
>  jLinkCall(event, args, this);
> event.preventDefault();
> event.stopPropagation();
>  return false;
> });
>
> [1]
> http://stackoverflow.com/questions/933564/jquery-widthval-error-in-ie-invalid-argument
>
> - S
>
>
> 2009/9/15 Sam Sherlock 
>
>> following up on that when debugging I can continue through the error and
>> it works as expected.  but with debugging off the process is interrupted
>> - S
>>
>>
>> 2009/9/15 Sam Sherlock 
>>
>> js code:
>>> function jLinkCall(e, a, o) {
>>> var jUrl = null, jArgs = null, obTitle = '';
>>>  // console.info('jLinkCall');
>>> // console.info(e);
>>>  // console.info(a);
>>> // console.info($(o).attr('href'));
>>>
>>> jUrl = $(o).attr('href') + '';
>>> jUrl = jUrl.replace(/.html/, '');
>>>
>>> if($(o).attr('title'))
>>> obTitle = $(o).attr('title');
>>>
>>> // block with growl
>>> //$('#body').growlUI('Growl Notification', 'Have a nice day!');
>>>  $('.body').block({
>>> message: '',
>>>  css: { border: '1px solid #FFF; background: #FFF;' }})
>>>  $.post('./json.php?p='+jUrl, null, jLinkComplete, "json")
>>>
>>> // convert the html url to json url
>>> // process the json object
>>>  // oncomplete call jLinkComplete
>>>
>>> }
>>>
>>> function jLinkComplete(data, status) {
>>>  // console.info('jLinkComplete');
>>> // console.info(data.titleStr);
>>>  // console.info(status);
>>> $('body').attr('class', '').addClass(data.titleStr);
>>>  $('.body').empty().html(data.contentStr).unblock();
>>> init();
>>> }
>>>
>>> set up in dom ready
>>> $('.tabs a').live('click', function(event, args) {
>>>  jLinkCall(event, args, this);
>>> event.preventDefault();
>>> event.stopPropagation();
>>>  return false;
>>> });
>>>
>>> This is an issue that only is apparent in ie7  & 8 all works without
>>> issue in other browsers - not ie 6  though (but who cares)  any ideas?
>>>
>>>
>>> - S
>>>
>>
>>
>


[jQuery] Re: error in ie7 & ie8 only

2009-09-15 Thread Sam Sherlock
seems this may be relevant [1] but I can't find where I can parseInt - might
be a plugin that is causing the issue

I am using blockui - I thought that noticing that blockui uses this sz()
which parses the int - maybe I need to make another plugin use sz()

this results from the following
$('.tabs a, a.groove').live('click', function(event, args) {
 jLinkCall(event, args, this);
event.preventDefault();
event.stopPropagation();
 return false;
});

[1]
http://stackoverflow.com/questions/933564/jquery-widthval-error-in-ie-invalid-argument
- S


2009/9/15 Sam Sherlock 

> following up on that when debugging I can continue through the error and it
> works as expected.  but with debugging off the process is interrupted
> - S
>
>
> 2009/9/15 Sam Sherlock 
>
> js code:
>> function jLinkCall(e, a, o) {
>> var jUrl = null, jArgs = null, obTitle = '';
>>  // console.info('jLinkCall');
>> // console.info(e);
>>  // console.info(a);
>> // console.info($(o).attr('href'));
>>
>> jUrl = $(o).attr('href') + '';
>> jUrl = jUrl.replace(/.html/, '');
>>
>> if($(o).attr('title'))
>> obTitle = $(o).attr('title');
>>
>> // block with growl
>> //$('#body').growlUI('Growl Notification', 'Have a nice day!');
>>  $('.body').block({
>> message: '',
>>  css: { border: '1px solid #FFF; background: #FFF;' }})
>>  $.post('./json.php?p='+jUrl, null, jLinkComplete, "json")
>>
>> // convert the html url to json url
>> // process the json object
>>  // oncomplete call jLinkComplete
>>
>> }
>>
>> function jLinkComplete(data, status) {
>>  // console.info('jLinkComplete');
>> // console.info(data.titleStr);
>>  // console.info(status);
>> $('body').attr('class', '').addClass(data.titleStr);
>>  $('.body').empty().html(data.contentStr).unblock();
>> init();
>> }
>>
>> set up in dom ready
>> $('.tabs a').live('click', function(event, args) {
>>  jLinkCall(event, args, this);
>> event.preventDefault();
>> event.stopPropagation();
>>  return false;
>> });
>>
>> This is an issue that only is apparent in ie7  & 8 all works without issue
>> in other browsers - not ie 6  though (but who cares)  any ideas?
>>
>>
>> - S
>>
>
>


[jQuery] Re: error in ie7 & ie8 only

2009-09-15 Thread Sam Sherlock
following up on that when debugging I can continue through the error and it
works as expected.  but with debugging off the process is interrupted
- S


2009/9/15 Sam Sherlock 

> js code:
> function jLinkCall(e, a, o) {
> var jUrl = null, jArgs = null, obTitle = '';
>  // console.info('jLinkCall');
> // console.info(e);
>  // console.info(a);
> // console.info($(o).attr('href'));
>
> jUrl = $(o).attr('href') + '';
> jUrl = jUrl.replace(/.html/, '');
>
> if($(o).attr('title'))
> obTitle = $(o).attr('title');
>
> // block with growl
> //$('#body').growlUI('Growl Notification', 'Have a nice day!');
>  $('.body').block({
> message: '',
>  css: { border: '1px solid #FFF; background: #FFF;' }})
>  $.post('./json.php?p='+jUrl, null, jLinkComplete, "json")
>
> // convert the html url to json url
> // process the json object
>  // oncomplete call jLinkComplete
>
> }
>
> function jLinkComplete(data, status) {
>  // console.info('jLinkComplete');
> // console.info(data.titleStr);
>  // console.info(status);
> $('body').attr('class', '').addClass(data.titleStr);
>  $('.body').empty().html(data.contentStr).unblock();
> init();
> }
>
> set up in dom ready
> $('.tabs a').live('click', function(event, args) {
>  jLinkCall(event, args, this);
> event.preventDefault();
> event.stopPropagation();
>  return false;
> });
>
> This is an issue that only is apparent in ie7  & 8 all works without issue
> in other browsers - not ie 6  though (but who cares)  any ideas?
>
>
> - S
>


[jQuery] error in ie7 & ie8 only

2009-09-15 Thread Sam Sherlock
js code:
function jLinkCall(e, a, o) {
var jUrl = null, jArgs = null, obTitle = '';
 // console.info('jLinkCall');
// console.info(e);
 // console.info(a);
// console.info($(o).attr('href'));

jUrl = $(o).attr('href') + '';
jUrl = jUrl.replace(/.html/, '');

if($(o).attr('title'))
obTitle = $(o).attr('title');

// block with growl
//$('#body').growlUI('Growl Notification', 'Have a nice day!');
 $('.body').block({
message: '',
 css: { border: '1px solid #FFF; background: #FFF;' }})
 $.post('./json.php?p='+jUrl, null, jLinkComplete, "json")

// convert the html url to json url
// process the json object
 // oncomplete call jLinkComplete

}

function jLinkComplete(data, status) {
 // console.info('jLinkComplete');
// console.info(data.titleStr);
 // console.info(status);
$('body').attr('class', '').addClass(data.titleStr);
 $('.body').empty().html(data.contentStr).unblock();
init();
}

set up in dom ready
$('.tabs a').live('click', function(event, args) {
 jLinkCall(event, args, this);
event.preventDefault();
event.stopPropagation();
 return false;
});

This is an issue that only is apparent in ie7  & 8 all works without issue
in other browsers - not ie 6  though (but who cares)  any ideas?


- S


[jQuery] Re: KFManager v1.0

2009-08-20 Thread Sam Sherlock
great work Ken

on the mce page the normal mce manager opens for me - and as Cyril said the
page is title FCK
on the fck page you open KFManager by clicking in the text box above the
editor whereas the mce example does not have a way of opening kfmanager

it would be better to replace normal function of the image icon (and other
media too eg flash) witht the kfmanager

- S


2009/8/20 Cyril Lopez 

>
> On your tinyMce page : http://trinhvietcuong.com/ken/tinymce.html you have
> "KFManager for FCKeditor" as page label...
>
>
> --
> Cyril Lopez
> Développeur web
> www.nethik.fr
>
> 2009/8/20 Ken 
>
> without license GPL, MIT. I'm happy when you want to use and develop KFM
>>
>> 2009/8/20 Meroe 
>>
>>
>>> Well yea.  Let's say I want to put this into a commercial app.  I need to
>>> know the type of license this was released under so I can make a decision
>>> and be legit  The download has no license information..GPL? MIT?
>>>
>>> -Original Message-
>>> From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
>>> Behalf Of Ken Phan
>>> Sent: Wednesday, August 19, 2009 3:15 PM
>>> To: jQuery (English)
>>> Subject: [jQuery] Re: KFManager v1.0
>>>
>>>
>>> u want licensing terms ?
>>>
>>> On Aug 19, 2:54 am, "Meroe"  wrote:
>>> > What are the licensing terms?
>>> >
>>> > -Original Message-
>>> > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com]
>>> On
>>> >
>>> > Behalf Of Ken Phan
>>> > Sent: Tuesday, August 18, 2009 12:21 PM
>>> > To: jQuery (English)
>>> > Subject: [jQuery] KFManager v1.0
>>> >
>>> > KFManager (Ken's File Manager) is a plugin of jquery. It uses AJAX to
>>> > manage image files in a web browser and it was developed to help
>>> > programmer gently in the file manager. It is easy to use
>>> >
>>> > demo >>http://trinhvietcuong.com/ken/index.html
>>>
>>>
>>
>>
>> --
>> --
>> -
>> Administrator : Ken Phan
>> Websmater : www.goldengate.com.vn
>> Listen to music is free :  www.enghe.info
>> Ajax pagination: www.goldengate.com.vn/pagination
>> jQuery navigation: www.goldengate.com.vn/navigation
>> MP3 Ajax Flash webplayer: www.goldengate.com.vn/mp3
>> Blog me: http://my.opera.com/kenphan19/blog/
>> --
>>
>
>


[jQuery] Re: Check if movie (.mp4) is finished

2009-07-25 Thread Sam Sherlock
I think you'd have to load a swf and have that call back to the page (via ex
interface) when its completed
hth - S


2009/7/25 Eswip 

>
> Hi everyone,
>
> I'm using the jQuery Media Plugin to play a movie (.mp4) on a page
> when a button is clicked. But I want to remove the  from the
> DOM when the movie is finished. Is this possible? And in what way? I
> searched on the group here and googled, but I found nothing.
>
> Regards,
> Eswip
>


[jQuery] Re: Flash movie not playing in IE6, but working fine in firefox & google chrome

2009-06-23 Thread Sam Sherlock
Have you tried the google group for swfobject?
- S


2009/6/23 krishna1...@gmail.com 

>
> Hi All,
>
> I have used the swfobject.js file & its methods to play a flash movie
> in my webpage. It works fine when I open the page in firefox & chrome
> but does not work in IE-6.
>
> Below is the code i used:
>
> 
>
>
>function loadSWF(url) {
>var flashvars = {
>  autostart: false,
>  thumb: "videos/call/FirstFrame.png",
>  thumbscale: 45
>};
>swfobject.embedSWF(url, "flashcontent", "440",
> "300",
> "9.0.0","expressInstall.swf", flashvars);
>}
>
>
>
>
>
> Please help me on this.
>


[jQuery] Re: Using Zend IDE with jquery

2009-06-13 Thread Sam Sherlock
I gave up with eclipse in favour of netbeans.

However this is for Eclipse PDT but uses 1.2.6
http://www.langtags.com/jquerywtp/

The netbeans jquery addon also uses 1.2.6

I wonder how much of a chore it would be updating them to 1.3.2? I have not
looked into doing it

- S


2009/6/13 Josh Powell 

>
> zend with eclipse has some plugins.  I don't use them though, so I'm
> not sure where to get them.
>
> On Jun 12, 2:13 pm, Arun  wrote:
> > Hi,
> > Has anyone ever tried using the zend ide with jquery? Any comments on
> > this would be appreciated.
> >
> > Arun
>


[jQuery] Re: image for public usage

2009-05-04 Thread Sam Sherlock
see these
http://docs.jquery.com/Design_and_Identity

http://blog.jquery.com/2006/11/07/jquery-button-contest-winners/

- S


2009/5/4 Tim Johnson 

>
> Since jQuery is one of my "tools" - I'd like an appropriately
> "public" image to use on my website.
>
> Are any available?
> thanks
> tim
>


[jQuery] Re: $().someFunction(); -- The First Pair of Parentheses?

2009-05-03 Thread Sam Sherlock
$ == jQuery

to make jQuery work when other js frameworks are also in use you can make
jQuery() work too - avoiding conflicts

the first set of parenthis are for passing params to the jquery object

AFAIK When setting defaults for jquery plugins the parenthis are not
required.  I don't know if they are optional here or not - plugin defaults
are variables used by plugins, which extend the jquery object (props &
methods)

- S


2009/5/3 kiusau 

> .getBrowserInformation


[jQuery] Re: new version of loopedSlider is out! Looking for feed back

2009-04-30 Thread Sam Sherlock
- S


2009/4/30 Nathan 

>
>
>
> Yes that is very possible and pretty easy.
>
> Just download and include the jQuery Easing Plugin into your page:
> http://gsgd.co.uk/sandbox/jquery/easing/
>
> And lets say you want to add easeInOutExpo easing to the slide
> animation. Just find the two lines that have:
>
> $(o.slides,obj).animate({left: m}, o.slidespeed,function(){
>
> You'll want to add easeInOutExpo after the instance of o.slidespeed
> like this:
>
> $(o.slides,obj).animate({left: m}, o.slidespeed, easeInOutExpo,
> function(){
>
> You can do the same thing after o.autoHeight and o.fadespeed.
>
> That'll do it.
>
> Let me know how that works for you.
>
>
> On Apr 30, 4:59 am, betweenbrain  wrote:
> > Nathan,
> >
> > Very cool!
> >
> > Is it possible to use this in conjunction with something like easing
> > to add a little effect to the transition?
> >
> > Keep up the great work!
> >
> > Matt
> >
> > On Apr 29, 9:55 am, Nathan  wrote:
> >
> >
> >
> > > Just released a new version of loopedSlider and am looking for some
> > > feedback.
> >
> > > loopedSlider is a plugin made for jQuery that solves a simple problem,
> > > the looping of slide content. It was created to be easy to implement,
> > > smooth and most of all end the "content rewind" that most other
> > > content sliders suffer from.
> >
> > > New in version 0.5
> > > Re-coded from the ground up
> > > Even easier to implement
> > > Use DIVs, LIs or ?
> > > Smoother animation
> > > Container click for next feature
> > > And the most requested feature, auto interval
> >
> > > Examples
> > > http://nathansearles.com/loopedslider/example-1.html";
> > > target="_blank">Simple example using images and DIVs
> > > http://nathansearles.com/loopedslider/example-2.html";
> > > target="_blank">Simple text and auto height example using LIs
> > > http://nathansearles.com/loopedslider/example-3.html";
> > > target="_blank">Multiple sliders and auto play example
> >
> > > Downloadhttp://code.google.com/p/loopedslider/
>


[jQuery] Re: Getting started with jQuery

2009-04-19 Thread Sam Sherlock
try the following
http://www.learningjquery.com/category/levels/beginner
www.*slideshare*.net/simon/*jquery*-in-15-minutes
http://www.slideshare.net/remy.sharp/prototype-jquery-going-from-one-to-the-other

- S


2009/4/20 yrstruly 

>
> Hello
>
> Can somebody maybe please give me a basic code to start testing
> jQuery, cause the beginners code on this site is not doing anything
> for me?
>
> Thank you
>
>


[jQuery] Re: script tag in HTML

2009-04-03 Thread Sam Sherlock
 type="text/javascript">
> 


and


>

changing type to text/javascript - this is why nothing occurs
removing the language attribute.  its not required

if you testing locally on a windows machine then paths with \ can work but
moving them to a server they need to be /.  Testing locally ie will give you
some restictions and security warnings will appear.

also if you test locally you can have your project in a folder and use /
with relative paths fro there.  Removing spaces from files and directories
is a headache saver

- S


2009/4/3 michael.marri...@ausawd.com 

>
> How can I refer to multiple sources of javascript in my HTML.
> For example if in my HTML I already have a line such as :
>
>