This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Safari, Frames, and localhost...

 
Aron Daburn
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does Safari not allow frames to link to your local host? The following frame snipit works fine in Firefox and IE, but then doesn't make the call for the frame in Safari.




But if I replace the src to http://google.com, it loads google...




It is also not loading the frame contents when the pages are moved up to the server. Though, there javascript then sets the src of the frame on the page load. (It works perfect in IE and Firefox.)



What am I doing wrong for Safari? Why does it not load my page, but loads google's perfectly fine?

Edit:
I just downloaded Safari 4 for Windows XP, which I now see is 'beta'. I'll try it on Safari 3 and report back...
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You actually test Safari on Windows? Do not think that Safari on windows acts like Safari on a Mac.

Eric
 
Aron Daburn
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is just to work with locally. I will be doing final testing on a Mac.


OK, working with Safari 3 for Windows XP, *most* of the frame issues work. However, there is a rather odd behavior happening.

This code snipit does not display the frame's contents:


But this does:


The only difference is I threw in some | characters around the frameset to determine where in the page the frame was at, and then it works!? I did a double take and removed them, didn't work. Added them back, worked... what gives?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic