Connect Your Websites With Javascript Widgets
You've currently been introduced to the key facts of producing a prime blog and making niche internet sites as targeted visitors nets. After you have additional than Ten websites, gaining a message across to all of your websites (e.g. announcements) can be quite time consuming. You would have to change all of your sites and add the message to them a person by one. There is a way to update all of your websites from only updating one single file, which can be a life saver if you have more than 50 to 100 websites.
What is a JavaScript Widget
A JavaScript is a line of HTML code that points to a JavaScript in a remote place. It seems like this:
<script type="text/javascript" src="http://www.YourWebsiteUrl.com/WidgetName.js"></script>
When a website, with the over widget, is to be displayed in a internet browser, the web browser will Look for "WidgetName.js" on the blog "http://www.YourWebsiteUrl.com" and display What ever the widget wants it to display. If WidgetName.js displays "Hello World" and the fetch code -
<script type="text/javascript" src="http://www.YourWebsiteUrl.com/WidgetName.js"></script>
is placed on 100 websites, customers will see "Hello World" on all the websites.
Let's do an example. Let's say you want to display the subsequent HTML code for a connected picture on all your websites:
<a href="http://FeatureProductURL" target="new"><img src="http://FeatureProductImageURL" alt="FeatureProductText"></a>
*** Note that the hyperlink URL and image Web page link has to be thorough URLs, not "/images/picture.jpg". It has to be "http://www.yourdomain.com/images/picture.jpg". You get the idea ***
Step 1: Launch "Source Code Encrypter"
Step 2: location the HTML code in the encrypter box
Step 3: Hit Encrypt
Step 4: Copy the encrypted code with no the brackets
Step 5: Paste the encrypted code to a new text record
Step 6: save the file in "js" format (e.g. widget.js)
Step 7: Upload the JavaScript file on to your website
Step 8: Add the fetch code
<script type="text/javascript" src="http://www.YourWebsiteUrl.com/WidgetName.js"></script>
to all of your websites.
Adding the fetch code will only have to be performed Once on each website. Once When just about every web page has the fetch code, any changes that you make in your JavaScript widget record will automatically employ to all of your websites.
- Blogs and Forums Commenting
- What is a Blog and What is Blogging
- WordPress Blogging Platform
- Choosing and Selecting a Wordpress Theme
- Article Submission
- Affiliate Marketing on Blogs
- Capture More with Niche Websites
- Structured Writing
- Tips to Enhance Your Blog Posts
- Introduction to the World Wide Web
Enable Commentluv | This site uses KeywordLuv