Try: <?=$ajax->link('link title', '/some_controller/category/11',
array( 'url'=>'category/11', 'update'=>'results',
'complete'=>'Effect.appear("results"))?>
On Sep 7, 11:12 am, zeroStar <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> We are developing a video site almost exclusively with ajax. There is
> an embedded windows media player (video is in asx only), and many ajax
> links around, so that the video can be playing while the user is
> searching etc.
>
> my problem is with this code:
>
> <?=$ajax->link('link title', 'javascript:void(0)',
> array( 'url'=>'category/11', 'update'=>'results',
> 'complete'=>'Effect.appear("results"))?>
>
> 1) if, as indicated above, my ajax href is set to javascript:void(0),
> this automatically causes the embedded media player to stop (in
> internet explorer), this is a media player / explorer bug.
>
> 2) If i change the javascript:void(0) url to just '#', it works fine
> in internet explorer, except for the fact that the page scrolls back
> to the top (as expected)
>
> What should I place in the 'href' attribute so that absolutely nothing
> ha<ppens to the page? do you cakers have a better idea? thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---