Go Back   CodingForums.com > :: Client side development > JavaScript programming > Post a JavaScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rating: Thread Rating: 17 votes, 4.00 average.
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-08-2005, 10:18 PM   PM User | #31
chareen
New to the CF scene

 
Join Date: Jun 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
chareen is an unknown quantity at this point
oh btw....here is the site i'm trying to put the slideshow in....
http://www.peoplefromguam.com/user.asp?id=22859
chareen is offline   Reply With Quote
Old 06-09-2005, 09:05 AM   PM User | #32
Harry Armadillo
Regular Coder

 
Join Date: Feb 2005
Posts: 400
Thanks: 0
Thanked 0 Times in 0 Posts
Harry Armadillo is on a distinguished road
The stuff in your first post worked fine for me. Changing from vertical to horizontal is simply a matter of changing

direction:'top',

to

direction:'left',

The problem is probably with your page. I was going to looking at your code, but when your page started popping up those annoying alert boxes, I killed the window. I also tried running it through W3's validator - here - but that failed.

I suggest posting in the html forum, get some help getting the page working working/valid, then try the carousel again.
Harry Armadillo is offline   Reply With Quote
Old 06-09-2005, 10:02 PM   PM User | #33
chareen
New to the CF scene

 
Join Date: Jun 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
chareen is an unknown quantity at this point
im sorry...

okay ive removed the alet boxes.... pls take a look at it...
chareen is offline   Reply With Quote
Old 06-10-2005, 02:13 AM   PM User | #34
chareen
New to the CF scene

 
Join Date: Jun 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
chareen is an unknown quantity at this point
okay i fixed my page and tried to put the code again.. it just shows the word vertical on it.....
chareen is offline   Reply With Quote
Old 06-10-2005, 10:11 AM   PM User | #35
Harry Armadillo
Regular Coder

 
Join Date: Feb 2005
Posts: 400
Thanks: 0
Thanked 0 Times in 0 Posts
Harry Armadillo is on a distinguished road
I looked at it, the error I see immediately is
Code:
images:[<a href="http://i5.photobucket.com/albums/y160/cpobleteporte/1st%20album/100_0180.jpg" target="_blank"></a>,
you need to use just the image urls. Like
Code:
images:['http://i5.photobucket.com/albums/y160/cpobleteporte/1st%20album/100_0180.jpg',
Seriously though, you need to fix the rest of your HTML. I got the validator to look at it here. Of the 247 errors it found, a good 100 or so are serious. I designed my slideshow to tolerate a lot, but you've got way too many problems on that page. Fix the HTML, then we can get the carousel working. If the validator's output isn't enough to help you, start a thread in the HTML/CSS forum.
Harry Armadillo is offline   Reply With Quote
Old 06-25-2005, 11:23 PM   PM User | #36
samohtwerdna
New Coder

 
Join Date: Jun 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
samohtwerdna is an unknown quantity at this point
IE blank image??

Harry, or whomever can help.

I saw your image carousel on DD and thought I would give it a stab as my thumbnail slideshow. Works great in firefox - but everyones favorite IE decides to insert a blank image at the end of the carousel (very annoying)

How do I get rid of it??

Also wondered if you could give me some help sizing the images linked to the iframe. I want them all to come out 100% x 100% of the iframe. Any suggestions??

Thanks

Andy
samohtwerdna is offline   Reply With Quote
Old 06-26-2005, 12:10 AM   PM User | #37
Harry Armadillo
Regular Coder

 
Join Date: Feb 2005
Posts: 400
Thanks: 0
Thanked 0 Times in 0 Posts
Harry Armadillo is on a distinguished road
The blank image in IE is most likely from a typo in setting up the images. If you have a link to your page, I'll peek at the source and see if there's a problem.

Getting linked images to expand to the size of your iframe is simple (if tedious). Give each full-sized image its own basic page, setting the width and height in the <img src="fullsize.jpg"....> tag to match your iframe. Then link to those pages, instead of directly linking to the images.
Harry Armadillo is offline   Reply With Quote
Old 06-26-2005, 03:24 PM   PM User | #38
Nils
New to the CF scene

 
Join Date: Jun 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Nils is an unknown quantity at this point
Thumbs up

@Harry: BIG RESPECT

I really love that javascript. Wonderful programming. I just added it to my page:

http://www.4fr.de/vids/index.html

What do I have to change if I want it without the "Carousel" effect? Meaning that it just moves the images (not changing the imagesize) inside the given space?

Thanks for your inovations Harry. I love them!
Nils is offline   Reply With Quote
Old 06-27-2005, 03:02 AM   PM User | #39
Harry Armadillo
Regular Coder

 
Join Date: Feb 2005
Posts: 400
Thanks: 0
Thanked 0 Times in 0 Posts
Harry Armadillo is on a distinguished road
Thanks for the compliments, Nils.

The script is pretty specialized around the carousel-effect; it would require significant rewriting to convert it into a conveyer-belt slideshow. I've thought about making other versions (conveyer-belt, book-flip, fade-in, etc), but I'm currently buried in a PHP/MySQL project. Perhaps in a couple weeks...

In the meantime, this is good conveyer belt script. Heck, I've even used it!
Harry Armadillo is offline   Reply With Quote
Old 06-27-2005, 03:05 AM   PM User | #40
Nils
New to the CF scene

 
Join Date: Jun 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Nils is an unknown quantity at this point
thanks pal. I already included that one. Wonderful work!

All I need now is a perloader for my WMV files. Any suggestions ?

http://www.4fr.de/vids/videos.html

Would be a really big help.

I tried to convert them to SWF but the file sizes gets really big and the quality worse....so I need some kind of preloader infront of the WMV inside the iframe

Thanks in Advance

Nils
Nils is offline   Reply With Quote
Old 06-27-2005, 04:01 AM   PM User | #41
Harry Armadillo
Regular Coder

 
Join Date: Feb 2005
Posts: 400
Thanks: 0
Thanked 0 Times in 0 Posts
Harry Armadillo is on a distinguished road
I haven't a clue about embedding flash or videos. I suggest starting a thread in the Multimedia forum.
Harry Armadillo is offline   Reply With Quote
Old 06-28-2005, 09:15 PM   PM User | #42
samohtwerdna
New Coder

 
Join Date: Jun 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
samohtwerdna is an unknown quantity at this point
thanks for the help!!

Harry,

Thanks for the help. I was to quick to blame IE for weirdness when I mistakenly included a "," after the last image. So I fixed the script. Thank again.

If you still want to see my application I'm in the middle building the photo gallery here: http://www.kitchenstrand.us/gallery/...ries/index.php

Andy
samohtwerdna is offline   Reply With Quote
Old 07-15-2005, 02:52 PM   PM User | #43
samohtwerdna
New Coder

 
Join Date: Jun 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
samohtwerdna is an unknown quantity at this point
Harry Btn Help!?

Hello again,

I love the script and every thing is working fine on my photo gallery. However, the people I'm developing the site for want to have "previous" and "next" buttons under the iframe.

Idealy it would be nice if the buttons would actulay load the previous image loaded by the image carousel rather than just scrolling through the list of image links, but I can't figure out how to find what file is loaded into my iframe in the first place?

Can you help??
samohtwerdna is offline   Reply With Quote
Old 08-11-2005, 06:09 PM   PM User | #44
canadianjameson
Senior Coder

 
Join Date: Jul 2003
Location: My pimped-out igloo in Canadia
Posts: 1,966
Thanks: 36
Thanked 0 Times in 0 Posts
canadianjameson is an unknown quantity at this point
Harry, you're a MONSTER.

good job. I'm in Cambridge right now so the php script has taken a back seat. I'll be back beginning of sept.

I may use this script for my mothers art webpage which i am currently creating.

Cheers and thanks again, i'll have a pint for ya
__________________
Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes :)
canadianjameson is offline   Reply With Quote
Old 08-14-2005, 03:44 PM   PM User | #45
volcamp
New to the CF scene

 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
volcamp is an unknown quantity at this point
Need help with this

This is an awesome carousel. I have been trying to edit the code to use just the horizontal carousel. Every time I try to edit out the others, I screw it up. Is there any possible way you help me with the code for the horizontal only. I need to be able to have up to 14 sides. I am very new at this and would appreciate any help you could provide. Thanks for your time and consideration.
volcamp is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:21 PM.


Advertisement
Log in to turn off these ads.