Help - Search - Members - Calendar
Full Version: HELP D:
Forums > Resource Center > Webmasters' Corner
Mikeplyts
Ok, so I'm working with a new client's website but I'm having a bit of a problem with displaying a myspace layout preview.

I'm using the fancyZoom script to display all his graphics, layouts, photos, etc. but for some reason, whenever I try to display a myspace layout or even myspace.com itself, it won't show in the box because all it does is redirect to myspace itself or to the myspace page I defined. I've used both these methods below:
CODE
<iframe src="http://www.myspace.com/" style="width:100%; height:100%; vertical-align:bottom;" frameborder="0>
</iframe>

CODE
<object data="http://www.myspace.com/" style="width:100%; height:100%; vertical-align:bottom;" type="text/html">
</object>

Neither of them work, but the strange thing is that when I put in a different URL that isn't myspace, then it works. Yes, I've also tried using a completely separate page to hold the myspace layout but that won't work either.

Here's a basic rundown of the site and it's structure:
  • Currently using Wordpress 2.8.4
  • Currently using the jQuery script, a keypress navigation script, and the fancyZoom script.
  • Using XHTML Transitional DTD.
  • No Flash involved.
Um, that's all I can think of right now. Unfortunately, I can't give you a URL because he requested to not publicly display the site yet and he has an online thing, so he said he should only be seeing 2 people online (me and him).

I can't possibly think of what could be wrong but I'm to the point where I'm pulling the hairs off my balls. D:< Please help me!
fixtatik
Just get rid of all the JavaScript in the Myspace preview page. They have a function that checks the hostname, and if it's not myspace.com, it redirects the entire page to myspace.com.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.