[jQuery] Re: How to edit a portion of text

2009-12-18 Thread caruso_g
 The code isn't really semantic, which makes it difficult to get to the
 excerpt text. If you can't differentiate the excerpt from the content
 following by extra spans then there isn't a good way to catch your
 excerpt.

I know, but sadly I have no control on it, it's just like WordPress
put out the code. :/

Anyway, I found a good solution (for good, I mean better then no
solution, of course)

  $('.hentry  p:first').addClass('excerpt').find('span').replaceWith
('hook');
  var portions = $('.hentry  p:first').html();
  var excerpt = portions.split('hook')[0];
  var notexcerpt = portions.split('hook')[1];
  $('.hentry  p:first').html(strong+excerpt+/strong
+notexcerpt);

Then I styled the excerpt by css with a .excerpt strong selector.

I am absolutely sure that jQuery/Javascript ninjas out there will
surely able to refactor it.
So, if someone would like to improve it, it would be really
appreciate.
I know it is a rough and crappy code, but, as said, better then
nothing.


[jQuery] How to edit a portion of text

2009-12-15 Thread caruso_g
Hi,
I have a portion of code like:

div class=hentry
pimg width=160 height=120 alt=0 src=/
img_2009/51/0.jpg/
Text fo the article excerpt
br/
span id=more-0/
text of the article after the excerpt, and so on, and so on, and
so on, and so on,
a target=_blank href=link/a and so on, and so on, and so
on, and so on,
and so on, and so on, and so on.
/p
/div

I need to edit it like:

div class=hentry
p
strong class=excerpt
img width=160 height=120 alt=0 src=/
img_2009/51/0.jpg/
Text fo the article excerpt
/strong
span id=more-0/
text of the article after the excerpt, and so on, and so on, and
so on, and so on,
a target=_blank href=link/a and so on, and so on, and so
on, and so on,
and so on, and so on, and so on.
/p
/div

How can I achieve that?

Thanks


[jQuery] Re: How to edit a portion of text

2009-12-15 Thread caruso_g
Hi Virgil,
thanks a lot for your help.
But I explained the issue not so well. I need to obtain the strong
code, not to remove it. First code is the situation (without the
strong tag) and I need to obtain the second code (with strong).

Practically, I need to highlight the excerpt of the code, making it
strong.

Thanks again for your help.

On Dec 15, 5:25 pm, Virgil Spruit virgilspr...@gmail.com wrote:
 If you want to remove the strong tags you can use this 
 plugin;http://benalman.com/projects/jquery-unwrap-plugin/

 Or try these two lines of code;

 temp = $(.hentry).find(.excerpt).html() ;
 $(.hentry).find(.excerpt).before(temp).remove();

 It fills the temp with the content of your strong tag and places it
 before himself and the original.

 On Dec 15, 4:31 pm, caruso_g peppecar...@gmail.com wrote:

  Hi,
  I have a portion of code like:

  div class=hentry
      pimg width=160 height=120 alt=0 src=/
  img_2009/51/0.jpg/
      Text fo the article excerpt
      br/
      span id=more-0/
      text of the article after the excerpt, and so on, and so on, and
  so on, and so on,
      a target=_blank href=link/a and so on, and so on, and so
  on, and so on,
      and so on, and so on, and so on.
      /p
  /div

  I need to edit it like:

  div class=hentry
      p
      strong class=excerpt
      img width=160 height=120 alt=0 src=/
  img_2009/51/0.jpg/
      Text fo the article excerpt
      /strong
      span id=more-0/
      text of the article after the excerpt, and so on, and so on, and
  so on, and so on,
      a target=_blank href=link/a and so on, and so on, and so
  on, and so on,
      and so on, and so on, and so on.
      /p
  /div

  How can I achieve that?

  Thanks


[jQuery] Re: How to play a sound on click and embed a bg sound

2009-03-16 Thread caruso_g

I know it is just fancy stuff, but if someone could help me I would
really appreciate it.
Thanks anyway.

On Mar 14, 2:54 pm, caruso_g peppecar...@gmail.com wrote:
 Hi there,
 I need to build a website with lot of animations and, if possible,
 sound effects. I would like not to use Flash, so for animations I will
 user jQuery, but I really don't know how to move for sound fx.
 The client would like to have a background sound, and some sound fx on
 mousover. Is there any plugin out there to manage this? If not, has
 anyone some link to share on how to do that?
 Thanks you all in advance.


[jQuery] How to play a sound on click and embed a bg sound

2009-03-14 Thread caruso_g

Hi there,
I need to build a website with lot of animations and, if possible,
sound effects. I would like not to use Flash, so for animations I will
user jQuery, but I really don't know how to move for sound fx.
The client would like to have a background sound, and some sound fx on
mousover. Is there any plugin out there to manage this? If not, has
anyone some link to share on how to do that?
Thanks you all in advance.


[jQuery] Re: Rounded Corners and IE 6

2008-10-17 Thread caruso_g

I think I will adopt
k3liutZu suggesion… :P

@Isaak
The theme is is intended for people that just want to change colors
directly from Rapidweaver (it is a Rapidweaver theme) with no tech
skill.

@all
The problem seems that no corner plugin is able to keep paddings and
margins, and above all, the original size of the element rounded. This
just screw up any layout.
I, then, adopted Nifty cube solution. I just debugged css that were
messing the extra divs created.

I don't like this solution at all, but That's it.

On 17 Ott, 17:30, Isaak Malik [EMAIL PROTECTED] wrote:
 Personally, I find it a big waste to use JavaScript for this purpose. Why
 not simply create rounded corner 10x10 (or whatever) images and use them?





 On Fri, Oct 17, 2008 at 2:59 PM, k3liutZu [EMAIL PROTECTED] wrote:

  Just convince everyone that it is ok to send IE6 a squared corner
  look ;)

  On Oct 17, 12:46 am, caruso_g [EMAIL PROTECTED] wrote:
   Thanks Tim, tried.
   Unluckily, no anti-alias, no background images and a messy rendering
   on IE6.

   On 16 Ott, 23:32, TimW66 [EMAIL PROTECTED] wrote:

I've played around with this one:http://malsup.com/jquery/corner/

On Oct 16, 4:19 pm, caruso_g [EMAIL PROTECTED] wrote:

 I searched for a plugin to round corners using jQuery.
 I tried any plugin I was able to find but sadly none of them was able
 to work on IE 6.
 Some of them didn't even work on std compliant browsers.
 I then, chosen to use Nifty Cube by Alessandro Fulciniti, but I found
 that shows some bugs too. (
 http://skitch.com/caruso_g/2hb3/ie-rounded-
 bugs-01http://skitch.com/caruso_g/2hn8/ie-rounded-bugs-02)
 Now, it is probably due to the complexity of the page html code that
 uses a lot of padding and margins but I was not able to get them
  work.
 Can someone help me to understand where I am doing wrong?

 Herehttp://www.bonsai-studio.net/live_preview/pro-001/youcanfinda
 sample of the page I am trying to round corners.

 I essentially need some rounded corners that work. But background
 images (both in content then in container) and anti-alias would be a
 great plus.

 Thanks you all in advance. I really don't know what else to do or
 where to ask for help.

 --
 Isaak Malik
 Web Developer


[jQuery] Rounded Corners and IE 6

2008-10-16 Thread caruso_g

I searched for a plugin to round corners using jQuery.
I tried any plugin I was able to find but sadly none of them was able
to work on IE 6.
Some of them didn't even work on std compliant browsers.
I then, chosen to use Nifty Cube by Alessandro Fulciniti, but I found
that shows some bugs too. (http://skitch.com/caruso_g/2hb3/ie-rounded-
bugs-01 http://skitch.com/caruso_g/2hn8/ie-rounded-bugs-02)
Now, it is probably due to the complexity of the page html code that
uses a lot of padding and margins but I was not able to get them work.
Can someone help me to understand where I am doing wrong?

Here http://www.bonsai-studio.net/live_preview/pro-001/ you can find a
sample of the page I am trying to round corners.

I essentially need some rounded corners that work. But background
images (both in content then in container) and anti-alias would be a
great plus.

Thanks you all in advance. I really don't know what else to do or
where to ask for help.


[jQuery] Re: Rounded Corners and IE 6

2008-10-16 Thread caruso_g

Thanks Tim, tried.
Unluckily, no anti-alias, no background images and a messy rendering
on IE6.

On 16 Ott, 23:32, TimW66 [EMAIL PROTECTED] wrote:
 I've played around with this one:http://malsup.com/jquery/corner/

 On Oct 16, 4:19 pm, caruso_g [EMAIL PROTECTED] wrote:



  I searched for a plugin to round corners using jQuery.
  I tried any plugin I was able to find but sadly none of them was able
  to work on IE 6.
  Some of them didn't even work on std compliant browsers.
  I then, chosen to use Nifty Cube by Alessandro Fulciniti, but I found
  that shows some bugs too. (http://skitch.com/caruso_g/2hb3/ie-rounded-
  bugs-01http://skitch.com/caruso_g/2hn8/ie-rounded-bugs-02)
  Now, it is probably due to the complexity of the page html code that
  uses a lot of padding and margins but I was not able to get them work.
  Can someone help me to understand where I am doing wrong?

  Herehttp://www.bonsai-studio.net/live_preview/pro-001/youcan find a
  sample of the page I am trying to round corners.

  I essentially need some rounded corners that work. But background
  images (both in content then in container) and anti-alias would be a
  great plus.

  Thanks you all in advance. I really don't know what else to do or
  where to ask for help.


[jQuery] Re: jQuery validation plugin - Italian Translation

2008-10-05 Thread caruso_g

Thanks a lot for your translation, just some typos/errata:

email: Inserisci un indirizzo mail valido.,
should be
email: Inserisci un indirizzo email valido.,

number: Inserisci un numero valida.,
should be
number: Inserisci un numero valido.,


equalTo: Il valore non coincide.,
could be
equalTo: Il valore non corrisponde.,

accept: Inserisci una valore con una estensione valida.,
should be
accept: Inserisci un valore con unapos;estensione valida.,

maxlength: jQuery.format(Non inserire più di {0}
caratteri.),
should be
maxlength: jQuery.format(Non inserire piugrave; di {0}
caratteri.),

max: jQuery.format(Inserisci un valore minore od uguale a
{0}.),
should be
max: jQuery.format(Inserisci un valore minore o uguale a
{0}.),

min: jQuery.format(Inserisci un valore maggiore od uguale a
{0}.)
should be
min: jQuery.format(Inserisci un valore maggiore o uguale a
{0}.)

Thanks again.


[jQuery] Re: Code Editors

2008-09-11 Thread caruso_g

TextMate. Not on a Mac? Just switch. :D

On Sep 11, 7:33 pm, real [EMAIL PROTECTED] wrote:
 Aptana might be a consideration. Or there's also the Eclipse IDE with
 the Aptana plugin.

 On Sep 11, 10:41 am, Andiih [EMAIL PROTECTED] wrote:

  I always feel VS in all its incarnations is a bit clunky, and a bit
  heavy.  Its a necessary evil for dot net development, but I'd prefer
  to avoid it where possible. I know many love it, but its just not
  'me'.

  I'm building a clean development machine and I don't yet need to
  install VS, so I wont. I've just checked: the (MSDN) download for VS
  2008 Pro is 3.8GB! Says it all really.

  On Sep 11, 2:36 pm, MorningZ [EMAIL PROTECTED] wrote:

   So if you are used to MS stuff, why not Web Developer Express or
   Studio 2008?   both support intellisense with jQuery


[jQuery] Re: Cycle CountUp

2008-02-04 Thread caruso_g

Is it possible to set a time countdown but making it global, i.e. that
any visitor will see the remaining time?
Something like a countdown to a special offer, and so on.

On Feb 3, 8:35 pm, Ken Gregg [EMAIL PROTECTED] wrote:
 Cool. I need to put a time display on an intranet page. This answers
 that also.

 On Feb 2, 5:12 pm, Glen Lipka [EMAIL PROTECTED] wrote:

  Interesting tidbit:
  I as looking at the questions on Experts-Exchange for 
  JavaScript.http://www.experts-exchange.com/Programming/Languages/Scripting/JavaS...

  *My discovery:* A big portion of the questions are easy to answer if you use
  jQuery.

  One of them turned into a neat demo I whipped 
  up:http://commadot.com/jquery/cyleNumber.php

  I never thought of using the Cycle plugin for a count-down or count-up, but
  there it is. :)  I think it makes a nice effect.

  Have a great day.

  Glen


[jQuery] Re: New and better demos

2008-01-30 Thread caruso_g

Wow, you rocks, I would ever not even imagined that solution... :P
I will try to implement it. But, what do you mean with //check the
settings?

Thanks again.

On Jan 30, 1:20 am, Ariel Flesler [EMAIL PROTECTED] wrote:
 Ugh..

 (function( $ ){

   var last = 0,
 $pane = $('#container'),
 $items = $pane.find('li');

   $('#next').bind('click', +1, handler );
   $('#prev').bind('click', -1, handler );

   function handler( e ){
 var next = last + e.data;
 if( $items[next] ){
   last = next;
   $pane.scrollTo( $items[next], ... );//check the settings
 }
   };

 })( jQuery );

 Ariel Flesler

 On 29 ene, 22:15, Ariel Flesler [EMAIL PROTECTED] wrote:

  Hi caruso, your situation remainds me of 
  this:http://www.freewebs.com/flesler/jQuery.ScrollShow/
  It's a plugin that actually uses ScrollTo. It's called 
  ScrollShow:http://plugins.jquery.com/project/ScrollShow

  I kinda abandoned the plugin and it stayed in beta stage, but it
  automatically does what you are saying.
  If you use it, set the setting 'navigationMode' to 's' instead of
  'sr', to release the click on the items, also set 'wrappers' to '',
  you don't need that.
  It can also be done with a small snippet that remembers the last,
  something like:

  (function( $ ){
  nbsp;nbsp;var last = 0,
  nbsp;nbsp;nbsp;nbsp;$pane = $('#container'),
  nbsp;nbsp;nbsp;nbsp;$items = $pane.find('li');

  nbsp;nbsp;$('#next').bind('click', +1, handler );
  nbsp;nbsp;$('#prev').bind('click', -1, handler );

  nbsp;nbsp;function handler( e ){
  nbsp;nbsp;nbsp;nbsp;var next = last + e.data;
  nbsp;nbsp;nbsp;nbsp;if( $items[next] ){
  nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;last = next;
  nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
  $pane.scrollTo( $items[next], ... );//check the settings
  nbsp;nbsp;nbsp;nbsp;}
  nbsp;nbsp;};

  })( jQuery );

  I checked the syntax was correct, but not that it works, I hope it
  does :)
  Thanks for you reply.

  Cheers
  Ariel Flesler

  As for adding that to LocalScroll... that plugins handles anchor, this
  is different. Maybe ScrollShow is the solution.
  On 29 ene, 18:57, caruso_g [EMAIL PROTECTED] wrote:

   Thanks Ariel, I didn't be able to use it for the following project
   (http://www.bonsai-studio.net/clients/lamoy/wessel02/albums/page2/inde...
   ) so I had to make some code to the ground up (think about I am just a
   designer... :P ).

   So here I am, I have a feature request!

   Can you implement a function to just use two links (left | right in
   the example above) to make the content scroll to the previous or the
   next item into the container?
   It would be great!

   I imagine the code I wrote should be horrible to your eyes, but that
   should make the idea of the feature I am talking about.
   It would be great if at the end of the items it could show again the
   first item, like  Coda website, and so on.

   Thanks in advace.

   On Jan 29, 6:08 pm, Ariel Flesler [EMAIL PROTECTED] wrote:

Hi all

Thanks a lot for your replies!

@Jack
I don't fully understand what you mean, could you explain it some
more ? or maybe find an example (can be flash or anything).

@caruso
   ScrollTo can scroll to any kind of element, not only LIs. Check the
old demo, the first input field uses a CSS class based selector, with
an :eq  filter. You can use any kind of selector, but you must make
sure it matches at least 1 DOM element. The first one will be taken
into account.

@Alexandre
   I really liked your comment, I also loved the psychodelic squares,
but I realized the demo wasn't very useful in the end. So I started
over.

Thanks again, I'm open to new features for any of both plugins. Just
beware not to go far away from the scope of the plugin.
Cheers.

Ariel Flesler

On 29 ene, 14:48, Alexandre Plennevaux [EMAIL PROTECTED] wrote:

 in fact i just looked at the old demo and i find it quite nice 
 looking too!
 (me love colours :)
 at least it's not webtwooish, which is a quality in my eyes 
 :)http://www.freewebs.com/flesler/jQuery.ScrollTo/index.old.html

 On Jan 29, 2008 4:56 PM, caruso_g [EMAIL PROTECTED] wrote:

  Hi, thanks a lot for these great plugins. They are awesome.
  But I would make you a feature request, if possible, and, when you
  can.

  It would be great to be able to scroll to any kind of elements into
  the containner, and not only list items.

  Sometimes it happens that one can't know in advance which kind of
  elements will be putted by the client into the container, so 
  allowing
  to scroll to anything inside it would solve a lot of problems!

  Thanks lot anyway for your great works, and I would like to thanks 
  all
  other developers out there for your wonderful work and your friendly
  support.

  On Jan 29, 3:54 am, Jack Killpatrick [EMAIL PROTECTED] wrote:
   Thanks for the additional demos, they opened my eyes

[jQuery] Re: Is it possible to do this with Jquery?

2008-01-30 Thread caruso_g

Even better from Giovanni Carlo Mingati:
http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/jq-liscroll/scrollanimate.html
Simpler, and just do what you need.
You must simply put the images inside a link inside lists.

On Jan 28, 3:14 pm, Matt Quackenbush [EMAIL PROTECTED] wrote:
 http://plugins.jquery.com/project/cycle

 On Jan 27, 2008 11:07 PM, cameron wrote:

  I'm wondering if this is possible to do with jquery.

  An example of what I'm looking for can be found at the top of this
  page;
 http://www.scriptsearch.com/cgi-bin/jump.cgi?ID=687

  The images are scrolling horizontally in a loop. On mouseover the
  scroll pauses, on mouseout, it starts again. Each image can be a link.

  Is it possible to do this with a ul of images and some jquery?


[jQuery] Re: New and better demos

2008-01-29 Thread caruso_g

Hi, thanks a lot for these great plugins. They are awesome.
But I would make you a feature request, if possible, and, when you
can.

It would be great to be able to scroll to any kind of elements into
the containner, and not only list items.

Sometimes it happens that one can't know in advance which kind of
elements will be putted by the client into the container, so allowing
to scroll to anything inside it would solve a lot of problems!

Thanks lot anyway for your great works, and I would like to thanks all
other developers out there for your wonderful work and your friendly
support.

On Jan 29, 3:54 am, Jack Killpatrick [EMAIL PROTECTED] wrote:
 Thanks for the additional demos, they opened my eyes to a few usages
 that I hadn't thought of when looking at the axis-based demos. Very nice.

 I'm wondering: could this be adapted to do velocity based (for lack of
 a better word) scrolling, like the iphone and ipod touch do? I'm
 thinking something like

 a) the user would click on div (which might have a list in it), then
 flick their mouse (or pen, for us pen-tablet users)
 b) a distance somewhere else on the div would be calculated based on the
 speed of the flick
 c) the scroller would use one of the easing plugins (or some other
 animation) to scroll to/near the calculated destination
 d) clicking on them while they're moving would stop them where they get
 clicked.

 Any plans for that? Thoughts? I'm picturing little flick lists that
 could be embedded in a page.

 Thx,
 Jack

 Ariel Flesler wrote:
  Hi everyone

  Right before going on vacations, I improved the demos of both ScrollTo
  and LocalScroll. I Applied a common style to all of them. And
  simplified the code of LocalScroll's to make it work entirely with the
  plugin (no raw call to ScrollTo).
  I also added an AJAX version of the LocalScroll's demo, showing the
  use of the option 'persistent', which is IMO, quite useful.

  In short.. if someone's interested in checking.. here are the links:
  LocalScroll:http://www.freewebs.com/flesler/jQuery.LocalScroll/
  LocalScroll AJAX 
  version:http://www.freewebs.com/flesler/jQuery.LocalScroll/ajax/
  ScrollTo:http://www.freewebs.com/flesler/jQuery.ScrollTo/

  Cheers.
  Ariel Flesler


[jQuery] Re: New and better demos

2008-01-29 Thread caruso_g

Thanks Ariel, I didn't be able to use it for the following project
( http://www.bonsai-studio.net/clients/lamoy/wessel02/albums/page2/index.html
) so I had to make some code to the ground up (think about I am just a
designer... :P ).

So here I am, I have a feature request!

Can you implement a function to just use two links (left | right in
the example above) to make the content scroll to the previous or the
next item into the container?
It would be great!

I imagine the code I wrote should be horrible to your eyes, but that
should make the idea of the feature I am talking about.
It would be great if at the end of the items it could show again the
first item, like  Coda website, and so on.

Thanks in advace.

On Jan 29, 6:08 pm, Ariel Flesler [EMAIL PROTECTED] wrote:
 Hi all

 Thanks a lot for your replies!

 @Jack
 I don't fully understand what you mean, could you explain it some
 more ? or maybe find an example (can be flash or anything).

 @caruso
ScrollTo can scroll to any kind of element, not only LIs. Check the
 old demo, the first input field uses a CSS class based selector, with
 an :eq  filter. You can use any kind of selector, but you must make
 sure it matches at least 1 DOM element. The first one will be taken
 into account.

 @Alexandre
I really liked your comment, I also loved the psychodelic squares,
 but I realized the demo wasn't very useful in the end. So I started
 over.

 Thanks again, I'm open to new features for any of both plugins. Just
 beware not to go far away from the scope of the plugin.
 Cheers.

 Ariel Flesler

 On 29 ene, 14:48, Alexandre Plennevaux [EMAIL PROTECTED] wrote:

  in fact i just looked at the old demo and i find it quite nice looking too!
  (me love colours :)
  at least it's not webtwooish, which is a quality in my eyes 
  :)http://www.freewebs.com/flesler/jQuery.ScrollTo/index.old.html

  On Jan 29, 2008 4:56 PM, caruso_g [EMAIL PROTECTED] wrote:

   Hi, thanks a lot for these great plugins. They are awesome.
   But I would make you a feature request, if possible, and, when you
   can.

   It would be great to be able to scroll to any kind of elements into
   the containner, and not only list items.

   Sometimes it happens that one can't know in advance which kind of
   elements will be putted by the client into the container, so allowing
   to scroll to anything inside it would solve a lot of problems!

   Thanks lot anyway for your great works, and I would like to thanks all
   other developers out there for your wonderful work and your friendly
   support.

   On Jan 29, 3:54 am, Jack Killpatrick [EMAIL PROTECTED] wrote:
Thanks for the additional demos, they opened my eyes to a few usages
that I hadn't thought of when looking at the axis-based demos. Very
   nice.

I'm wondering: could this be adapted to do velocity based (for lack of
a better word) scrolling, like the iphone and ipod touch do? I'm
thinking something like

a) the user would click on div (which might have a list in it), then
flick their mouse (or pen, for us pen-tablet users)
b) a distance somewhere else on the div would be calculated based on the
speed of the flick
c) the scroller would use one of the easing plugins (or some other
animation) to scroll to/near the calculated destination
d) clicking on them while they're moving would stop them where they get
clicked.

Any plans for that? Thoughts? I'm picturing little flick lists that
could be embedded in a page.

Thx,
Jack

Ariel Flesler wrote:
 Hi everyone

 Right before going on vacations, I improved the demos of both ScrollTo
 and LocalScroll. I Applied a common style to all of them. And
 simplified the code of LocalScroll's to make it work entirely with the
 plugin (no raw call to ScrollTo).
 I also added an AJAX version of the LocalScroll's demo, showing the
 use of the option 'persistent', which is IMO, quite useful.

 In short.. if someone's interested in checking.. here are the links:
 LocalScroll:http://www.freewebs.com/flesler/jQuery.LocalScroll/
 LocalScroll AJAX version:
  http://www.freewebs.com/flesler/jQuery.LocalScroll/ajax/
 ScrollTo:http://www.freewebs.com/flesler/jQuery.ScrollTo/

 Cheers.
 Ariel Flesler

  --
  Alexandre Plennevaux
  LAb[au]

 http://www.lab-au.com-Ocultar texto de la cita -

  - Mostrar texto de la cita -


[jQuery] Re: rounded corners on images with jquery?

2007-12-20 Thread caruso_g

Hi Mike, thanks a lot for the plug-in!

I would ask for borders too, if possible, and, if I may, it would be
great for anti-alias too as made in CurvyCorners.
That would made it excellent.

That said, is it possible to use the wrapping div without previous
knowing its size and so image size?
I.E. Can I apply an in-line style to size  image wrapping div on the
fly according to the sizes of the image it contains since I can't
know  them in advance?

Thanks again!

P.S.
Does the plug-in supports transparent backgrounds?

On Dec 18, 4:11 pm, Mike Alsup [EMAIL PROTECTED] wrote:
 I had to tweak the script to get this working right in IE.  v1.92 is
 now available:

 http://jqueryjs.googlecode.com/svn/trunk/plugins/corner/jquery.corner.js

 Mike

 On Dec 18, 2007 8:04 AM, Mike Alsup [EMAIL PROTECTED] wrote:

  Here's an example of how to use the jQuery Corner plugin on an image:

 http://www.malsup.com/jquery/corner/image.html

  Mike

  On Dec 17, 2007 7:12 PM, bdee1 [EMAIL PROTECTED] wrote:

   i know there are jquery plugins to round the corners on divs but is there 
   one
   that will work on images?  to see what i mean take a look at
  http://beta.asset-guardians.com/.

   it is a sit i am working on that in its very early stages.  towards the
   bottom of the page there are two images (one is a baseball and the other 
   is
   a ring.  the baseball has square corners.  the ring image has round 
   corners.
   the corners on the ring image were rounded in photoshop and saved that 
   way.

   it would be nice however to be able to apply a similar effect to any image
   with some simple jquery code like $(#ringImage).roundcorners();

   anybody know if this is possible?
   --
   View this message in 
   context:http://www.nabble.com/rounded-corners-on-images-with-jquery--tp143758...
   Sent from the jQuery General Discussion mailing list archive at 
   Nabble.com.


[jQuery] Re: Rounded corners-canvas and ie6

2007-11-24 Thread caruso_g

Still no solution on that.
I was wondering if using a conditional comment to get the offset of
generated canvases and increasing it one pixel bottom/right and bottom
would make the trick.
What do you think about?

On Nov 22, 10:20 am, caruso_g [EMAIL PROTECTED] wrote:
 @Marco - Examples on the developer page simply don't use nested divs
 with different backgrounds, so, the bug, is not visible.
 I hope the plugin dev can help us.

 On 21 Nov, 23:31, marco [EMAIL PROTECTED] wrote:

  Yes, I ran into the same issue myself. I have not found a solution for
  this myself.
  I wonder how they did it on the demo site. (there the issue does not
  appear)

  marco

  On Nov 21, 1:00 pm, polyrhythmic [EMAIL PROTECTED] wrote:

   I believe curvycorners supports borders, I'm not sure that there's a
   transparent corner jQuery plugin that also supports borders besides
   the canvas corners.  Weird bug, but such is IE.  I would also be
   interested in a solution.

   Charles

   On Nov 21, 7:21 am, caruso_g [EMAIL PROTECTED] wrote:

I am still here,
I was not able to find a solution on the net.
Any Idea?

Thanks again in advance for the help.

On 20 Nov, 18:20, caruso_g [EMAIL PROTECTED] wrote:

 Hi guys,
 I implemented a rounded-corner-canvas into this project. I used it
 since its support to borders and a good anti-alias effect.
 But on IE6 I am having a strange issues I don't know how to solve:
 right and bottom right to the parent node of the rounded divs,
 canvases are not positioned to the 0/0 px coordinates but a pixel
 before, showing the border/background of the div beneath.
 Any idea?

 You can find the page at this 
 address:http://www.bonsai-studio.net/live_preview/miniblog3/
 While you can find a screenshot of the bug (?) 
 here:http://www.bonsai-studio.net/images/corners-issue.png

 Eventually, which plugin to round borders without images can I use
 which supports borders?

 Thanks in advace to anyone.- Hide quoted text -

   - Show quoted text -


[jQuery] Re: Rounded corners-canvas and ie6

2007-11-22 Thread caruso_g

HI, the effect is been achieved by inserting the bordered div into a
div with bottom rounded border too, contained itself into a bottom
rounded div with a double margin relatively to inner ones, so that it
Seems a white 10 px border. The trick is in the second container, it
lets me not to show its background. But is a poor work if we still
have this issue. :(

On 21 Nov, 22:37, Brett [EMAIL PROTECTED] wrote:
 that's an great effect - first thoughts are how are you generating the
 bottom border/line?

 I couldn't track down the code for your corner easily so couldn't get
 any further.

 On Nov 22, 8:00 am, polyrhythmic [EMAIL PROTECTED] wrote:

  I believe curvycorners supports borders, I'm not sure that there's a
  transparent corner jQuery plugin that also supports borders besides
  the canvas corners.  Weird bug, but such is IE.  I would also be
  interested in a solution.

  Charles

  On Nov 21, 7:21 am, caruso_g [EMAIL PROTECTED] wrote:

   I am still here,
   I was not able to find a solution on the net.
   Any Idea?

   Thanks again in advance for the help.

   On 20 Nov, 18:20, caruso_g [EMAIL PROTECTED] wrote:

Hi guys,
I implemented a rounded-corner-canvas into this project. I used it
since its support to borders and a good anti-alias effect.
But on IE6 I am having a strange issues I don't know how to solve:
right and bottom right to the parent node of the rounded divs,
canvases are not positioned to the 0/0 px coordinates but a pixel
before, showing the border/background of the div beneath.
Any idea?

You can find the page at this 
address:http://www.bonsai-studio.net/live_preview/miniblog3/
While you can find a screenshot of the bug (?) 
here:http://www.bonsai-studio.net/images/corners-issue.png

Eventually, which plugin to round borders without images can I use
which supports borders?

Thanks in advace to anyone.


[jQuery] Re: Rounded corners-canvas and ie6

2007-11-22 Thread caruso_g

@Marco - Examples on the developer page simply don't use nested divs
with different backgrounds, so, the bug, is not visible.
I hope the plugin dev can help us.

On 21 Nov, 23:31, marco [EMAIL PROTECTED] wrote:
 Yes, I ran into the same issue myself. I have not found a solution for
 this myself.
 I wonder how they did it on the demo site. (there the issue does not
 appear)

 marco

 On Nov 21, 1:00 pm, polyrhythmic [EMAIL PROTECTED] wrote:

  I believe curvycorners supports borders, I'm not sure that there's a
  transparent corner jQuery plugin that also supports borders besides
  the canvas corners.  Weird bug, but such is IE.  I would also be
  interested in a solution.

  Charles

  On Nov 21, 7:21 am, caruso_g [EMAIL PROTECTED] wrote:

   I am still here,
   I was not able to find a solution on the net.
   Any Idea?

   Thanks again in advance for the help.

   On 20 Nov, 18:20, caruso_g [EMAIL PROTECTED] wrote:

Hi guys,
I implemented a rounded-corner-canvas into this project. I used it
since its support to borders and a good anti-alias effect.
But on IE6 I am having a strange issues I don't know how to solve:
right and bottom right to the parent node of the rounded divs,
canvases are not positioned to the 0/0 px coordinates but a pixel
before, showing the border/background of the div beneath.
Any idea?

You can find the page at this 
address:http://www.bonsai-studio.net/live_preview/miniblog3/
While you can find a screenshot of the bug (?) 
here:http://www.bonsai-studio.net/images/corners-issue.png

Eventually, which plugin to round borders without images can I use
which supports borders?

Thanks in advace to anyone.- Hide quoted text -

  - Show quoted text -


[jQuery] Re: Rounded corners-canvas and ie6

2007-11-21 Thread caruso_g

I am still here,
I was not able to find a solution on the net.
Any Idea?

Thanks again in advance for the help.

On 20 Nov, 18:20, caruso_g [EMAIL PROTECTED] wrote:
 Hi guys,
 I implemented a rounded-corner-canvas into this project. I used it
 since its support to borders and a good anti-alias effect.
 But on IE6 I am having a strange issues I don't know how to solve:
 right and bottom right to the parent node of the rounded divs,
 canvases are not positioned to the 0/0 px coordinates but a pixel
 before, showing the border/background of the div beneath.
 Any idea?

 You can find the page at this 
 address:http://www.bonsai-studio.net/live_preview/miniblog3/
 While you can find a screenshot of the bug (?) 
 here:http://www.bonsai-studio.net/images/corners-issue.png

 Eventually, which plugin to round borders without images can I use
 which supports borders?

 Thanks in advace to anyone.


[jQuery] Rounded corners-canvas and ie6

2007-11-20 Thread caruso_g

Hi guys,
I implemented a rounded-corner-canvas into this project. I used it
since its support to borders and a good anti-alias effect.
But on IE6 I am having a strange issues I don't know how to solve:
right and bottom right to the parent node of the rounded divs,
canvases are not positioned to the 0/0 px coordinates but a pixel
before, showing the border/background of the div beneath.
Any idea?

You can find the page at this address: 
http://www.bonsai-studio.net/live_preview/miniblog3/
While you can find a screenshot of the bug (?) here:
http://www.bonsai-studio.net/images/corners-issue.png

Eventually, which plugin to round borders without images can I use
which supports borders?

Thanks in advace to anyone.


[jQuery] Re: How to get an html page not knowing its address

2007-11-08 Thread caruso_g

I should have made progresses, I hope.

I saw that it would be better to use .load method to get some simple
pre-formatted html bunch of code.

But the problem is still there, I don't know how to pass as arguments
a domain address I am not able to know in advance.
So I tried with the code below, but it doesn't work:

function address() {
var website = document.location.hostname;
var snippet_address = '' + website + '/clients/clickadvisor-02/
snippets/footer-navbar.html';
document.write(snippet_address);
}

jQuery('#footer-navbar').load(address(););

Any suggestion?

On Nov 7, 10:45 pm, caruso_g [EMAIL PROTECTED] wrote:
 First of all I want to apologize with all devs out there for my
 questions. I am sure that solution will be easy but I am just a
 designer, so I am a moron with Javascript...

 The problem is that I need to put some html code into a div (#footer-
 navbar) getting the html code from a page of which I already know its
 hierarchy (clients/clickadvisor-02/snippets/footer-navbar.html) but of
 which I don't know its domain (http://www.I_DONT_KNOW_THIS.COM).
 I tried to create a script with jQuery like this:

 jQuery('#footer-navbar').html(function () {
   jQuery.get(function () {
 document.write('' + this.location.hostname + 'clients/
 clickadvisor-02/snippets/footer-navbar.html')
 });

 });

 Where do I make a mistake?

 Thanks in advance to everyone.

 ps
 I am making use of jQuery because of some incompatibilities with
 other libraries.



[jQuery] Re: How to get an html page not knowing its address

2007-11-08 Thread caruso_g

Ciao Richard,
thanks a lot, really.

It, clearly, works.

But, if I may ask you more, if I would to pass an address with the
same problem to a jQuery selector, what should I write?
Would it enough to create a variable and insert its name into the
selector?
Below it is an example:

var my_variable_name = '' + document.location.hostname + '/folder/
subfolder/file.html';

jQuery(my_variable_name).something;

Would it be right? That is just to learn.
Thanks anyway again for your help.

On Nov 8, 3:02 pm, Richard D. Worth [EMAIL PROTECTED] wrote:
 No need to provide the full URL, including the domain/server name. In fact,
 there's a security restriction on Ajax that prevents fetching an html page
 from a domain other than the current one, so you only need to specify a
 relative url to load:

 jQuery('#footer-navbar').load(/clients/clickadvisor-02/snippets/footer-
 navbar.html);

 - Richard

 On Nov 8, 2007 6:04 AM, caruso_g [EMAIL PROTECTED] wrote:



  I should have made progresses, I hope.

  I saw that it would be better to use .load method to get some simple
  pre-formatted html bunch of code.

  But the problem is still there, I don't know how to pass as arguments
  a domain address I am not able to know in advance.
  So I tried with the code below, but it doesn't work:

 function address() {
 var website = document.location.hostname;
 var snippet_address = '' + website +
  '/clients/clickadvisor-02/
  snippets/footer-navbar.html';
 document.write(snippet_address);
 }

 jQuery('#footer-navbar').load(address(););

  Any suggestion?

  On Nov 7, 10:45 pm, caruso_g [EMAIL PROTECTED] wrote:
   First of all I want to apologize with all devs out there for my
   questions. I am sure that solution will be easy but I am just a
   designer, so I am a moron with Javascript...

   The problem is that I need to put some html code into a div (#footer-
   navbar) getting the html code from a page of which I already know its
   hierarchy (clients/clickadvisor-02/snippets/footer-navbar.html) but of
   which I don't know its domain (http://www.I_DONT_KNOW_THIS.COM).
   I tried to create a script with jQuery like this:

   jQuery('#footer-navbar').html(function () {
 jQuery.get(function () {
   document.write('' + this.location.hostname + 'clients/
   clickadvisor-02/snippets/footer-navbar.html')
   });

   });

   Where do I make a mistake?

   Thanks in advance to everyone.

   ps
   I am making use of jQuery because of some incompatibilities with
   other libraries.



[jQuery] Re: MooTools $events expando workaround

2007-10-05 Thread caruso_g

I am sorry to repost again about this conflict, but I am still having
the conflict beetween this two frameworks. I would like to say that I
LARGELY prefer jQuery, which makes me able (just a graphic with NO
coding skills...) to add utilities and effects to my site in a breeze
(thanks, really)! But I have to make sites where other devs use
Mootools, so I am still encountering the issue. I update the jQuery
package to the latest, since I red that it was solved, but the
conflict is still there. Thanks to everyone which will have the time
to help me. The following is the link where I get the issue:
http://www.bonsai-studio.net/clients/clickadvisor-02/plugins-pages/accordion/index.html

On 29 Set, 06:29, Ayan [EMAIL PROTECTED] wrote:
 Thanks for your reply.

 I realized that the component might be using 1.1.4 version.
 I have requested them to upgrade it.

 Meanwhile, how can I upgrade the jQuery by myself ?
 Here is the file 
 -http://gigahertz.byethost18.com/components/com_fireboard/template/def...



[jQuery] jQuery and Mootools again...

2007-10-05 Thread caruso_g

[Preface: I am tring to post this for the third time, since I didn't
see it in the thread. Please, pardon me if the reason is that the post
must be moderated. (please, don't smile if so... :P )] - I am sorry to
repost again about jQuery and Mootools conflict, but I am still having
the conflict beetween this two frameworks. I would like to say that I
LARGELY prefer jQuery, which makes me able (just a graphic with NO
coding skills...) to add utilities and effects to my site in a breeze
(thanks, really)! But I have to make sites where other devs use
Mootools, so I am still encountering the issue. I update the jQuery
package to the latest, since I red that it was solved, but the
conflict is still there. Thanks to everyone which will have the time
to help me. The following is the link where I get the issue:
http://www.bonsai-studio.net/clients/clickadvisor-02/plugins-pages/accordion/index.html