[jQuery] Re: Large clickable boxes

2007-09-05 Thread Franck Marcia

A classic one : embed your code like this:

$(function() {
// your code here
});

Otherwise, li.deal doesn't exist yet when your code runs.

Franck.

On 5 sep, 18:11, Frantisek Malina [EMAIL PROTECTED] wrote:
 Hi all,
 I need large clickable boxes which span the whole area of the .deal
 box. Href attribute should be extracted from links wrapped in
 heading2.

 I tried loads of experimants and ended up with the following
 disfunctional code.
 It should work, but it simply doesn't. Anyone could help me?

 html
 head
 titleClickable boxes/title
 script type=text/javascript src=jquery-1.1.3.1.pack.js/script
 script text=text/javascript
 /*Clickable boxes*/
 $('li.deal').click(function() {
 $('a', this).attr('href') = window.location;});

 /script
 /head
 body

 ul id=deals

 li class=deal
 h2a href=#1Lorem ipsum dolor sit/a/h2
 ul
 listrongLorem ipsum dolor sit amet consectetuer/strong/li
 li class=priceFrom 749 SKK/li
 /ul
 /li

 li class=deal
 h2a href=#2Porttitor condimentum Vivamus eros/a/h2ul
 divimg src=2.jpg alt= //div
 ul
 liPorttitor condimentum Vivamus eros tellus/li
 li class=priceFrom 800 SKK/li
 /ul
 /li

 /ul
 /body
 /html

 Thank you for your time



[jQuery] Re: Adding a delay between .each() function executions

2007-09-04 Thread Franck Marcia

On 4 sep, 16:02, Oliver Boermans [EMAIL PROTECTED] wrote:
 I'm getting a parse error:
 I don't understand the js well enough to figure out why...

It works fine for me (http://fmarcia.info/jquery/stack) with IE7, IE6,
FF2, Opera 9 and Safari 3/Win.

I don't know about Safari/Mac as nobody gives me a Mac yet.

Franck.



[jQuery] Re: 3D carousel?

2007-08-02 Thread Franck Marcia

On 2 août, 19:49, Ganeshji Marwaha [EMAIL PROTECTED] wrote:
  Are you going to make it a plugin available on the jQuery site?

 I thought it was an implementation of the interface 3d carousel on his site.
 correct me if i am wrong?


Yeah, it's just a variation in Stephan's work, with some tweaks to fit
the needs of my company.

Sorry, I'll have no time to package it soon but download it and use it
as it *is* a plugin!

Franck.

PS: it works for me with FF2, IE6, IE7 and Opera9, not sure about
Safari2.



[jQuery] Re: 3D carousel?

2007-08-01 Thread Franck Marcia

I up this thread just to announce the brand new carousel of www.alapage.com,
based on the work of Stefan Petre (http://interface.eyecon.ro).

Many thanks to Stefan, many thanks to John.

Franck.

On 9 juil, 14:49, Michael Price [EMAIL PROTECTED] wrote:
 Fred Janon wrote:
  Has anyone done or know how to do a carousel like the 3D circular
  carousel in Flash inAmazon? It looks pretty cool. Forgive me if the
  link doesn't work for you but the carousel shows the best-seller books
  in a 3D circular carousel.

 http://www.amazon.com/ref=topnav_gw_/105-7722567-3277224
  http://amazon.com/ref=topnav_gw_/105-7722567-3277224

 Hi Fred,
 There's one in the Interface effects library as 
 well:http://interface.eyecon.ro/demos

 You can see it demonstrated from the above link, near the bottom of the
 Technical Demos list.

 Regards,
 Michael Price



[jQuery] Re: Insert new div into existing div

2007-06-12 Thread Franck Marcia

This should work:
$('#form_containter').append('div id=row1');

then
$('#form_containter').append('div id=row2');

and so on...

Franck.

On 12 juin, 18:39, Brad Perkins [EMAIL PROTECTED] wrote:
 In looking at the DOM manipulation commands I'm not clear on the best
 way to insert a div into an existing div. More specifically I need to
 do something like this:

 Start with an empty div
 div id=form_container
 /div

 Insert a div...
 div id=form_container
   div id=row1.../div -- inserted
 /div

 And another ...
 div id=form_container
   div id=row1.../div
   div id=row2.../div -- inserted
 /div

 etc.

 I want every inserted div to be the last div within form_container.

 Thanks,

 Brad Perkins



[jQuery] Re: Insert new div into existing div

2007-06-12 Thread Franck Marcia

On 12 juin, 21:21, Brad Perkins [EMAIL PROTECTED] wrote:
 var c = $(#font-container);
 c.append('div class=subdiv');
 c.children(div:last-child).html(pLorem ipsum .../p); // get
 the last inserted div


You could use an id and increment it each time you insert a child and
then use this id directly.

Something like:

var currentId = 0;
...
function insertNewChild(parent) {
  currentId++;
  parent.append('div class=subdiv id=child' + currentId + '');
}
...
insertNewChild(c);
$('#child' + currentId).html(pLorem ipsum.../p);
...

It depends... anyway, your code is fine ;-)

Franck.



[jQuery] Re: ANN: jQuery-Powered Sites: The List Continues to Grow

2007-05-03 Thread Franck Marcia

Hi Rey,

You can add http://www.alapage.com as well.

You can drag your mouse on any product image or click on diaporama
on this kind of pages: http://www.alapage.com/-/Fiche/Imageson/902790...
to see jQuery, thickbox, mousewheel, dimensions... in action.

Cheers,

Franck.

On 3 mai, 22:31, Rey Bango [EMAIL PROTECTED] wrote:
 Added.



 Erik Beeson wrote:

  A couple more:

 http://www.mackie.com/products/tracktion3/splash.html
 http://yoursharade.com/

  --Erik

  On 5/3/07, Rey Bango [EMAIL PROTECTED] wrote:

  Just a quick reminder to everyone that the list of sites using jQuery
  continues to grow at an amazing rate. Check out the sites at:

 http://docs.jquery.com/Sites_Using_jQuery

  Rey...

 --
 BrightLight Development, LLC.
 954-775- (o)
 954-600-2726 (c)
 [EMAIL PROTECTED]://www.iambright.com