If you're new to the CafePress Community Forums, be sure to read our Forum Guidelines before you post anything.

    Community Forums: Home    CafePress Community Forums  Hop To Forum Categories  General Help & Sharing  Hop To Forums  Shop Customization & HTML    Creating a "popular items" image rotation
Page 1 2 3 4 5 6 
Go
New
Find
Notify
Tools
Reply
  
  Login/Join 
Posted Hide Post
I don't see the script? Where is it?


Fifilaroach
Ebay Store: http://stores.ebay.com/Sugarbe...STQQtZkm?refid=store
Cafepress Store: http://www.cafepress.com/sugarbelleshop
Email me at sugarbelle_designs@comcast.net
 
Reply With QuoteEdit or Delete MessageReport This Post
Picture of Teesed
Posted Hide Post
The original post has a link to the script text itself. The link to Daniel's site is still there, but the script isn't on his site.

Just download the script text and put it in it's own html file and play with it to see how it works.
 
Reply With QuoteEdit or Delete MessageReport This Post
Picture of bablondie32
Posted Hide Post
I don't see any script either...


quote:
Originally posted by Teesed.com:
The original post has a link to the script text itself. The link to Daniel's site is still there, but the script isn't on his site.

Just download the script text and put it in it's own html file and play with it to see how it works.
 
Reply With QuoteEdit or Delete MessageReport This Post
Picture of photographr
Posted Hide Post
quote:
Originally posted by Teesed:
The original post has a link to the script text itself. The link to Daniel's site is still there, but the script isn't on his site.

Just download the script text and put it in it's own html file and play with it to see how it works.


The link to the text file is broken.
 
Reply With QuoteEdit or Delete MessageReport This Post
Picture of Teesed
Posted Hide Post
Hey, thanks Jim. I just moved that previous domain to use CPShop on GoDaddy.

I've moved the text file to Cafewish and updated the link in the original post. Good catch!
 
Reply With QuoteEdit or Delete MessageReport This Post
Picture of Andrinasart
Posted Hide Post
Hey guys sorry to bother but mine is not working. I'm pretty sure I have some code wrong but after 2 hours I'm done. I can't figure it out by my self. It is only showing the image I added for the top of the slide show and the (click to view) Text.

Can someone please help me out?

Thank you very much.



 
Reply With QuoteEdit or Delete MessageReport This Post
Picture of Jill
Posted Hide Post
I know I am posting this AGES after you posted this, but I just put this in my shop and I LOVE it! Big Grin Thank you!


___________________________________
Bronze Pig Designs | Heathen Sent | Kentauroi
devART Gallery | LiveJournal | Facebook
 
Reply With QuoteEdit or Delete MessageReport This Post
Picture of Superbug
Posted Hide Post
I know no one's been here for a bit, but I have a rotating product thingy and was wondering if anyone knows how to add alt tags to the images? Also, is there a way to have a sentence of text underneath that describes each image? Thanks if anyone can help.
 
Reply With QuoteEdit or Delete MessageReport This Post


Picture of ~goatlady~
Posted Hide Post
I dont kow if this will work in your particular program for rotating images BUt this is how you tag the images normally:
you write out the
 **** src="http://image name.com" alt="your alt tag">
 
Reply With QuoteEdit or Delete MessageReport This Post
Picture of Superbug
Posted Hide Post
Unfortunately, its not that simple in this case but thanks for the suggestion. The script has variables for the images and the links so presumably its possible to add in the alt tags too but I have little understanding of javascript stuff so was hoping someone else was more of an expert! Sure I can work it out though if I put my mind to it. Will post my solution if I come up with anything!
 
Reply With QuoteEdit or Delete MessageReport This Post
Picture of Teesed
Posted Hide Post
Superbug, I'll give you a hint.

In the script in the original post, look for the list of variables. They look like this...

var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]="http://storetn.cafepress.com/nocache/4/26071324_F_store.jpg"
fadeimages[1]="http://storetn.cafepress.com/nocache/9/15187979_F_store.jpg"
fadeimages[2]="http://storetn.cafepress.com/nocache/5/24930535_F_store.jpg"
fadeimages[3]="http://storetn.cafepress.com/nocache/6/26338206_F_store.jpg"
fadeimages[4]="http://storetn.cafepress.com/nocache/4/26109694_F_store.jpg"  


Create a new one for the alt tags. Something like this..

var fadealttext=new Array()
//Set alternate text for images
fadealttext[0]="My first image"
fadealttext[1]="Buy me now"
fadealttext[2]="What a hot shirt!"
fadealttext[3]="Are we there yet?"
fadealttext[4]="Nothing to see here"  



Then look for every place there is a
img border=0


and make it look like this:
img "'+fadealttext[nextimageindex]+'" border=0


Give that a go. If that doesn't work, let me know and I'll see if I can make it work on the original script and test it out.
 
Reply With QuoteEdit or Delete MessageReport This Post
Picture of Superbug
Posted Hide Post
Ha! I just came back to say taht I'd got it to work and saw that I could have avoided half an hour of playing with the script if I'd read your post first. Oh well, at least I almost understand it now! The alt tags work really well like that although I'd still like to put a few sentences of text underneath each pic and I only seem to get it to work if I put it above. Guess I'm sticking the textimages[0]+ etc bits in the wrong places.
 
Reply With QuoteEdit or Delete MessageReport This Post
Picture of Superbug
Posted Hide Post
Phew, got it now. I'd post the script if I knew how. Let me know if anyone wants it.
 
Reply With QuoteEdit or Delete MessageReport This Post
Picture of T&K @ ITD
Posted Hide Post
Thanks Teesed for all the help.
I installed the rotating image script. It worked well for a week then all of a sudden it stopped working. I reinstalled the code but nothing. I tried other computers nothing. What's wrong?


Live, Laugh & Learn

www.cafepress.com/itdstore -- original artwork and designs featured on t-shirts, mugs, greeting cards and more!
 
Reply With QuoteEdit or Delete MessageReport This Post
Picture of BoltZ22
Posted Hide Post
what would I add into the coding (and where) if I want to add a thin black border around the slideshow images?


BoltZ DesignZ - Automotive Apparel For The Automotive Enthusiast - AFFILIATE ME
A wise man (blipfish) once said: "Just go with it. Sanity is entirely over rated. Smiler"
 
Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community Page 1 2 3 4 5 6  
 

    Community Forums: Home    CafePress Community Forums  Hop To Forum Categories  General Help & Sharing  Hop To Forums  Shop Customization & HTML    Creating a "popular items" image rotation