Ruling teh World
Join Date: Dec 2005
Location: Boston, MA
|
http://manhattanhighschool.org
Hey, I've had this site up for almost a year but I got around to updating it today. While the site displays perfectly in the latest major version of Safari (also perfect in the nightly build), I need it to be workable in all the major browsers. I tried to build the site as lightweight as possible, and all the pages loaded quickly for me. Here is a rough graph if you can help me fill it in with your experience: Safari: Page Load Speed - Fast | Color Accuracy - Perfect | Java/apps - Working | Layout - All shapes present and positioned correctly. FireFox 3: Page Load Speed - Fast | Color Accuracy - Perfect | Java/apps - NOT WORKING (check the photo pages) | Layout - Some shapes missing (the shadow circles) and the whole photo box Internet Explorer: (both the new and old versions) FireFox 2: --- Those are the major ones, but if you have Opera or Camino feel free to check it out too. Thanks for your help!! |
quote |
Selfish Heathen
Join Date: May 2004
Location: Zone of Pain
|
I couldn't find any Java applets. Do you mean JavaScript?
|
quote |
Veteran Member
|
Seems ok in Camino - is it designed in iWeb? Cos iWeb sucks for page speed to be honest.
|
quote |
Ruling teh World
Join Date: Dec 2005
Location: Boston, MA
|
Yeah, I meant script. What I am referring to are those photo boxes where you can launch slideshows and scroll through the pictures.
Yeah, it is an iWeb monstrosity. I don't know enough HTML or other fancy languages to make a decent looking page without WISIWIG so iWeb it is. You said that iWeb sucks for page speed, but did this particular site load quickly? |
quote |
Selfish Heathen
Join Date: May 2004
Location: Zone of Pain
|
That's probably why it breaks in Firefox 3. (hint: there's also a fix from that link)
Everything is very speedy for me, but I'm at my office on a fat network pipe. It still feels faster and lighter than most iWeb sites I've seen, though. The quality of this board depends on the quality of the posts. The only way to guarantee thoughtful, informative discussion is to write thoughtful, informative posts. AppleNova is not a real-time chat forum. You have time to compose messages and edit them before and after posting. |
quote |
Ruling teh World
Join Date: Dec 2005
Location: Boston, MA
|
Thanks Brad, I appreciate the link. I ran the little fixer app and am now re-uploading. I also got rid of any shadows and replaced them with solid lines. They apparently cause problems with Firefox.
Is there a reason why my site needs the user to manually dump their cache in order to see the new site while regular sites update normally? I mean, if i visit any major site I see the newest version and I don't have to clear my cache... EDIT: Well after a fresh upload all the problems that I had with Firefox have been corrected, the picture elements work, including the slideshow, and the shapes and colors all display properly. Thanks for the link Brad! Now if someone could just see how this works in IE... Last edited by World Leader Pretend : 2008-06-27 at 22:20. |
quote |
Selfish Heathen
Join Date: May 2004
Location: Zone of Pain
|
Quote:
For example, note that in AppleNova's source, one of the CSS files has the URL: http://www.applenova.com/Styles/main-2.1.css?201 See that "?201" on the end? By changing the 201 on this URL, I can effectively force the browser to retrieve a newer version. In fact, whenever I update AppleNova's CSS, that's exactly what I do. I increment that number so everyone automatically gets the newest version of the CSS with the next page load. You can do the same with images, JavaScript, CSS... pretty much anything "embedded" into a page by a URL that the browser may cache. The quality of this board depends on the quality of the posts. The only way to guarantee thoughtful, informative discussion is to write thoughtful, informative posts. AppleNova is not a real-time chat forum. You have time to compose messages and edit them before and after posting. |
|
quote |
Ruling teh World
Join Date: Dec 2005
Location: Boston, MA
|
Alright cool, so what would be the easiest way for me to implement this in my iWeb code? (The site auto-updated without me clearing the caches this last upload, but that was the first time)
|
quote |
Selfish Heathen
Join Date: May 2004
Location: Zone of Pain
|
Well, the "easy" way would probably take a lot of manual work if iWeb is generating the code for you. You'd need to find any URLs to things you want refreshed and append a unique identifier to them. A time stamp is a good value since it'll never overlap with future revisions.
The "quickest" (but not easiest for a novice) way to do this would be a search-and-replace from the command line. For example, if you "cd" to the directory where your website's code lives, the following command will go through all the subdirectories, find all .html files, and search for .css", .css', .js", and .js' and insert a question mark and the current time before the closing quote. It also creates .bak backup files of everything it touches in case something goes wrong and you want to manually revert. Code:
find . -name "*.html" -print0 | xargs -0 perl -i.bak -pe "s/\.(css|js)(\"|\')/.\$1\?`date +%Y%M%d%H%m%S`\$2/g" I wrote and tested this command on my own Mac with a few dummy files and directories and it seems to work as expected. Caveat emptor, of course.If you don't want the .bak files to be created, remove the ".bak" after the "-i". The quality of this board depends on the quality of the posts. The only way to guarantee thoughtful, informative discussion is to write thoughtful, informative posts. AppleNova is not a real-time chat forum. You have time to compose messages and edit them before and after posting. |
quote |
Selfish Heathen
Join Date: May 2004
Location: Zone of Pain
|
Quote:
Also, in all browsers, on the Articles page, the hexagons are clickable, but the text in them isn't. The quality of this board depends on the quality of the posts. The only way to guarantee thoughtful, informative discussion is to write thoughtful, informative posts. AppleNova is not a real-time chat forum. You have time to compose messages and edit them before and after posting. |
|
quote |
Totally awesome.
|
http://www.browsershots.org/
I use that site whenever I'm working on a site. They provide just about every browser known to man. |
quote |
Ruling teh World
Join Date: Dec 2005
Location: Boston, MA
|
Quote:
I'm going to change the hexagon stuff so it isn't so confusing.. or fix the link color problem. And Artap, thanks for the site! |
|
quote |
Posting Rules | Navigation |
|
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unconfirmed report of N. Korean nuclear test | Windswept | AppleOutsider | 97 | 2006-10-11 19:28 |
Please Help Troubleshoot My New Site | drewprops | Programmer's Nook | 28 | 2006-02-09 09:17 |
Help getting Perl DBI and DBD to install on G5 10.3.4 | kretara | Genius Bar | 11 | 2004-07-14 16:43 |