PDA

View Full Version : I'm stuck on Myspace Layout Preivew Coding!!


Glamorous_Queen
06-11-2008, 08:08 PM
I'm really stuck on the Myspace Layout Preview coding here. I kinda get it but I don't completely. I really want to make myspace layouts and previews and Can someone help me out here? I would really appreciate it.

Lirae
06-13-2008, 12:33 PM
Open YOUR MySpace page
View the source (IE: View > View Source, pretty much every other browser: Ctrl + B)
Copy ALL of the source
Paste into a new file
Go through the source code and find the part of it where YOUR layout code is
Delete the layout code and replace with something like <!-- omgliraerocks --> (:P)
Save file as "previewtemplate.html", wherever you like (Desktop or My Documents would probably be best)

To make a new layout preview:
Open previewtemplate.html
Press Ctrl + F
Type "omgliraerocks" & press your Return / Enter button
Paste the new layout code in
File > Save As
And I think you can work out the rest. :)

^ That's how I used to do it before I made my layouts sit in a database instead.