Goodies to Go ™
September 6, 2005 — Newsletter # 353
http://www.internet.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
* News Goodies
* Feedback Goodies
* Windows Tech Goodie of the Week
* And Remember This…
– Vince Barnes
***********************************
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
*** This question was submitted to our Mentor Community.
The answer was provided by one of our Mentor Volunteers
<.a href=”” onClick=”javascript:popup(“URL”)”>Text here<./a>
..but all I got was my local desktop in the window when I tested it. Here is the code I am using to call my popup window on page load:
<.!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”> <.html>
<.head>
<.title>BridgeMon<./title>
<.!– TWO STEPS TO INSTALL POPUP WINDOW:
1. Paste the first into the HEAD of your HTML document
2. Use the code to open the popup page on your site –>
<.!– STEP ONE: Copy this code into the HEAD of your HTML document –>
<.SCRIPT LANGUAGE=”JavaScript”>
<.!– Idea by: Nic Wolfe (Nic@TimelapseProductions.com) –>
<.!– Web URL: http://fineline.xs.mw –>
<.!– This script and many more are available free online at –>
<.!– The JavaScript Source!! http://javascript.internet.com –>
<.!– Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval(“page” + id + ” = window.open(URL, ‘” + id + “‘,
‘toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=320,height=210’);”);
self.close();
}
// End –>
<./script>
<.!– STEP TWO: Paste this onLoad event handler into the BODY tag –>
<.BODY onLoad=”javascript:popUp(‘URL’)”>
<.!– Script Size: 0.73 KB –>
<./head>
A. Part of your problem is that you left the “href” blank. This causes problems with the link. There are some different ways that you can accomplish what you want. The first one is to use the “#” pound sign to void the link so that only the onClick event works. For example: <.a href=”#” onClick=”popup(‘somepage.html’)”>Text here<./a>
(You also do not need to specify “javascript” in the onClick event)
You can also call the function by placing the function call in the “href” like this.
<.a href=”javascript:popup(‘somepage.html’)”>Text here<./a>
This does away with the onClick event. I also noticed that you surounded the URL with double quotes and at the same time surounded the function call with double quotes. When you are doing a function call like your example it should be single quotes within double quotes or double quotes within single quotes.
*** This question was submitted to our Mentor Community.
The answer was provided by one of our Mentor Volunteers
Q. I have developed a website for a consulting business. What steps do you need to take to make sure that copyrights are not infringed by using photos and graphics from other sites?
*** This question was submitted to our Mentor Community.
The answer was provided by one of our Mentor Volunteers
A. If you want to link to a spot on a particular page you can use the NAME ANCHOR. For instance if you had a long page and wanted to give the user an easy way to get back to the top after reading the article you would place this in the HTML near the top after the <.BODY> tag:
<.a name=”top”>
At the end of the article you would place this code:
<.a href=”#top”>TOP<./a>
That creates a link to the top of the page. If you want a link to a certain area on another page it is done in a similar way. On the page you want to link to you place the NAME ANCHOR in the spot on the page you want to jump to:
<.a href=”jump”>Jump Here<./a>
On the page you are coming from, the link would look like this:
<.a href=”#jump”>Click here to Jump<./a>
Here is the tutorial from the HTMLGoodies site:
https://www.htmlgoodies.com/tutors/pagejump.html
*** This question was submitted to our Mentor Community.
The answer was provided by one of our Mentor Volunteers
Q. How do you get your brower reset because I have no status bar and no scrollbar?
<.a href=”javascript:window.location.reload()”>Refresh<./a>
When the link is clicked on it would refresh the page.
[If you wish to restore the browser status bar (in Internet Explorer) click “View/Status Bar”
*** This question was submitted to our Mentor Community.
The answer was provided by one of our Mentor Volunteers
<.script>
<.!–
if (screen.width<=640)
top.location.href=”index640.html”;
if (screen.width<=800)
top.location.href=”index800.html”;
if (screen.width<=1024)
top.location.href=”index1024.html”;
top.location.href=”index1280.html”;
//–>
<./script>
<.script>
<.!–
function Redirect(linkid)
{
top.location.href=linkid
}
if (screen.width<=640)
setTimeout(‘Redirect(“index640.html”)’,2000);
if (screen.width<=800)
setTimeout(‘Redirect(“index800.html”)’,2000);
if (screen.width<=1024)
setTimeout(‘Redirect(“index1024.html”)’,2000)
top.location.href=”index1280.html”;
//–>
<./script>
The answer was provided by one of our Mentor Volunteers
[There is a lot of information about all aspects of Search Engines, including a submission service, at http://www.searchenginewatch.com – Ed.]
***********************************
[September 6, 2005] UPDATED: Judge may decide this week if former Redmond executive can begin work with Google.
Read the article:
http://www.internetnews.com/bus-news/article.php/3532216
MontaVista Tightens Embedded OS Market
[September 6, 2005] The company hopes to wrest a piece of the embedded OS market from the likes of Microsoft and Wind River.
Read the article:
http://www.internetnews.com/dev-news/article.php/3532206
HP in All-In-One Storage Sprint
[September 6, 2005] Systems vendor, hungry for information lifecycle management share, rolls out more integrated storage packages..
Read the article:
http://www.internetnews.com/ent-news/article.php/3532156
Real-Time Coding, The P2P Way
[September 6, 2005] Borland’s JBuilder 2006 lets developers around the globe collaborate in real-time on the same piece of code.
Read the article:
http://www.internetnews.com/dev-news/article.php/3532071
Xactly Enters On Demand Arena With Incent
[September 6, 2005] The new company focuses on adding intelligence to sales commissions.
Read the article:
http://www.internetnews.com/ent-news/article.php/3532176
LeftHand Picks Up a Bundle
[September 6, 2005] LeftHand Networks says its $25 million funding round will be enough to carry it to profitability in the competitive IP SAN market.
Read the article:
http://www.internetnews.com/storage/article.php/3532316
IMlogic Tackles Zero-Day Chat Threats
[September 6, 2005] RTTPS attempts to block fledgling worms and viruses before they become a problem for network administrators.
Read the article:
http://www.internetnews.com/security/article.php/3532256
RSS Feeds, Secured For Enterprise
[September 5, 2005] Reactivity, the XML appliance maker, explains how it will support Really Simple Syndication feeds.
Read the article:
http://www.internetnews.com/dev-news/article.php/3532051
Suckers For Spam
[September 2, 2005] Despite more awareness of the problem, people are still getting lured into Internet fraud.
Read the article:
http://www.internetnews.com/xSP/article.php/3532001
ntel Bullish on Itanium’s Growth Prospects
[September 5, 2005] Touts customer gains, but Sun says big discounts boost sales.
Read the article:
http://www.internetnews.com/ent-news/article.php/3532046
Feedback Goodies
***********************************
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:
Windows Tech Goodie of the Week
***********************************
only a few short lines of code are needed to both generate the signature on the page generating the hyperlink and validating the signature on the “receiving” page. Read on to learn more!
*** AND ***
Paged Database Search with Limited Navigation Links
*** AND ***
The X-Factor in SOA
And Remember This …
***********************************
Today was also the day that in: Honolulu, Hawaii became a city; 1941 the Nazi’s Siege of Leningrad began; 1945 Hong Kong was liberated from Japan; 1961 JB Parsons was confirmed as the first African American US District Court Judge; 1963 the White House – Kremlin hotline went into service; 1967 Thurgood Mashall was confirmed as the first African American US Supreme Court Justice; 1979 President Jimmy Carter was attacked by a rabbit while on a canoe trip in Plains, Georgia (US); 1989 Roman Polanski and actress Emanuelle Seigner were married;
EarthWeb’s family of online services for IT insiders
*************************************************************
IT MANAGEMENT http://www.earthweb.com/dlink.index-jhtml.72.949.-.0.jhtml