1

(30 replies, posted in SimpleViewer v1)

What happens if you load it in a page by itself and not in an iframe within a page?

DAVE

:)

2

(30 replies, posted in SimpleViewer v1)

OK Cool, so the first thing that I would try is in the following line....

<embed id="viewer" width="100%" height="100%" flashvars="preloaderColor=0xffffff&xmlDataPath=gallery.xml" wmode="transparent" quality="high" bgcolor="#1c2c45" name="viewer" src="viewer.swf" type="application/x-shockwave-flash"/>

you have bgcolor="#1c2c45"

I'd drop that whole bgcolor statement all together. and see how that goes.

I have IE 7.0 and Mozilla Firefox 2.0.0.11 and it display's nicely in Firefox, but as you say in Exploder is doesn't.

The other thing that I have started doing on websites that I develop is putting the spread firefox image down the bottom of all my pages and a little comment saying this site is best viewed with Firefox. i have found so many stupid little quirks in IE rendering that mostly I have just given up. I develop for Firefox, try and fix for IE.

Sites where I have the Galleries working transparently are:

http://www.airbrushworld.com.au and http://www.badattituderacing.com.au

Nice Fish website by the way looks good and smooth, loads quickly and seems easy to navigate.

Cheers,

DAVE

:)

PS. If this doesn't fix it let me know and we can have another crack at it. :)

3

(30 replies, posted in SimpleViewer v1)

What's your url?

DAVE

:)

4

(30 replies, posted in SimpleViewer v1)

Seamus,

   I was just wondering if you ever got things to work the way you wanted them to? I've just a had a quick peek at the website and it is looking good.

Dave

:)

5

(30 replies, posted in SimpleViewer v1)

I'm sorry mate off the top of my head I don't know.

IE and firefox render web pages differently.

Usually if you write a webpage to work in Firefox it will work in IE, but not always. Did you try my suggestion? What happened?

Cheers,

DAVE

:)

6

(30 replies, posted in SimpleViewer v1)

OK so I haven't looked at the source yet, but it works OK in Firefox. Just not in Internet Exploder. I have version 7.0 installed which version of Exploder are you using?

Cheers,

DAVE

:)

Alright, now I have looked at the source and the only real difference that I can see is in the script that calls flashviewer.

Where you have ...
[code]var fo = new FlashObject&#40;"viewer.swf", "viewer", "100%", "100%", "7", ""&#41;;       
fo.addParam&#40;"wmode", "transparent"&#41;;
[/code]

I have ...
[code]var fo = new SWFObject&#40;"../viewer.swf", "viewer", "790", "570", "7", "#000000"&#41;;
fo.addParam&#40;"wmode", "transparent"&#41;
[/code]

OK so the only thing that I can see that is really different is that in the first line you have blah blah blah,"7",""); and I have blah blah blah,"7","#000000");

I would try putting in the #000000 and see what happens. Either that or just tell everyone that is going to look at your site to use Firefox. :D just kidding.

DAVE

:)
[/code]

7

(30 replies, posted in SimpleViewer v1)

I would also suggest specifying directories for your images and thumbnails otherwise they wont display, a thumb needs to have the same filename as the full sized image otherwise it barfs at you.
So from your code snipet it looks like you just have everything in the current directory which ( well as far as I know ) wont work.

:)

Nice site.
Why didn't you keep the galleries within the rest of the site? I mean opening them up in the right hand side of the page to me seems cleaner.
The main reason that I used php was so that I could do file includesto make consistent changes across the whole site. standard headers and footers etc.
I wsa very scared about using php at first cause I thought that it would be very very complicated and a completely new language to learn, but that is really only required when you start to do tricky active / dynamic content, like pulling info form databases etc.

If I was you I'd get firefox and the firefox addon called firebug and have a look at my sites. you will see that it is very easy to use. (umm actually cannot see the php calls from here, but if you like I can send you some of the code so that you can see how easy it is). There are also heaps of good reference sites on the www to help you work things out.

Cheers,

Dave

:)

9

(30 replies, posted in SimpleViewer v1)

I also noticed that although you are after a transparent background although you have specified a jpg in your XML file as the background. This seems to me to be slightly contradictory.

My code in php file:

<script type="text/javascript"> 
var fo = new SWFObject&#40;"../viewer.swf", "viewer", "790", "570", "7", "#000000"&#41;; 
fo.addParam&#40;"wmode", "transparent"&#41;
fo.write&#40;"flashcontent"&#41;; 
</script> 

My Code in xml File:

<?xml version="1.0" encoding="UTF-8"?>
<simpleviewerGallery maxImageWidth="480" maxImageHeight="480" textColor="0xFFFFFF" frameColor="0xFFFFFF" frameWidth="1" stagePadding="5" thumbnailColumns="3" thumbnailRows="6" navPosition="left" title="" enableRightClickOpen="false" backgroundImagePath="" imagePath="images/" thumbPath="thumbs/">
<image>
    <filename>brocky-02.jpg</filename>
    <caption></caption>    
</image>

hope that this helps some more, if not post your url so we can have  closer look.

:)

I have done something similar to what you want to do. I did mine in php.

OK so we have a structure kinda like this:

html(d)
-galleries(d)
--galleryone (d)
---index.php (f)
---gallery.xml(f)
---images     (d)
---thumbs     (d)
--gallerytwo (d)
---index.php (f)
---gallery.xml(f)
---images     (d)
---thumbs     (d)
--gallery...n (d)
---index.php (f)
---gallery.xml(f)
---images     (d)
---thumbs     (d)
--swfobject.js(f)
--viewer-code.php(f)
--viewer.swf(f)
--index.php(f)

OK so the explanation goes a bit like this... The root dir html has a directory in it called galleries (amongst others not listed)
In the galleries directory there are several subdirectories for each simpleviewer gallery that I want, there are also some files, but I will get to those in a minute. Each Simpleviewer Gallery directory has an images and a thumbs subdirectory and it also has an index.php and a gallery.xml.
The files in the galleries directory are an index.php, which contains a list of all the galleries, the swobject.js being the simpleviewer javascript file, the view.swf being the flash object that you don't want to have 300 copies of on your website, and finally the viewer-code.php.

Because I'm using php you can do nice simple file includes and if you are paying attention you can do the file includes from anywhere in your web structure.

I am essentially a fairly lazy person and avoid work where I can. :) I wanted to ba able to edit things in one place as much as I possibly can so I use file includes all over my websites for things like footers and headers and stuff, but I digress. In each simple viewer gallery index.php I call the viewer-code.php which references the js and the flash objects. Works very nicely. I have done the same thing on two websites already and there will be many more I am sure.

check it out at http://www.airbrushworld.com.au and http://www.badattituderacing.com.au/galleries.php.

If I haven't made sense then let me know.

Cheers,

DAVE

:)

11

(30 replies, posted in SimpleViewer v1)

Worked fine for me.

I have simpleviewer galleries that can be seen here:

http://www.airbrushworld.com.au/  and
http://www.badattituderacing.com.au/galleries.php

just head to the galleries.

Have a look at the code.

I loooooove simpleviewer.

DAVE

:)

What's your www so I cna have a squizzie?

Cheers,

DAVE

:)

13

(30 replies, posted in SimpleViewer v1)

Hah, nevermind, here is the source code form your website that I think does the trick.

:)
:)

<script type="text/javascript">          
var fo = new SWFObject&#40;"viewer.swf", "viewer", 
"100%", "100%", "8", "#ffffff"&#41;;        
fo.addParam&#40;"wmode", "transparent"&#41;
fo.write&#40;"flashcontent"&#41;;          
</script>

hunttim1,

I think that you might want the "stagePadding" Xml option. check it in the options from the link posted by Felix.

Cheers,

Dave

:)

15

(30 replies, posted in SimpleViewer v1)

How How How did you do it?

This is something that I am probably going to have to do.

Cheers,

Dave.

How did you do it?

Seems like a nice idea that I wouldn't mind using.

Cheers,

Dave.

:)

17

(4 replies, posted in SimpleViewer v1)

OK and for the Programmatically and Flash scripting challenged people out there, like myself, any hints or tips as to how to do this?

This is something that I would love to be able to do.

I have purchased SV-PRO and love it, but as yet I am not the flash genius that I would like to be, so as I said before any hints or tips would be greatly appreciated.

Kind regards,

Dave

:)