Jump to content

How abt this????


thara

Recommended Posts

Nope.  Using Firebug, I see you have a couple JavaScript errors:

 

SyntaxError: unterminated string literal

http://www.lankainstitute.com/

Line 49

 

The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must to be declared in the document or in the transfer protocol.

http://www.lankainstitute.com/

Line 0

Link to comment
Share on other sites

As per the W3 Validator:

Errors found while checking this document as XHTML 1.0 Strict!

Result: 28 Errors, 6 warning(s)

I recommend fixing those first, then you might find that things will work a lot better.

 

PS: Why are you using   to simulate margins, when you're using CSS for everything else? Change that to CSS as well, and drop all of the entities from the code.

Link to comment
Share on other sites

Huh... figured out that my not being able to see it stems from the slideshow triggering my ad blocker.  Not sure why, as I don't normally have problems with JavaScript or slideshows in general.  Maybe it has to do where the images are hosted, or something about the slideshow script itself (a script from 2006 is ancient by modern standards.  look into jQuery and an extension for it like jQuery Cycle, or one of the others).  That said, the JavaScript and HTML errors remain.

Link to comment
Share on other sites

A javascript string can not span more than one line, unless you place a "\" at the very end of the line (no trailing spaces).

 

example:

document.write('<div class="advert slideshow" style="overflow: hidden; height: 0px;">\
<ul id="slideshow_1004">\
	<li><img src="images/slidshow/slide_image01.jpg" width="980" height="300" alt="" /></li>\
	<li><img src="images/slidshow/slide_image02.jpg" width="980" height="300" alt="" /></li>\
	<li><img src="images/slidshow/slide_image03.jpg" width="980" height="300" alt="" /></li>\
</ul>\
</div>');

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.