[jQuery] Re: jquery for slideshows

2008-12-22 Thread pmonte

I'd also like to add sound to a slideshow (the above mentioned cross
slide would be great), did you manage to do this? I would suggest took
soundmanager2 (http://www.schillmania.com/projects/soundmanager2/).
Please drop a line if you manage to add sound to cross slide

On 22 Nov, 17:41, Milan Andric mand...@gmail.com wrote:
 Thanks Sia,

 Do you have any recommendation on how to handle audio with
 javascript?  Let's say I also want to play an audio/mp3 file along
 with the slideshow ...

 --
 Milan

 On Nov 21, 8:50 pm, Sai Krishna psaikrishna@gmail.com wrote:



  I found this through stumble. Thanks to Jquery. It reduces flash 
  costhttp://www.gruppo4.com/~tobia/cross-slide.shtmlhttps://lan.solugenix.net/exchweb/bin/redir.asp?URL=http://www.gruppo...
  Sai Krishna

  On Sat, Nov 22, 2008 at 6:57 AM, Milan Andric mand...@gmail.com wrote:

   Hello,

   I am working on a project where one component is a slideshow
   application with audio. I'm wondering if I can use jquery/javascript
   for this.  If anyone has any links to examples or ideas of ways to
   deal with a series of images and audio file that synchronizes with the
   images in javascript, it would be greatly appreciated.  A first step
   would be a jquery library that supports a configurable slideshow with
   audio.

   Eventually I would like to build something similar to the slideshare
   sync tool, which allows you to synchronize audio with images.  This
   version is done in flash. I'm wondering if javascript could accomplish
   the same things.
  http://www.flickr.com/photos/johntynan/3032282040/
  http://www.slideshare.net/faqs/slidecast#1g

   Thanks for you help,

   Milan Andric
  http://m.andric.us/- Nascondi testo citato

 - Mostra testo citato -


[jQuery] If I simulate a click images are not updated

2008-11-06 Thread pmonte

I'm quite new to jquery but this thing looks quite odd.

In my default.aspx I have two div tags with background images. I
attached a onclick to them.

div id=btnsale onclick=Javascript:ClickSale();

div id=btnrent onclick=Javascript:ClickRent();

and in css:
#btnsale {
background-image:url(../images/btn_sale_o.png);
}

#btnrent {
background-image:url(../images/btn_rent.png);
}

then I have an input tag:

input type=button id=hbtnsr style=display:none runat=server
onserverclick=SRChanged/


The ClickSale/Rent functions simply swap images and then simulate a
click over an input tag to call a code behind method:
$(#btnrent).css(background-image, url(images/
btn_rent_o.png));
$(#btnsale).css(background-image, url(images/
btn_sale.png));
$(#hbtnsr).click();


Now if I remove the $(#hbtnsr).click(); images swap fine but if I
simulate the click the images don't update/swap!
It looks like the call to a code behind method prevents the update/
refresh of the images.


Any idea of the reason and how to fix this?

Thanks!

Pietro