|
Home ArticlesArticles Archive
 |
 |
 |
 |
|
Written by Jason
|
|
May 25, 2008 at 08:03 PM |
Okay, for better or worse, I decided to consolidate some things. I can't really import the member data from MyMusicCode.com at this point, so you'll have to create a new account here if you want to use some of the features. I know, I know, it's a hassle, but hey, life's full of hassles.
I'm still working out some of the kinks in the music search, playlists, and the embed codes generator. I am doing alot of recoding to make everything work here. If you find any glitches, send me a note.
|
|
|
 |
 |
 |
|
 |
 |
 |
 |
|
Written by Jason
|
|
Feb 01, 2008 at 09:00 PM |
Try out my Music search engine to find and listen to your favorite titles and artists! Members can add the search results to custom music playlists. Get the HTML code for your playlist so you can embed music into your profile or webpage. Share your playlist or HTML code with your friends! Write Comment (0 comments) |
|
|
 |
 |
 |
|
 |
 |
 |
 |
|
Written by Jason
|
|
Jan 29, 2008 at 08:28 AM |
How to make a music code or video code with your own file?
It's easy to make a custom media embed code with my music code HTML generator . All you have to do is upload your file to your web host, fill-in the form blanks with your file's URL address and your custom settings, and the HTML code is generated for you. Adobe Flash, Real Player, Quicktime, and Windows Media Player codes are made to meet your specifications to be used on your webpage, blog, board, or profile. Music codes and video codes for MySpace, Friendster, Piczo, Xanga, Tagged, Hi5, Blogger, and more ... Embedded media player codes on demand!
Write Comment (0 comments) |
|
|
 |
 |
 |
|
 |
 |
 |
 |
|
Written by Jason
|
|
Jan 04, 2008 at 09:40 AM |
This code allows you to toggle the visibility of any div layer on a webpage. Insert the following code into your HTML head section before the </head tag.
<script type="text/javascript"> <!-- // Toggle Divs // http://jasonlau.biz function jlToggleDivs(jlDivID, jlState) // 1 visible, 0 hidden { if(jlState == 0) { // optional message when toggled off // alert(''); } else if(jlState == 1) { // optional message when toggled on // alert(''); } if(document.layers) //NN4+ { document.layers[jlDivID].visibility = jlState ? "show" : "hide"; } else if(document.getElementById) //gecko(NN6) + IE 5+ { var obj = document.getElementById(jlDivID); obj.style.visibility = jlState ? "visible" : "hidden"; } else if(document.all) // IE 4 { document.all[jlDivID].style.visibility = jlState ? "visible" : "hidden"; } } // --> </script>
To use this script, simply call the function jlToggleDivs('{DIV ID}',{VISIBILITY STATE}) where {DIV ID} is the id attribute of the layer and {VISIBILITY STATE} is either 1 for visible or 0 for hidden.
Usage Examples:
Show it! Hide it! Create a div layer in the document's body and id it with a unique name. <div id="example" style="visibility:hidden">Test</div> In the above example div, I have set the visibility to be hidden initially, but the style attribute is optional and can be deleted if desired. Create links to toggle the layer visibility. <a href="javascript:void(0)" onClick="jlToggleDivs('example',0)">Hide</a> <a href="javascript:void(0)" onClick="jlToggleDivs('example',1)">Show</a>
Hide a layer when the page loads by calling the script in the document's body tag: <body onLoad="jlToggleDivs('example',0);"> or by using javascript in the document's body: <script type="text/javascript">window.onload = "jlToggleDivs('example',0); </script>
Write Comment (0 comments) |
|
|
 |
 |
 |
|
 |
 |
 |
 |
|
Written by Jason
|
|
Jan 03, 2008 at 02:43 PM |
This maintains form data when the browser's back button is used. It is helpful on multi-page forms in case you need to backup a step. Insert the following code into the top of your php document.
// maintain form data so back button can be used header("Cache-control: private");
Write Comment (0 comments) |
|
|
 |
 |
 |
|
| | << Start < Previous 1 2 3 4 5 6 7 Next > End >>
| | Results 1 - 10 of 65 |
|
|