Greenguy's Board WebcamWiz CRAZY $5,000 Reward Bonuses

WebcamWiz CRAZY $5,000 Reward Bonuses WebcamWiz CRAZY $5,000 Reward Bonuses WebcamWiz CRAZY $5,000 Reward Bonuses WebcamWiz CRAZY $5,000 Reward Bonuses WebcamWiz CRAZY $5,000 Reward Bonuses

Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2016-02-09, 04:51 AM   #1
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Doctype And Older Versions Of HTML

Can anyone explain why this works?

I used an online service to create a slideshow for my site. It worked on my Vista box, but on my XP box it only worked in Chrome, not in IE8. So I assumed it was in HTML5.

Today I was playing with the code with a view to (a) using it on other sites, and (b) making a version that worked on all browsers. I discovered the slider was entirely Javascript, so should work on IE8. Buggering about with it, I found that adding a doctype tag (doctype html) made it work. Why should this be? Why when everything else appears to work 100% OK without a declaration of doctype, should one Javascript piece of code require a doctype declaration?
ecchi is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:25 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc