JS nugget only presents on main page

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

JS nugget only presents on main page

Post 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/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: JS nugget only presents on main page

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

Post 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
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
rj
Regular
Posts: 477
Joined: Sun Sep 10, 2006 2:53 pm

Post 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
Post Reply