grantic
Posts: 4
Joined: Wed Jan 02, 2013 2:38 pm

Only Background shows in browser

Hi,
I used the Highslide Editor to create a zipped style sheet, copied and pasted the JS and CSS lines into the <head> and amended the <a> as instructed. The intention was to link some text to a small jpg image. On a test site it worked well but whenever I do the same to my main site the browser will not display anything but the background. No text, no images nothing but the background.

Having done a lot of testing and comparing I have realised the test site is HTML 4.01 while the main site is XHTML 1.0. Being a novice at this game I have searched the help and FAQs but cannot find any advice on how best to address the issue. Please can you help?

Regards

grantic

PS I have also sent this message directly to Torstein
User avatar
EarlyOut
Posts: 1705
Joined: Sun Nov 11, 2007 9:22 pm
Location: Sector R
Contact: Website

Re: Only Background shows in browser

The problem is almost certainly not with the DOCTYPE. We need to see your live page.

(Torstein generally doesn't provide this kind of help.)
grantic
Posts: 4
Joined: Wed Jan 02, 2013 2:38 pm

Re: Only Background shows in browser

Here it is...
http://www.jenniegrantmusic.com/g1.html

Within it you'll find a link to g1srex1.jpg which should open using Highslide.

Thanks
User avatar
EarlyOut
Posts: 1705
Joined: Sun Nov 11, 2007 9:22 pm
Location: Sector R
Contact: Website

Re: Only Background shows in browser

No matter what DOCTYPE you're using, <script> tags are not self-closing. Try replacing your first few lines with this:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Grade 1</title>
<link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" />
<script type="text/javascript" src="highslide/highslide-full.js"></script>
<script type="text/javascript" src="highslide/highslide.config.js"></script>
<link rel="stylesheet" type="text/css" href="highslide/highslide.css" />
You're also using a very old version of Highslide JS, which isn't going to work in all browsers (especially not IE9). Download version 4.1.13.
grantic
Posts: 4
Joined: Wed Jan 02, 2013 2:38 pm

Re: Only Background shows in browser

That is great thank you.
I am using Kompozer and for some reason it deletes the </script> tag if it appears on the same line as the opening tag. If I put it on a new line below it works.
Not sure what to do about your last comment. I used the Highslide Editor yesterday. How should I go about downloading version 4.1.13?
grantic
Posts: 4
Joined: Wed Jan 02, 2013 2:38 pm

Re: Only Background shows in browser

OK, I've downloaded 4.1.13. I am sure I can get the effect I want now.
Thanks for all your help.
grantic

Return to “Highslide Editor”