Remember...
Never be discouraged…
because every wrong attempt discarded is another step forward.
Alva Edison, 1847 - 1931
For the last couple of days I've been doing some overdue maintenance on this site, in particular, getting the random images to open in a new page, and getting the tabs to display correctly in IE and Firefox.
I had my random photos embedded in iframes and it seems there was no easy way to get these to open in a new page. I must have read a hundred other requests for help from people with the same problem. To overcome the problem I upgraded from Gallery 1.5 to Gallery 2.2. Embedding the new random photos was so easy, just a matter of copying and pasting a snippet of PHP code into the sidebar. The latest version of Gallery is very different to my original install, and integration is no simple matter, so I have both versions on the server at the moment until I decide what to do about my templates.
I have the tabbed browsing working properly now, and it looks the same in different browsing environments. The only problem I have now is when I move to the Gallery tab, and the whole tab bar drops down about 20 pixels. I tried using hacks, but it didn't seem to solve the problem, and after working on it all night I had to walk away. Any clues as to what I'm doing wrong with the CSS is most welcome.


Leave a comment