Page 1 of 1
JS nugget only presents on main page
Posted: Sat Oct 13, 2007 5:36 pm
by rj
I have had FLASH slideshows presenting on the main page in a html nugget for many months. It does not load itself on any other pages. I used to like that as I was slow loading anyway. But recently I got my load times down enough that I would like it show on all pages rather than having those empty spots. I suppose it has something to do with the .swf file and where it goes so all pages will see it?
Not sure what to do or where to look to get it going on everything.
http://rackjite.com/
Re: JS nugget only presents on main page
Posted: Sun Oct 14, 2007 1:27 pm
by garvinhicking
Hi!
Your site is so full of flashs, videos and banners that I don't know which one you mean.
Please specifiy. Most surely you'll have a wrong SWF-Embed code that uses relative instead of aboluste filenames.
Regards,
Garvin
Posted: Sun Oct 14, 2007 4:40 pm
by rj
I think thats it! I have hard link in there rather than a relative link!
Thats the hint I needed.
But the issue are the two slideshows at the top of each sidebar. Main page no problem, all other pages the nugget shows but not the flash. But I think you hit on it! Will get back later!
Btw.

In my faq I say...
This site is a multimedia enhanced meld between website and Blog.
As a text blog it got 50 a day and didnt grow for 8 months. When I redesigned it full of multimedia in June it has grown to 1500 day and is growing well. People dont read anymore, they watch.
Thanx
RJ
Posted: Sun Oct 14, 2007 9:37 pm
by rj
I COPIED the .swf, .js and all the xml files to the template directory.
I removed the hard link in the flash code to just the relative link to the .xmls.
No change. Presents on main page and no other pages.
Posted: Mon Oct 15, 2007 11:11 am
by garvinhicking
Hi!
I still insist you use wrong linking.
Instead of:
Code: Select all
<object width="125" height="125" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" title="Flash" alt="Slide Show">
<param name="movie" value="slideshow.swf?file=slidelib3.xml" />
<param name="quality" value="high" /><embed width="125" height="125" src="slideshow.swf?file=slidelib3.xml" alt="Slide Show" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" /></object><br />
try this:
Code: Select all
<object width="125" height="125" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" title="Flash" alt="Slide Show">
<param name="movie" value="/slideshow.swf?file=slidelib3.xml" />
<param name="quality" value="high" /><embed width="125" height="125" src="/slideshow.swf?file=slidelib3.xml" alt="Slide Show" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" /></object><br />
Note the prefixing "/".
Regards,
Garvin
Posted: Mon Oct 15, 2007 2:57 pm
by rj
And I insist that you got it exactly right!
Except one thing I figured out my own self.

That slash also has to go after FILE
src="/slideshow.swf?file=slidelib3.xml"
src="/slideshow.swf?file=/slidelib3.xml"
Wow! Been trying to figure that out for months!
Its also my big problem in Dreamweaver, just NOT GETTING the relative link stuff. If I did I could set DM up to be and auto FTP too. But I dont trust myself.
Thanx
RJ