View Full Version : Template does'nt work in Firefox
BertJan
12-20-2007, 07:26 AM
Hello,
I've change the template delicious a bit. First it al worked, but when I view my little gallery with firefox it did'nt work.
In the file you see the image_template code...
Can some-one help me with this?
You can see my gallery here: http://mysteries.sohosted.nl/photo/index.php
And the .html is here... http://mysteries.sohosted.nl/image_template.txt
The things that are nog working, are the hyperlinks on the top of the page.
dhdesign
12-20-2007, 12:06 PM
When I manually enter the link to the browse page in Firefox, it is coming up with an extra '/' after photo. What is the url of the gallery in your admin panel (Options>>General)? It looks like there is an extra slash being added somewhere.
I just checked it in Opera, and the links at the top work, but the stylesheets are not being applied to any of the pages.
In IE6, the menu disappears completely. I had to go to the browse page manually, and found one link sticking out the right side of the div that contains the thumbnails.
Have you tried switching to one of the default templates (simple or horizon) and testing to be sure that PP is functioning correctly with those (i.e., links working)?
BertJan
12-20-2007, 12:27 PM
The templates does'nt show any stylesheet when I opened my gallery..
But now the stylesheet is back.. very strange..
Can I do somewhere a script check or a style check or something like that?
dakwegmo
12-20-2007, 01:57 PM
The stylesheet on your main page is working fine in Firefox, and it looks good. However, none of your links in your navigation are working.
You can validate your CSS using: http://jigsaw.w3.org/css-validator/
and x/HTML using: http://validator.w3.org/
I don't know of any way to validate your scripts, but you can use the Firebug addon for Firefox to debug them.
BertJan
12-20-2007, 02:25 PM
That's the problem, the hyperlinks on the top are not working.
The rest is good for now... :(
I've tested my files but don't understand any of the faults... :(
Thanks for helping me out!
dakwegmo
12-20-2007, 02:43 PM
I just ran the validator for your HTML. The first two errors are specific to your JavaScript for the next and previous overlays. Not a big deal, unless you want to put the valid xhtml logo on your page. The next one might tell you the cause of your problems though.
there is no attribute "oncontextmenu".
<body oncontextmenu="return false;"></body>
Your closing body tag is right after your open body tag. Also, oncontextmenu isn't standard javascript and is generally going to annoy more people than it prevents from stealing your images or code.
The rest of the errors are because you've already closed your <body> tag.
BertJan
12-21-2007, 06:47 AM
I've fixed the error you said, but it did'nt work!
Thanks for helping me out!
Could it be in the links?
<div id="nav_sub">
<a onclick="Effect.toggle('info','appear'); return false;" title="View Image Title, Description and Comments" href="#">Info</a> :: <a title="the latest photo" href="index.php">Nieuw</a> :: <a href="<SITE_BROWSELINK>" title="stuff you've probably already seen">Archief</a> :: <a href="index.php?x=artikelen" title="artikelen">Artikelen</a> :: <a href="index.php?x=about" title="stuff about me">Over mij</a>
</div>
BertJan
12-21-2007, 07:30 AM
It all worked for now...
There was a logo, an image file who was transparent over my link so there where not clickable...
Now I can begin with my gallery.
The template is not complete yet, but this is a start.
Thanks to everyone who helped me with my problem!
(Sorry for my bad english, i'm dutch!)
Dennis
12-21-2007, 08:52 AM
(Sorry for my bad english, i'm dutch!)
Being Dutch is no excuse ;) En ik kan het weten. :P
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.