************************************************************
Goodies to Go ™
March 7, 2006 — Newsletter # 379
https://www.htmlgoodies.com
************************************************************
All Goodies To Go newsletters are sent from the domain "internet.com."
Please use this domain name (not the entire "from" address, which varies)
when configuring e-mail or spam filter rules, if you use them.
Featured this week:
* Q & A Goodies
* Discussion Goodies
* News Goodies
* Feedback Goodies
* Windows Tech Goodie of the Week
* And Remember This…
recent entry into the wonderful world of Web Development. "She’s so
excited," her Dad went on to say, "even though it’s not really Web
development – she’s just put some photos up on her ‘MySpace’ space."
a taste of what it’s like to drive a car, would it be wise for me to take
him to the Monte Carlo Rally and toss him the keys to a Ferrari, or would it
be wiser for me to take him to an empty field and sit beside him in an old
car?
banner march — Web Development is the process of developing the Web
(meaning, of course, the World Wide Web.) It does not refer to a particular
method of doing so, it refers to all methods of doing so. The Web is
developing every time something is being added to it. When my friend’s
young daughter put her pictures up on MySpace, she most definitely
contributed to the development of the Web. She was being a Web Developer.
.Net, people for whom sophisticated HTML, JavaScript and CSS make up the
starting point, not the destination. These people impress me greatly with
their skills and with their products. My friend’s daughter impresses me
every bit as much.
remember that when I look at her first efforts. As we all know, technology
develops quickly these days, and when I look at her pictures, her first
taste of "going public" on the Web, I am humbly reminded that she is now
embarking on a journey whose destination I can hardly even imagine.
Thanks for reading!
***********************************
Questions are taken from submissions to our Community
Mentors. You can ask a Mentor a question by going to
https://www.htmlgoodies.com/mentors/
XXXXXXXXXXXXXXXXXXXXXXXXXX
X X
X Please take note: X
X X
XXXXXXXXXXXXXXXXXXXXXXXXXX
interpreting code examples in this newsletter as actual HTML code instead of
text. To overcome this problem and to enable everyone to read the
newsletter, there is a period after the "<" in each tag. If you cut and
paste to try out code examples, please remember to remove the periods.
Wherever we intend you to use "<." in your code, the example will show
"<..". In this way, you will be safely able to use a global edit to change
"<." to "<". Thanks to all of you for your patience with this; if this
technique creates an undue problem for you however, please let us know via
our feedback address (see Feedback, below).
The answer was provided by one of our Mentor Volunteers
site, and my form is made up entirely of text boxes. However, I find that
the text boxes are ugly.. I would like the borders of them to be a different
colour, so they do not have that "grey shadow" look. I know it is possible
to change the colour of them, as I have seen it done on another website, but
how can I do it on mine?
style sheet, since you are only using text boxes. The following will also
apply to any radio buttons or checkboxes that may be in the form. If you add
them later, you may want to set up a class. But for now, add this to your
style
sheet:
input { border: 1px solid black; }
You can use change the pixel size, or switch from solid to dashed. For
colors, you can use the text names that are available, or the hexidecimal
(#000000).
The answer was provided by one of our Mentor Volunteers
back to a page of the main web site?
"opener". I would suggest that you create a function in your popup to load
the page into the main window and then close the popup. The function could
look like this:
function LoadPage(linkid)
{
opener.location.href=linkid
self.close()
}
You can then call this function and pass the page you want to load into the
"opener" window as a value like this:
<.a HREF="#" onClick="LoadPage(‘mypage.html’)">Click Me<./a>
or:
<.a HREF="javascript:LoadPage(‘mypage.html’)">Click Me<./a>
The second example might be better because IE5.0 has a problem when you use
the "#" sign to void the link. You can also reference function in the
"opener" window from the popup by prefacing the function name with the term
"opener" like this:
opener.function_name()
As you can see you can reference just about anything in the main window as
long as you preface it with "opener".
The answer was provided by one of our Mentor Volunteers
information which our project team are copying to another application. The
challenge we face is to have the information on the development presented as
a hard copy, with page breaks and hopefully in the same format (colors and
all). So far all we have done is to copy and paste the information into a
word document, but we are losing most of the original format.
web page. If you are doing this within a company in which everyone is using
the same browser you may get away with it with few problems. Not all web
browsers recognize this particular attribute. I believe IE 5 and above and
Netscape 6 and above will recognize it. The CSS attributes
"page-break-before" and "page-break-after". Both instruct the printer to
begin printing a new page, with the difference being before or following the
element the attribute is applied to. For instance if you apply the attribute
within the H1 tag like this:
<.style> h1{ page-break-before: always; } <./style>
The printer will start a new page before every H1 tag.
The answer was provided by one of our Mentor Volunteers
to be black, which works well on the left bordered side of my page, but not
on the right side which has a black background. Is there anyway to change
the color just one or two links without changing the color of all the links?
and other attributes to whichever links you want. For instance if you want
one of your links to be black and another to be white you would set up a
style sheet like this:
<.style type="text/css">
a.one:link {color: #000000}
a.two:link {color: #FF0000}
<./style>
Place the style between the <.HEAD> tags. Now apply the class to the actual
links in your HTML like this:
<.a class="one" href="default.html">This link will be black.<./a>
<.a class="two" href="default.html">This link will be red.<./a>
*** This question was submitted to our Mentor Community.
The answer was provided by one of our Mentor Volunteers
Q. Is there anyway that I can make multiple frames load at a time without
using a form, and using just a regular link?
example uses "inline javascript" to load two frames (in both examples you
need to specify the name of the frame that you want the documents to load
in):
<.a href="#"
onClick="parent.frame_name1.location=’page1.html’;parent.frame_name2.location=’page2.html’">Click
Me<./a>
The second example uses a function that is passed the documents to load when
you click on a link:
<.script type="text/javascript">
function Doframes(page1,page2)
{
parent.frame_name1.location=page1
parent.frame_name2.location=page2
}
<./script>
<.a href="#" onClick="Doframes(‘page1.html’,’page2.html’)">Click Me<./a>
*** This question was submitted to our Mentor Community.
The answer was provided by one of our Mentor Volunteers
Q. I was wondering how to have information filled our on a form sent
directly to a e-mail address? If this is possible how can I implement it
into my website?
email address. Usually what happens when the attempt to submit the for is
their email client will pop up without the information from the form in the
body of the email. You should use a serverside language such as Perl PHP or
Asp to process the form and email it to you.
[Take a look also at:
https://www.htmlgoodies.com/articles/emailforms1.html
https://www.htmlgoodies.com/articles/emailformphp.html and
https://www.htmlgoodies.com/letters/226.html — Ed.]
The answer was provided by one of our Mentor Volunteers
loads. There will be 6 main images to be shown all will be displayed one by
one and when 6th image will be displayed, the first image will come again.
technology you want to use. My best suggestion is to do a search on Google
or Yahoo for "javascript image rotator". You will find about 10000 hits.
Most of them probably even have a demo so you can see what it will look like
before you try it.
***********************************
great place to get help from others who, just like you, are developing web
pages. Many different topics appear in the forum, and a new one will appear
if you create it! Here’s a sample of recent topics:
http://www.webdeveloper.com/forum/showthread.php?threadid=98026
http://www.webdeveloper.com/forum/showthread.php?threadid=97920
http://www.webdeveloper.com/forum/showthread.php?threadid=97897
***********************************
[March 7, 2006] Google wants to be the world’s better, bigger hard drive.
Read the article:
http://www.internetnews.com/storage/article.php/3589906
PHP Framework Begins to Take Shape
[March 8, 2006] First preview version of application framework for PHP is
released.
Read the article:
http://www.internetnews.com/dev-news/article.php/3589886
TI Drags Down Techs
[March 7, 2006] Disappointing guidance from Texas Instruments sent chip
stocks to a 3% loss on Tuesday.
Read the article:
http://www.internetnews.com/bus-news/article.php/3589896
New Intel Platforms ‘Sooner Than You Think’?
[March 7, 2006] System makers are gearing up for Intel’s ‘Core
microarchitecture.’
Read the article:
http://www.internetnews.com/ent-news/article.php/3589861
Intel Previews Future Mobile Chips
[March 8, 2006] Intel’s Santa Rosa will be a more powerful mobile platform.
Read the article:
http://www.internetnews.com/infra/article.php/3589936
Microsoft All Aboard For App Transfer
[March 7, 2006] The software power buys Apptimum to help customers move
applications from older to newer PCs.
Read the article:
http://www.internetnews.com/ent-news/article.php/3589766
Feds Continue Spam Porno Crackdown
[March 7, 2006] New Hampshire woman faces up to 15 years in jail following
guilty plea.
Read the article:
http://www.internetnews.com/xSP/article.php/3589811
Yahoo Opens The API Floodgates
[March 7, 2006] Portal is set to release APIs for photo, calendar, shopping
and MyWeb 2.0.
Read the article:
http://www.internetnews.com/xSP/article.php/3589601
Cisco Secures Electric Eye Buy
[March 7, 2006] Cisco buys a video surveillance specialist with a mind for
IP networks.
Read the article:
http://www.internetnews.com/infra/article.php/3589651
NBC Universal Buys iVillage
[March 7, 2006] NBC says the sale ‘turbo charges’ its online efforts.
Read the article:
http://www.internetnews.com/bus-news/article.php/3589881
Feedback Goodies
***********************************
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:
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
https://www.htmlgoodies.com/mentors/
Windows Tech Goodie of the Week
***********************************
Parameters
SQL query using parameters in a SqlDataSource. We’ll see examples of how to
use hard-coded filter values, and well as examples with filter values taken
from the querystring and other Web controls on the page. Read on to learn
more!
*** AND ***
Database-Connected Auto-Navigation Login Sample
directs each user to the appropriate page automatically when they login.
*** AND ***
Update to the ServiceBroker for the Perfect Service
popular article series on creating the ‘Perfect Service’.
And Remember This …
***********************************
The eruption, which continued for the next few weeks, killed more than
20,000 people and left many thousands more homeless. Mt. Etna is the 11,000
foot tall, dominant geological feature of the Island of Sicily off the
southwestern corner of Italy. The first signs of the eruption gave warning
to the residents to leave, but most chose to remain behind, thinking that
they could do something to save their city. Ash and poisonous gas emissions
killed 3,00 people living on the slopes of Mt. Etna, and were so voluminous
the they fell on parts of southern Italy, over 100 miles away. Residents of
the city of Catania attempted to divert lava flows by using iron rods and
farm implements. Though it took several weeks to reach the city, the lava
killed about 17,000 residents as it buried Catania. Fourteen other towns and
villages were destroyed in the eruption, leading to some 27,000 people being
left homeless.
Today was also the day that in: 1876 Alexander Graham Bell received the
patent for the telephone; 1908 Cincinnati Mayor Mark Breith stood before
city council and announced that "women are not physically fit to operate
automobiles"; 1917 the first jazz record, "Dixie Jazz Band One Step",
recorded by Nick LaRocca Original Dixieland Jazz Band, was released by RCA
Victor in Camden NJ; 1933 the game "Monopoly" was invented; 1962 The Beatles
made their broadcasting debut on BBC radio; 1967 Teamsters Union president
Jimmy Hoffa began an eight year prison sentence for defrauding the union and
tampering with a jury (sentence was comuted on December 23, 1971); 1971
IBM’s PC-DOS version 3.1 was released; 1989 Iran dropped diplomatic
relations with Britain over Salman Rushdie’s book "The Satanic Verses"; 1994
the US Navy issued their first permanent order assigning women on combat
ship;
Morton DaCosta; 1930 English photographer, Earl of Snowdon, Anthony
Armstrong-Jones; 1934 Weatherman/TV Personality Willard Scott; 1942 Disney
COE Michael Eisner; 1942 gospel singer/make-up consumer Tammy Faye Bakker;
1945 actor John Heard; 1958 comedian Rik Mayall; 1961 actress Mary Beth
Evans;
EarthWeb’s family of online services for IT insiders
*************************************************************
IT MANAGEMENT
http://www.earthweb.com/dlink.index-jhtml.72.949.-.0.jhtml