|
I'm A Beginner, How Do I Insert The Code? To be able to incorporate the javascript code snippet into your web page you need to know how to copy and paste code (which is not necessarily the same thing as copying and pasting text). To copy the code you click at the start of the code with your left mouse button and then with the mouse button held down you move the mouse to the end of the code you're going to copy. The selection should be highlighted to let you know what is selected. You can now click the right mouse button on the selected code and select copy from the context menu. (Note that you are copying text, but you'll need to paste it as code). ![]() Open the web editor program that you work with. For example: Frontpage, Dreamweaver, Notepad, or whatever it is that you use to publish pages to the web. In some cases, your web editor program might be an online service such as Blogger.com or WordPress ( this is fine too ). In your web editor program, open the page you want the talking cards to appear on. If your web editor allows you to work directly with the HTML code itself, then switch to that mode and use the paste option supplied by that software to paste your copied javascript code into the exact spot in the body of the page where you want the output from the script to appear (this is where the talking card interface will appear). If your web editor doesn't allow you to edit the code directly, then you need to check if it offers an option that allows you to attach code to your page. If so, then use that to attach the code to the place in the page where you want the talking card interface to appear. If your web editor doesn't handle code at all, then you will need to use an alternative editor (possibly notepad) that does support editing the web page code in order to apply your changes. Hopefully, in this case, the web editor that you use will recognize and retain changes that are made outside of that editor, otherwise you may lose your changes when you reopen the page in your usual editor. If this happens, then the only option that you have is to change to a different web editor. The one thing that doesn't work; is to use a (paste as text) option that some web editors offer. Since using (paste as text) will just result in the code being displayed in the web page itself, rather than being run by the page to perform the insertion of the talking card interface. Does this work if I put it on MySpace.com or another blog/profile page? While the javascript code snippet will work from any page on the web, a few services such as MySpace.com prohibit the use of <script></script> tags in your html for security purposes. Therefore, the answer to this question is: if you can use the <script></script> tags in your blog or webspace, ( it will work just fine ). Some services like Blogger.com provide special tools such as: "Insert Page Element" that allows you to add the javascript code using the tool they've developed ( this works just fine too ). The best way to find out if it will work for you is to simply try it for yourself. For more information, please read the basics. If you can't use the <script></script> tags, your only choice is to find a service that allows them ( such as Blogger.com ), or obtain a free web hosting provider ( such as Bravenet.com ).
|
|