PDA

View Full Version : Ajax Tabs Content Script (v 2.2) in IE



boroguide
06-25-2008, 09:34 PM
1) Script Title: Ajax Tabs Content Script (v 2.2)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm?countrytabs=1

3) Describe problem: Hello all,

I've unwittingly stumbled across a problem in relation to this script that I'm befuddled by. Basically, I have deployed this script on pages within a section of my website - http://www.boroguide.co.uk/clubs/stevenage/index.php for example - but in Internet Explorer, the page refuses to load and subsequently displays IE's default "cannot connect" page.

However, it works swimmingly in Firefox. The version of IE I am running is IE7 so it is fully up-to-date. What could the problem be?

Thanks in advance

rangana
06-26-2008, 01:37 AM
First, you don't have a DTD (http://alistapart.com/articles/doctype) in your page.

Secondly, move this part in the head section of your page:


<link rel="stylesheet" type="text/css" href="http://www.boroguide.co.uk/stylesheet.css">


Lastly, try to move this part:


<script type="text/javascript">

var countries=new ddajaxtabs("profiletabs", "profiledivcontainer")
countries.setpersist(true)
countries.setselectedClassTarget("link") //"link" or "linkparent"
countries.init()
</script>


...above </body> tag.

Hope it helps.

boroguide
06-26-2008, 11:19 AM
Thankin' you.

With your assistance it appears to have been sorted.