Log In · Register

 
 
Closed TopicStart new topic
HELP D:, myspace layout previews
Mikeplyts
post Oct 23 2009, 07:16 PM
Post #1


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



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
post Oct 23 2009, 09:56 PM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



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.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: