jCarousel -help with new skin


I'm creating a new theme for the jCarousel component that I'll be using for my web site and the dimension for this component will be: width:485px , height:161px including the two arrows and what i want is to have 3 items per cycle each having the a dimension of 140X100 (width X height) with 5px margin, and 3/4 of the skin is done but I'm having a hard time with css.

P.S: Please visit this page to see the component live http://www.amfexglobal.com/test/static_auto.html and if you are interested in the files download from here http://www.mediafire.com/?ejlmmxxzdid

Thanks so much in advance.


Perhaps explain the problem you're having?

The way I see it (from looking at your sample), you're all right except the first and last elements are either over- or under- margined, depending on where they fall.

You can fight this two ways:

  • Split up your margin, so that instead of margin: 0 5px 0 0 you're using 0px 3px 0px 2px. With an odd number, though, that's a tiny bit unbalanced.

  • Better, I think is to set padding on your containing element to padding-left: 5px. That gives you a 5px "head-start", and then the right margin on each of your elements takes care of the last.

Good luck!

If you don't want run an onerous asp file at all on the new site, you can do a custom 404 on the web server. If you point the 404 page to a .cfm file, you can extract all the various features from the request by including:

<!--- parse out the text in the URL parameters into an array --->
<cfset variables.requestparams = listtoarray(cgi.query_string,'/?&')>

<!--- get rid of the first 2 items in the array since they dont represent request info --->
<cfset foo = arraydeleteat(variables.requestparams,1)>
<cfset foo = arraydeleteat(variables.requestparams,1)>

You'll be left with an array representing the parameters that were passed in the original request. You can follow up on this by doing whatever analysis you need to on the url components to map it against the analogous pages in your CF site.

What I do on Linux machines when I run into something like this is to create a symbolic link (ln -s /path/to/source /path/to/target).

Not sure what the Windows equivalent would be, so going with @Patrick's answer is probably best.

EDIT - The NTFS way of making a symlink:
see also http://en.wikipedia.org/wiki/Symbolic_link

By : warren

This video can help you solving your question :)
By: admin