HTML - Sms Generation
I'm writing a web application designed to be viewed on Windows Mobile phones for my work. It contains proprietary information so I am unable to share the link. I have a contact form, and I want a code that when clicked, will open up the SMS application on the phone and populate the recipient automatically. Can it be done?
Similar Tutorialsa while back i decided to create a database to index my entire music collection. i did the whole thing entirely in html with the exception of a little css and javascript for style. ive gotten every little detail of every little code fully customized to my liking. my new challenge is to find a way to generate my own style of coding with some sort of code generator. i was wondering if anyone knew of a way i could go about this. what i do now is i have a text list of the songs to add to a page and i use the Find/Replace function of notepad to replace the placeholders within my code. my entire pages are all coded with variables like "AlbumName", "Track-3" and "BandName" so that i can easily Find/Replace those terms with the bands, albums or songs that go in their place. i'll include some of the code in this message. what im trying to do is find either a piece of software or a webpage with a form that i can customize to generate these chunks of codes for me...so that i dont have to Find/Replace each and every song manually. i want to either generate the code from a simple text list of the names OR be able to type in the song names into a form of some sort and click Generate! and have it generate the chunk of code for an entire album at a time...so i can copy and paste it into the html file...not having to do as much work. here's a sample of one album's code (if i add this in the right place on a band's page and place the files in the correct folder, the album is added to the database and i can click on any song or album name to play a single song or playlist in winamp). this is an album called Lapalco by Brendan Benson: Code: <table> <tr> <td valign=top> <a name="Lapalco"> <img src="Lapalco/cover.jpg"></a> </td> <td width=10> </td> <td valign=top> <font size=5> <a href="Lapalco/Lapalco.m3u" style="text-decoration: none"> Lapalco</a> <font size=2> <br><br> 1. <a href="Lapalco/Tiny Spark.mp3" style="text-decoration: none"> Tiny Spark</a><br> 2. <a href="Lapalco/Metarie.mp3" style="text-decoration: none"> Metarie</a><br> 3. <a href="Lapalco/Folk Singer.mp3" style="text-decoration: none"> Folk Singer</a><br> 4. <a href="Lapalco/Life In the D.mp3" style="text-decoration: none"> Life In the D</a><br> 5. <a href="Lapalco/Good to Me.mp3" style="text-decoration: none"> Good to Me</a><br> 6. <a href="Lapalco/You're Quiet.mp3" style="text-decoration: none"> You're Quiet</a><br> 7. <a href="Lapalco/What.mp3" style="text-decoration: none"> What</a><br> 8. <a href="Lapalco/Eventually.mp3" style="text-decoration: none"> Eventually</a><br> 9. <a href="Lapalco/I'm Easy.mp3" style="text-decoration: none"> I'm Easy</a><br> 10. <a href="Lapalco/Pleasure Seeker.mp3" style="text-decoration: none"> Pleasure Seeker</a><br> 11. <a href="Lapalco/Just Like Me.mp3" style="text-decoration: none"> Just Like Me</a><br> 12. <a href="Lapalco/Jet Lag.mp3" style="text-decoration: none"> Jet Lag</a> </td> </tr> </table> so thats the format i use for everything...even though some albums require more customization which never takes too long. here's what it would be like in my generic placeholder code: Lapalco would be AlbumName Tiny Spark would be Track1 in both places you see it i guess i should show the original code too: Code: <table> <tr> <td valign=top> <a name="AlbumName"> <img src="AlbumName/cover.jpg"></a> </td> <td width=10> </td> <td valign=top> <font size=5> <a href="AlbumName/AlbumName.m3u" style="text-decoration: none"> AlbumName</a> <font size=2> <br><br> 1. <a href="AlbumName/Track1.mp3" style="text-decoration: none"> Track1</a><br> 2. <a href="AlbumName/Track2.mp3" style="text-decoration: none"> Track2</a><br> 3. <a href="AlbumName/Track3.mp3" style="text-decoration: none"> Track3</a><br> 4. <a href="AlbumName/Track4.mp3" style="text-decoration: none"> Track4</a><br> 5. <a href="AlbumName/Track5.mp3" style="text-decoration: none"> Track5</a><br> 6. <a href="AlbumName/Track6.mp3" style="text-decoration: none"> Track6</a><br> 7. <a href="AlbumName/Track7.mp3" style="text-decoration: none"> Track7</a><br> 8. <a href="AlbumName/Track8.mp3" style="text-decoration: none"> Track8</a><br> 9. <a href="AlbumName/Track9.mp3" style="text-decoration: none"> Track9</a><br> 10. <a href="AlbumName/Track-10.mp3" style="text-decoration: none"> Track-10</a><br> 11. <a href="AlbumName/Track-11.mp3" style="text-decoration: none"> Track-11</a><br> 12. <a href="AlbumName/Track-12.mp3" style="text-decoration: none"> Track-12</a> </td> </tr> </table> so im looking for a better way to replace those variables than to use Find/Replace in notepad. i only use notepad for editing. i only know html. i dont want to use any new kinds of coding in my database. id only be willing to use code i can customize and only for the generator which wouldnt be connected to the database. i know most people would just use php to generate these entire pages but im very particular about my coding. please let me know if you have any suggestions about how i can achieve this or if you have any questions about how i do things or how i want to go about this. and im sorry for the long post. thank you. Maybe someone here can shed some light on this for me. I am trying to create a site which displays 12 random questions from a pool of a few hundred. A visitor will come to the site, answer the questions and see the results, much like a poll but they will be randomly generated. I am lost as to where to start on this. I tried a poll type approach but that was not the answer. Those were fixed questions and the polls were powered by other sites. Anyone have ideas or tips on how I can start on this? |