MySpace


Ninja Tricks



Last Updated: 9/22/2006

Send Message
Instant Message
Email to a Friend
Subscribe

Gender: Male
Status: Single
Age: 31
Sign: Aquarius

City: PORTLAND
State: Oregon
Country: US
Signup Date: 1/2/2006

Who Gives Kudos:


Wednesday, January 11, 2006 
Here's the first few tips to making your own XHTML/CSS profile design:
  • Use Firefox for developing your profile (it's free to download). Many times the custom code will hide or otherwise make the submit button inaccessible on your profile edit pages and you'll need to use Firefox to view the page without style (look in the main menu bar under View > Page Style > No Style). If you've never viewed the MySpace page without style, it takes a moment to orientate yourself. I also recommend downloading the Developer's ToolBar.
  • When you're constructing your XHTML, be sure to use Class over ID because MySpace strips out the pound symbol and you want be able to refer to the element on the style sheet.
  • You can host images on other servers and some are free
  • You can use flash, Javascript and more for some cool features.
  • You can make your own navigation bar by copying the link location and id from the links on your default profile page. Links such as the add to friends link have both an href and an ID, make sure to grab them both. I strongly recommend at least a home and add to friends link. I also recommend the email and instant message links.
  • You can make your own forms, such as a comment box, by simply using the same form elements, values, and post path.
  • You only need one opening and closing style tag
I'll be posting many more tips to come and I encourage you to check back and learn more Ninja Tricks. Once you've developed a profile that you think is Ninja level, submit your work.
Previous Post: Welcome | Back to Blog List | Next Post: Submit your work
rathy

 
One of my pet peeves is when people don't know how to write styles.  So they copy and paste it from other places and end up with more than one opening/closing style tag.
 
Posted by rathy on Thursday, January 12, 2006 - 5:20 AM
[Reply to this
~ Mr Bleu ~

 
actually, I've found, in some coding, that in order to negate the original myspace coding and insert your own variation, you need to have two opening/closing style tags. It might not be essential, but its a helluva lot easier sometimes to do this. One set of tags to negate. One set to create. It doesn't make sense entirely, I know. You should be able to simply over-write with one set. But I have found a few times when two worked better than one.
 
Posted by ~ Mr Bleu ~ on Sunday, February 26, 2006 - 3:49 AM
[Reply to this
.derek

 
i agree. a crucial step lesson to learn is structured and inline organization. i hate all the copy n' pasting that some users make use of.
 
Posted by .derek on Thursday, January 12, 2006 - 9:37 AM
[Reply to this
Previous Post: Welcome | Back to Blog List | Next Post: Submit your work