Goodies to Go! Newsletter #319

By Vince Barnes


This newsletter is part of the internet.com network.
http://www.internet.com
 


Featured this week:

* Goodies Thoughts - Short Thoughts
* Q & A Goodies
* News Goodies
* Feedback Goodies  
* Windows Tech Goodies  
* And Remember This...

 


 

Goodies Announcement

The new Beyond HTML Goodies book is now available!

 

Go beyond the basics and learn how the pros add and use dynamic HTML features and advanced JavaScript techniques. Beyond HTML Goodies demonstrates dozens of new and different features readers can add to their existing Web pages using HTML and JavaScript. The book starts with simple text and image tips, such as adding a clock to a Web page or causing text to appear when the mouse moves over an image. It gradually builds to more complex tricks, including manipulating forms or working with cookies behind the scenes. Throughout the book, readers enjoy Joe's snappy style and "to the point" discussion of each "goody" in the book.

 

http://books.internet.com/books/0789727803

 

 

Goodies Thoughts - Short Thoughts


Goodies Thoughts will be a little abbreviated this week, as I am busy working on all the exciting new things coming your way on the HTML Goodies website very soon. I encourage you to keep a close eye on the site as it takes on its new face!

While you're checking on things on the web, take a look at Internet.com. If you haven't been there recently, you'll be amazed at the amount of useful information for web developers that can be found there. Pay particular attention to the Developer channel, the Linux/Open Source channel and the Windows Technology channel.

Also, don't forget that HTML Goodies is part of the Earthweb family ( http://www.EarthWeb.com ) If you have a few moments, browsing through the Earthweb sites always provides the opportunity to pick up a little new knowledge.

If there's something you need for that project you're working on - you're sure to find it in one of these resources!

'til next week,

 

Thanks for Reading!
 

 

- Vince Barnes

 

Top

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 am trying to set up a clock that will count down from 72 hours : minutes : seconds over and over again. Can you tell me how I might do that?

A. Joe Burns' book "Javascript Goodies" referred to a count down script on the web site. Its still on the server here:
http://htmlgoodies.earthweb.com/JSBook/countdn.html
It only counts minutes and seconds, but with a little tweeking it could be set to do what it appears you want it to do.





Q. How do I lose the blue line that appears round an image when I make it a link?

A. In the IMG SRC tag add this:
border="0"





Q. Is there any way to place text on top of pictures?

A. Here is the link to see how that's done:

http://www.htmlgoodies.com/tutors/textonimages.html





Q. I am constantly creating files (pdf or word) files that I need to show to many co-workers. Instead of having to email everyone everytime I finish a file, I would like to upload the file to my server and have them view the list of files online and download the ones they want. These files need to be password protected as different people in different departments should only see files pertaining to them. Here was my idea, create a bunch of password protected folders on a server - one for each department, and I will upload the file to any folder that should be allowed to view these files. Two questions: 1) I put the files in a folder, but when I try to view the folder in a browser it tells me I don't have permission to access this folder (I assume because I never created an index file). How can I set it up that I should be able to view a list of files that are in the folder? 2) how can I create a page that will allow me to upload files to folders using a browser?

A. I believe you are correct in that you do not have an INDEX file for the server to show when you try to access the folder. You could create an INDEX file with the links to the documents for downloading. I am assuming that you have already password protected the folder? An even easier way would be to use a password log in feature for your pages. The application would allow users to sign up themselves and you would control which group the user should be in and only the documents or files you allow each group or person to view. There is a nice web application called ASPLogin. It has to run on a server that supports ASP. For example, to make a document available to all users in a group called 'management', members of a group called 'administrators' and a user called 'fred' (who may or may not be in either of the groups), you would add the following code to the top of the document:
<%@ LANGUAGE=VBScript %>
<%
Set asplObj=Server.CreateObject("ASPL.Login")
asplObj.Group("management")
asplObj.Group("administrators")
asplObj.User("Fred")
asplObj.Protect
Set asplObj=Nothing
%>
Any other group or person trying to see that document will not be allowed to see it. It is a pretty slick application You can take a look here: http://www.asplogin.com
To create a page to allow you to upload documents would call for some scripting. This all depends on what type of server you site is hosted on. If it is a Windows server then it will support Active Server Pages (ASP).





Q. Is there was a way to position a background image in the center of a page regardless of screen resolution?

A.
This code will position the image in the center:
body {
background-image : url(image.jpg);
background-position : center center;
background-repeat : no-repeat;
}

To position in the center of a table, try using this (be sure to replace __ with the height and width of the image):
<body>
<table height="100%" width="100%">
<tr><td valign="center" align="center">
<table height="__" width="__" background="image.jpg">
Any text on the background
</table>
</td></tr>
</table>
</body>
 

 

 

 

 

 

 

Top

News Goodies


Comcast Answers VoIP Call
[January 10, 2005] UPDATED: The cable giant will make Internet calling available for 15 million homes by year's end.

Click here to read the article



 

Cisco, EMC Partner on Remote File Storage
[January 10, 2005] In a move that could shake up the storage landscape, Cisco and EMC have extended their partnership to include a joint NAS-file services solution.

Click here to read the article

 

 

 

Macromedia Opens More Video Streams
[January 10, 2005] Mirror Image is the third partner for the Flash-based service.

Click here to read the article

 

 

 

Internet Elite Look Ahead
[January 10, 2005] New Pew study draws upon predictions of Cerf, Dyson and others over what lies ahead for the networked world.

Click here to read the article
 

 

 

Microsoft Hosts Messaging for SMBs
[January 10, 2005] Microsoft's Solution for Hosted Messaging and Collaboration aims to put enterprise-class server software in reach of small business..

Click here to read the article

 

 

 

The Lite Side of Oracle 10g
[January 10, 2005] The software maker packages its Lite database for mobile users as a natural extension of 10g.

Click here to read the article

 

 


Zend Unveils PHP Enterprise Platform
[January 10, 2005] The new platform introduces enterprise management and performance features, and it's not just for administrators.

Click here to read the article

 

 

 

Trends in 2005: Vlogs, SOA and IP Everything
[January 7, 2005] Internetnews.com rounds up the most important trends unfolding in the mid-decade year.

Click here to read the article


 

 

AMD's Turion to Rival Intel's Centrino
[January 7, 2005] Selling points include a 64-bit processor and no chipset lock-in.

Click here to read the article

 

 

 

Red Hat to Open Source Directory Server
[January 7, 2005] UPDATED: Developer highlights reasons behind the move in blog posting.

Click here to read the article

 

 

 

 

 

 


Top

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:

mailto:nlfeedback@htmlgoodies.com


We already receive a lot of email every day. This address will help 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/


Thanks to those of you who sent in corrections to my arithmetic! In last week's newsletter I calculated the average contribution to the Red Cross Disaster Relief Fund through Amazom.com to be US$80,000+. It should be US$80+. At the time I used a European calculator that I have, and forgot to note that there is a comma where we in the US use a period, and didn't pay attention to the reasonability of the answer. $80 is a much more reasonable amount to be the average, but I would like also to point out that I believe it to be a truly generous amount, coming as it does from the general population. I hope that those affected by the Tsunamis will hear of it, and will know that we all do indeed care about them.

Thanks again for all your feedback!
 

 

Top


 


Windows Tech Goodie of the Week:
 


A Sneak Peek at ASP.NET 2.0's Administrative Tools

With ASP.NET 2.0, Microsoft has made great strides in increasing developer productivity and has made implementing previously complex solutions relatively easy.

http://www.15seconds.com/issue/041215.htm


*** AND ***


Debugging a SQL Stored Procedure from inside SQL Server 2000 Query Analyzer


There are many times when using SQL Server 2000 Query Analyzer to debug SQL statements is a better choice than debugging in Visual Studio .NET. In this article, Dina Fleet Berry explains why and walks you through the debugging process step-by step

http://www.15seconds.com/issue/041229.htm
 

 


 

Top


 

And Remember This . . .


On this day in...
 

On this day in...

49BC Julius Ceasar crossed the Rubicon and invaded Italy; 1514 The Complutensian Polyglot Bible in Hebrew, Aramaic, Greek & Latin was finished; 1776 "Common Sense" by Thomas Paine was published (until then there had been none, and there's not much more now! <G>); 1810 The French church annulled marriage of Napoleon I and Josephine; 1839 Tea from India first arrived in the UK; 1863 The first underground railway opened - in London; 1870 John D Rockefeller incorporated Standard Oil; 1928 The Soviet Union ordered the exile of Leon Trotsky; 1946 The UN General Assembly convened for the first time (London); 1949 RCA introduced the 45 RPM record; 1951 UN Headquarters opened in Manhattan, NYC; 1964 Panama severed diplomatic relations with US; 1969 Sweden became the first western nation to oficially recognize North Vietnam; 1972 The triple album set "A Concert for Bangladesh" was released in the UK; 1984 Clara Peller first asked "Where's the Beef?"; 1994 The trial of Lorena Bobbitt, who cut off her husband's penis, began; 1997 Italy's new 1,000 lire coin showed Germany still divided on its map;


Born today were: in 1738 Revolutionary War fighter Ethan Allen; 1883 Russian poet & writer Aleksei Tolstoi (Pjotr Peroyj); 1901 actress Pauline Stark; 1908 English actor Bernard Lee ("M" to 007); 1927 singer Johnnie Ray; 1930 Roy E. Disney; 1943 singer Jim Croce; 1945 singer Frank Sinatra Jr.; 1945 British singer Rod Stewart; 1946 musician Aynsley Dunbar; 1948 musician Donald Fagen; 1953 singer Pat Benatar;

 



Thanks for reading Goodies to Go!



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