Want to thank and support me for my work?
Buy my iWebFAQ.org E-Book (15$) (reviews) (sample) or...
iWebFAQ.org is presented by Cédric and hosted by HostExcellence
It is currently Sun May 19, 2013 3:10 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Minor html snippet glitch
Author Message
 Post subject: Minor html snippet glitch
PostPosted: Sat Jun 04, 2011 4:10 am 
Offline

Joined: Sat Jun 04, 2011 4:03 am
Posts: 7
First time poster......

Been using the auto fadeslideshow snippet

Built my website (iweb09), have NOT populated it with content quite yet,

Have tested fadeslideshow snippet at mobileme - perfect

have tested fadeslideshow snippet to a local folder perfect

AM now trying to upload to my ftp server... no problem uploading website - all works great....except

fadeslideshow not working.
I am fairly confident it's that the "pathname" is not quite right, but when i open the snippet in text wrangler, I can click on and url line and it will open correctly.

Help Cedric?

I LOVE your book BTW - best pittance I've ever spent!

Michael Schoenfeld
website - www.michaelschoenfeld.com

currently tested filepath (I've tried 20-30 different efforts)
"http://michaelschoenfeld.com/fadeslideshow/fadeslideshow.js"

Image code in snippet for filepath:
"http://michaelschoenfeld.com/Landing_Slideshow/Landing_Slideshow001.jpg"


Top
 Profile Send private message  
 
Minor html snippet glitch
Author Message
 Post subject: Re: Minor html snippet glitch - BTW
PostPosted: Sat Jun 04, 2011 4:12 am 
Offline

Joined: Sat Jun 04, 2011 4:03 am
Posts: 7
Here's my mobile me test site

(This is what the front page "should" be doing!

;>)

Michael Schoenfeld


Top
 Profile Send private message  
 
Minor html snippet glitch
Author Message
 Post subject: One of those days......
PostPosted: Sat Jun 04, 2011 4:16 am 
Offline

Joined: Sat Jun 04, 2011 4:03 am
Posts: 7
Uh, here's the link to the working version of the slide show.......

http://web.me.com/michaelschoenfeld/Sch ... -3305.html

sheesh.....


Michael


Top
 Profile Send private message  
 
Minor html snippet glitch
Author Message
 Post subject: Re: Minor html snippet glitch
PostPosted: Sat Jun 04, 2011 4:35 am 
Offline

Joined: Sat Jun 04, 2011 4:03 am
Posts: 7
I changed a couple of things in yet another useless attempt to succeed.

Current filepath for images:

"http://michaelschoenfeld.com/Michael_Schoenfeld/Landing_Slideshow/Landing_Slideshow001.jpg"

currently tested filepath for "fadeslideshow" folder (I've tried 20-30 different efforts)

"http://michaelschoenfeld.com/Michael_Schoenfeld/fadeslideshow/fadeslideshow.js"


Top
 Profile Send private message  
 
Minor html snippet glitch
Author Message
 Post subject: Re: Minor html snippet glitch
PostPosted: Sun Jun 05, 2011 4:37 pm 
Offline
Site Admin

Joined: Tue Jun 10, 2008 1:14 am
Posts: 1840
Location: Basel, Switzerland
Hi,

the problem is that you deleted part of the code.

Your code reads
Code:
["http://michaelschoenfeld.com/Michael_Schoenfeld/Landing_Slideshow/Landing_Slideshow012.jpg", "", "_top", ""],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false, randomize:true},
persist: false,

whereas it should read
Code:
["http://michaelschoenfeld.com/Michael_Schoenfeld/Landing_Slideshow/Landing_Slideshow012.jpg", "", "_top", ""]
],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false, randomize:true},
persist: false,

hence no comma after the last image but add ], afterwards instead.

Once you correct this it works.

Regards,
Cédric

_________________
Thank you for visiting my websites:
http://iwebfaq.org - http://rapidweaverfaq.org - http://wpfaq.org - http://ebookstoretoday.com
All my websites are hosted by: HostGator


Top
 Profile Send private message  
 
Minor html snippet glitch
Author Message
 Post subject: Re: Minor html snippet glitch - you are a supremely kind per
PostPosted: Sun Jun 05, 2011 8:03 pm 
Offline

Joined: Sat Jun 04, 2011 4:03 am
Posts: 7
Cedric,

Michael Schoenfeld here,

I cannot thank you enough for your kindness and generosity regarding iWeb.

"Nailed it", to quote Jack Black in "School of Rock"

Plays great now - my takeaway?

USe caution when copying and pasting into code!!!

One other quick question;
The auto-fading slideshow "loads" initially with a "black" screen - can I change that to white? (for obvious design reasons).

Thank you again for all you do for this community - your book is a bargain!!

Michael Schoenfeld


Top
 Profile Send private message  
 
Minor html snippet glitch
Author Message
 Post subject: Re: Minor html snippet glitch
PostPosted: Sun Jun 05, 2011 10:04 pm 
Offline
Site Admin

Joined: Tue Jun 10, 2008 1:14 am
Posts: 1840
Location: Basel, Switzerland
Sure you can change that!
Open the fadeslideshow.js file in TextWrangler and search for
Code:
setting.$gallerylayers=$('<div class="gallerylayer"></div><div class="gallerylayer"></div>') //two stacked DIVs to display the actual slide
   .css({position:'absolute', left:0, top:0, width:'100%', height:'100%', background:'black'})

Replace black with whatever color you'd like to appear while the slideshow loads.

Regards,
Cédric

_________________
Thank you for visiting my websites:
http://iwebfaq.org - http://rapidweaverfaq.org - http://wpfaq.org - http://ebookstoretoday.com
All my websites are hosted by: HostGator


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron






Want to support me for my work?

or buy my iWebFAQ.org E-Book (15$)

(reviews) (sample)

Thanks,
Cédric



 

This website is hosted by HostExcellence



© 2008, 2009 Powered by phpBB Group
Macinscott 3 style by Scott Stubblefield