382 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+2 more
blabus says

Alright, I’m in desperate need of help, as I have absolutely no idea why this is happening- I just recently finished a website that lets you quickly search for cover art for albums:

http://www.labusdesign.com/5byfive/

Everything works perfectly in Safari 4 (on Mac). However, the site does not work in ANY other browser! I’ve tried viewing it (on multiple machines) in Firefox 3, Internet Explorer 7, and Internet Explorer 8, and nothing on the page appears- just a blank white page (not even the page background color is set). No errors reported whatsoever, all code is fully valid, and if I right click and view the source of the page, it’s all perfect- but not a single thing shows up in the window.

Anybody have any ideas?

2529 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Interviewed on an Envato blog
+11 more
JeffreyWay says

Is it because of this line…possibly?

javscript:searchComplete();

(missing “a”)

214 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
Pandemic says

Firebug says: “Failed to load source for: http://www.google.com/jsapi” That might have something to do with it?

415 posts
  • Has been part of the Envato Community for over 5 years
  • Has collected 1+ items on Envato Market
  • Located in Europe
  • Sells items exclusively on Envato Market
+2 more
osigrandi says

Same as Pandemic, Firebug says

Failed to load source for: http://www.google.com/jsapi

145 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 50+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+3 more
JJenZz says

You can’t “self-close” script tags. Change them to this:

<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script src="javascript/jquery.js" type="text/javascript"></script>
<script src="javascript/javascript.js" type="text/javascript"></script>

That should fix it…

1479 posts The right tools with none of the gimmicks
  • Has referred 50+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+6 more
PixelBin says

+ you have your CSS styles in a <!- ->.

415 posts
  • Has been part of the Envato Community for over 5 years
  • Has collected 1+ items on Envato Market
  • Located in Europe
  • Sells items exclusively on Envato Market
+2 more
osigrandi says
+ you have your CSS styles in a <!- ->.

Funny, I noticed that too, but for some reason the page appears styled in Safari. Plain weird.

382 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+2 more
blabus says

Alright, not sure which one of those errors caused the problem, but I fixed them all, and it works like a charm now!

I really appreciate the help guys, thanks!

P.S. Any thoughts, comments, suggestions on the site, feel free to share! :)

145 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 50+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+3 more
JJenZz says

It would have been the script thing that caused the problem… I’m pretty certain.

There is nothing wrong with putting comment tokens around your inline CSS . In fact, they’re useful for hiding styles from older browsers. The W3C even says so:

“CSS style sheets are often embedded in HTML documents, and to be able to hide style sheets from older UAs, it is convenient put the style sheets inside HTML comments. The HTML comment tokens ”<!-” and “->” may occur before, after, and in between the statements”

by
by
by
by
by
by