Goodies To Go! Newsletter #356

By Vince Barnes

************************************************************
Goodies to Go (tm)
September 27, 2005 -- Newsletter # 35
6
 
This newsletter is part of the internet.com network.
http://www.internet.com
 

************************************************************

Featured this week:
 
*   Goodies Thoughts - A Host of Opportunities

*   Q & A Goodies
*   News Goodies
*   Feedback Goodies
*   Windows Tech Goodie of the Week 
*   And Remember This...
 
************************************************************
 
A Host of Opportunities
 
Microsoft was recently researching to find what their clients would most like to see added to their Word program.  Surprisingly, or perhaps not quite so, all the most requested features were already in the product!  The trouble is that there are so many features and options in the program that most people never find them and are not aware of their capabilities.
 
The same holds true for website hosting options.  Sure, everybody knows you can choose between Windows or Linux hosts, but what other options are there?  In fact, does it really matter which operating system you are hosted on?
 
In modern times, it matters less and less which operating system your hosting company chooses to run.  All the most sought after features, such as PHP, MySQL, FrontPage Extensions, Perl, ASP, etc., etc. are available on either Windows or Unix/Linux flavor operating systems.  So what's left to choose from?  Customer Service?  Price??
 
Well, yes, they're both important, but there's also the question of web hosting versus domain hosting.  And what do I mean by that differentiation?  So glad you asked!
 
What I am calling "Web Hosting" is the traditional "here is the space on our server, here is how you access it, here is its actual URL - you can point any domain name or URL you like at it" type of hosting service.
 
"Domain Hosting", however, is where your domain name is hosted on a system and you are provided with a "control panel" that allows you to administer a much wider range of features associated with your domain, such as who has what kind of access to what areas of your site, what happens to email sent to users in the domain, where the email boxes are, and so on.
 
Seems to me that the latter provides a much richer set of capabilities to the webmaster -- or should they now be titled "domainmaster"?  Over the next few issues of Goodies To Go I'm going to take a closer look at this subject and see what I can come up with for you.  Stay tuned!
 
 
 
Thanks for reading!
 
 
 

- Vince Barnes
 
 
 
 
 
************************************************************
 
Q & A Goodies
***********************************
Questions are taken from submissions to our Community
Mentors. You can ask a Mentor a question by going to
http://www.htmlgoodies.com/mentors/
 
 
Q. I love the Dual Image Flip effect. Instead of buttons I'd like to put plain old links. I don't know how to do this and if I change a thing, it won't work. Please help!  Also, I need help on putting the image in one place, and placing the text in another. I have a square box that I need to put the image flip in.
 
A. Here's what you want:
<html>
 <head>
  <title>Image Flip</title>
  <script language="JavaScript">
   function flip(img,imgn)
    {
     document.images[imgn].src=img
    }
  </script>
 </head>
 <body>
  <a href="somepage.html" onmouseover="flip('1.gif','pica')" onmouseout="flip ('0.gif','pica')">Mouse Over Me</a>
  <img src="0.gif" name="pica" border="0"></a><br>
 
 </body>
</html>
As far as placing the picture it depends on how you have your square box defined.  You could use a table to position the image or even layers such as <div> or <span> in combination with the style tag.
 
 
 
 
    
Q. I have a piece of Java script I got off the HTML goodies page to open a new window. It works well enough but what I want it to do is to run from an onClick event handler. How do I get it to do this.?
 
A. You will have to place the window.open into a function and then You can call the function either by using the onClick or by placing the function call in the "href".  Here is an example:
<html>
<head>
   <title>Open new window</title>
<script LANGAUAGE="javascript">
         function OpenWin()
                 {
                  MessageWin=window.open ("http://www.wsabstract.com", "newwin",config="location=no,status=no,directories
=no,toolbar=no,scrollbars=no,menubar=no,resizable=no");
                 }
</script> 
</head>
<body>
<center>
 
You can do it this way:
<a href="JavaScript:OpenWin()">Click here</a> <br>Or you can use the onClick
event:
<a href="#" onClick="OpenWin()">Click here</a>
</center>
</body>
</html>
 
This is but one example.  You can also set up the function to accept a variable that contains the link you want to open up in the new window like this:
<html> <head>
   <title>Open new window</title>
<script LANGAUAGE="javascript">
         function OpenWin(linkid)
                 {
                  MessageWin=window.open
(linkid, "newwin",config="location=no,status=no,directories=no,toolbar=no,scroll
bars=no,menubar=no,resizable=no");
                 }      
</script> 
</head>
<body>
<center>
 
You can do it this way:
<a href="JavaScript:OpenWin('http://www.htmlgoodies.com')">Click here</a>
<br>Or you can use the onClick event:
<a href="#" onClick="OpenWin('http://www.htmlgoodies.com')">Click here</a> </center> </body> </html>
 
This will allow you to use the same function for multiple links.
 
 
 
 
 
Q. I'm trying to create a sort of mouseover-driven context-sensitive help system for my website.  The basic idea is that you mouse over a set of services (system checkup, basic service, advanced service, etc) and a window pops up telling you what it is you're going to be paying for.  I can get windows to pop up quite neatly...it's getting them to go away again that's having me in fits.  Is there any way to do something like:
onMouseOut="window.diediedie('popup');return true"
and have it actually work?
 
A. You might want to take a look at this script.  It is very flexible and looks great. http://www.dynamicdrive.com/dynamicindex5/popinfo.htm
 
 
 
 
 
Q. I am in the process of designing a site mainly for seniors, some of whom have difficulty seeing small fonts.  Can you please tell me how I can  code a page to include the option to change the size of font?
 
A. What you need is called a Style Sheet Switcher. The links allow the user to change the font size of the text by choosing a different style sheet. There are several style sheets used and some JavaScript can be used to help some browsers that do not recognize CSS. For a detailed explaination of how to use this, take a look at this site: http://www.alistapart.com/switcher.html
You could also do a search for Style Sheet Switcher and maybe come up with more versions of the same switcher.
 
 
 
 
 
Q. This was posted In the recent Goodies newsletter (5/12/03):
   Q. I found a script that disallows the right clicking to "view source" which is great.. however is there another code that disallows the ability to click on the "Source" option under the View Toolbar?
   A. There is no way to stop them from viewing the source using the "view source" option.
However, the selected peer review winner of 4/28/03, http://atlantacelticfestival.org reveals this message when you click on view source:
  <!-- YOU ARE NOT AUTHORIZED TO VIEW THIS PAGE -->
Am I just misinterpreting what is being said here?  Could someone please clarify this?
 
A. That site is just using a old technique of placing a large amount of space between the first link and the start of the HTML and JavaScript code.  Not sure why they are doing it because their code is nothing special.  All you have to do is scroll down and you will see the code.
 

 
 
 
 
 
 
 
 
 
 
News Goodies
***********************************
 
Microsoft Gets Into The CDP Game
[September 27, 2005] Microsoft will officially launch its first backup and recovery product late Tuesday, a near-continuous data protection (CDP) application.
Read the article:
http://www.internetnews.com/storage/article.php/3551661
 

Red Hat EAL To Get Government Blessing
[September 27, 2005] IBM sponsors the yet be released Red Hat Enterprise Linux 5 for EAL4 certification.
Read the article:
http://www.internetnews.com/security/article.php/3551616
 

Next Stop For IBM's Express Servers: SMBs
[September 27, 2005] Big Blue builds three new machines designed for small businesses, looking to lure new customers at a low cost.  
Read the article:
http://www.internetnews.com/bus-news/article.php/3551621
 

Smartphones Take Center Stage
[September 27, 2005] Conference highlights advances like Wi-Fi and Mobile VoIP. What about the phone as PC?
Read the article:
http://www.internetnews.com/wireless/article.php/3551686
 

Cutoff Deadline Looms For VoIP Subscribers
[September 27, 2005] Customers who have not acknowledged E911 limitations face limited or no service after midnight tonight.
Read the article:
http://www.internetnews.com/bus-news/article.php/3551776
 

Microsoft in Open Source Partnership
[September 27, 2005] UPDATED: Agreement with middleware maker JBoss marks a new high temperature in the thawing of Redmond.
Read the article:
http://www.internetnews.com/dev-news/article.php/3551801
 

Symantec Backup, But With a Veritas Twist
[September 27, 2005] The software maker shows off its data protection and security integration work since closing its Veritas purchase.
Read the article:
http://www.internetnews.com/storage/article.php/3551791
 

MSN Puts Paid Search on Trial
[September 26, 2005] France and Singapore are the first to try it out.
Read the article:
http://www.internetnews.com/xSP/article.php/3551551
 

Google Dips a Toe Into Data Management
[September 26, 2005] StoredIQ helps Google Enterprise customers make better use of their data.
Read the article:
http://www.internetnews.com/storage/article.php/3551476
 

Mobile Search For Fun Nearby

[September 26, 2005] InfoSpace launches mobile search products to help find local entertainment and businesses. 
Read the article:
http://www.internetnews.com/ec-news/article.php/3551276
 
 
 

 
 
 
Feedback Goodies
***********************************
 
Did you ever wish your newsletter was an easy two way communications medium?  Ploof! It now is!
If you would like to comment on the newsletter or expand/improve on something you have seen in here, you can now send your input to:
 
 
We already receive a lot of email every day.  This address helps us sort out those relating specifically to this newsletter from all the rest.  When you send email to this address it may wind up being included in this section of the newsletter, to be shared with your fellow readers.  Please don't send your questions to this address.  They should be sent to our mentors: see http://www.htmlgoodies.com/mentors/
 
 
 

Last week's "Not Logic" topic seems to have touched a nerve!!  I received a lot of responses ranging from disputes of the logic in question to dissertations on the entire subject of Logic!  Many thanks to all who did write in - I hand a lot of fun reading and I learned quite a bit from you!  (If you missed it, you can find it in the Archive, here: http://www.htmlgoodies.com/introduction/newsletter_archive/goodiestogo/article.php/3551351 )
 
The most common response, however, concerned how I expanded my English Language question, and the most common "correction" was : "Is it true that it's not (red or black)?" or a close variation.  Sorry folks!!  This is an attempt to apply mathematical notation to an English language statement.  The result is simply not English.  This does, however, admirably highlight my point -- the logic problem stems from the difference between the language "as she is spoke" and the science of Logic.
 

Thanks for all your feedback!
 
 
 
 
 

Windows Tech Goodie of the Week 
***********************************
 
Returning a Comma-Delimited List of Related Records
 
In any non-trivial database design, there are related entities within the system. Some entities may share a one-to-many relationship, others a many-to-many relationship. In either type of relationship, there are times when we may need to provide a comma-delimited list of related records. Read on to learn how!
 
 

*** AND ***
 

DropDownList Navigation ASP.NET Sample Code
 
This sample code shows you how to fill an ASP.NET DropDownList control with site locations and have clients use it to navigate your site. It includes both the client-side javascript and server-side redirection code so that you can choose whichever you prefer.
 
 

*** AND ***
 

Implementing Remote Calling Without Using AJAX
 
Right now the latest buzzword around town is AJAX. AJAX is an acronym for Asynchronous JavaScript and XML and is a method used to implement remote calling. The problem is that AJAX is only implemented in ASP.NET 2.0. This article will show you one way to implement remote calling without using AJAX or the XMLHttpRequest object. The technique outlined can even be used from classic ASP and is sufficient for most remote calling needs.
 
 
 
 
 
 
 
 
 
 
And Remember This ...
***********************************
 
1964 Warren Commission Report Confirms Lee Harvey Oswald Killed JFK
 
The Warren Commission was given the task of investigating the assassination of US President John F. Kennedy.  The report, released on this day in 1964, concluded that Lee Harvey Oswald fired three shots from a rifle pointed out of a window on the sixth floor of the Texas Book Depository.  The report also concluded that Oswald had acted alone, and the Jack Ruby, who fatally shot Oswald on live national television, had had no previous contact with Oswald.  Thus, the report concluded that there had been no conspiracy in the assassination.  The report did not, however, silence the conspiracy theories, and in 1978 the House Select Committee on Assassinations issued a report that indicated that Kennedy was "probably assassinated as a result of a conspiracy".  According to this report, the killing may have involved multiple shooters and organized crime.  both conclusions are still disputed by many people today.
 

Today was also the day that in: 1540 the Society of Jesus (the Jesuits) was founded by Ignatius de Loyola; 1779 John Adams negotiated Revolutionary War peace terms with Britain; 1787 Constitution was submitted to the states for ratification; 1821 Revolutionary forces occupied Mexico City as Spanish withdraw and the Mexican Empire declared its independence; 1938 Ocean liner Queen Elizabeth was launched at Glasgow; 1988 Lab tests reportedly prove that the Shroud of Turin was not Christs burial cloth; 1989 Sony took over Columbia Pictures for $3.4 billion cash; 1990 Senate Judiciary committee approved Justice Souter's Supreme Court nomination; 
 
Born today were: in 1722 revolutionary rabble rouser and Lt. Gov. of Massachusetts (1789-94) Samuel Adams; 1792 illustrator (for Charles Dickens) George Cruickshank; 1817 the first black US Senator Hiram R. Revels; 1895 actor George Raft; 1920 actor William Conrad; 1933 actress Kathleen Nolan; 1934 actor Wilfred Brimley; 1947 model/actress Cheryl Tiegs; 1947 actress Liz Torres; 1947 musician Marvin Lee Aday (Meatloaf); 1998 Search Engine Google ( http://www.google.com -- get yourself a slice of chocolate cake -- today only!)
 
 
 


Make a Comment

Loading Comments...

  • Web Development Newsletter Signup

    Invalid email
    You have successfuly registered to our newsletter.
  •  
  •  
  •  
Thanks for your registration, follow us on our social networks to keep up-to-date