The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Trouble with coding, Can't get the code for images to work right
brysky
post Apr 21 2012, 10:29 AM
Post #1





Group: Members
Posts: 5
Joined: 17-April 12
Member No.: 16,932



Hello all,
I am using a template for a site I am designing, and one of the pages is a sort of portfolio page that has a short description on the left and then images on the right with a "back and forward" button so you can have multiple images for one portfolio.

My problem is I can't seem to figure out how to duplicate this process to add more portfolios. I can get it all to look right with separators, and I have the descriptions, but the images on the right aren't hidden with a scroll through option anymore, they are all just listed in bullet form.

It is using three .css files and 2 java files, the code at the top is
CODE
<link href="css/common.css" type="text/css" rel="stylesheet" />
<link href="css/portfolio.css" type="text/css" rel="stylesheet" />
<link href="css/jcarousel.css" type="text/css" rel="stylesheet" />

<script type="text/javascript" src="javascript/jquery_1.3.2.js"></script>
<script type="text/javascript" src="javascript/jcarousel.js"></script>
<script type="text/javascript">
jQuery(document).ready(function() {
    jQuery('#jcarouselMetro').jcarousel({
        scroll: 1,
        wrap: 'both'
    });
    
    
    jQuery('#jcarouselInvites').jcarousel({
        scroll: 1,
        wrap: 'both'
    });
});
</script>


Is it a problem with the script, or is there something I need to add in java or one of the .css?

All in all, I just want to be able to add as many portfolios as I want with the ability to scroll through the images like the others.

Thank you in advance for helping this n00b out.

-Brysky

Attached are the html, .css, and java.


Attached File(s)
Attached File  portfolio.html ( 5.58k ) Number of downloads: 243
Attached File  portfolio.css ( 3.65k ) Number of downloads: 25
Attached File  jcarousel.css ( 964bytes ) Number of downloads: 28
Attached File  common.css ( 4.27k ) Number of downloads: 30
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Apr 21 2012, 12:01 PM
Post #2


.
********

Group: WDG Moderators
Posts: 4,752
Joined: 10-August 06
Member No.: 7



Does this page help? http://sorgalla.com/projects/jcarousel/exa...c_multiple.html
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 21st May 2013 - 04:53 AM