[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.5

Need Help with JavaScript For a Pop-Up Window

Asked by photoman11 in JavaScript

Tags: JavaScript, pop-up window, link to URL

Hi EE,

I have been looking online and doing searches to try to find what I'm sure is an embarrassingly easy JavaScript, for the last three hours (Yep, count them-180 minutes).

The closest I could find is not exactly what I want. I'm including the script in this post however, I don't know if that will provide any insight. For all I know, the term I'm using (pop up) may not even be the correct term for what I am trying to accomplish.

FINAL OBJECTIVE:
My eventual objective is to have an image appear "on top of" a webpage that is opened by a visitor, a certain number of seconds after they open it. I want to use the image to link to a different URL.

Within a webpage, I know that the code to do this, while opening a new window is:

<A href="http://www.best-family-photography-tips.com/photography-poses.html" target="_blank"><img src="http://www.best-family-photography-tips.com/images/baby-and-brother-sleeping.jpg" align ="left" hspace="5" vspace="4" alt="[[PUT ALT TAG DESCRIPT HERE]]" border="0"></a>

However all of the Java scripts that I have found only allow in image (without the link) or a traditional URL to serve as the pop-up page. To give you some background on me, so you understand that any technical explanations need to point much more toward the BEGINNER their than the EXPERT level, here are some facts about my background

1. I am not a programmer
2. When I say that I understand basic HTML and JavaScript, I am not saying I have a basic understanding from a PROGRAMMER level. I am a photographer.
3. I have never programmed.
4. I have a website that I have built using a very simple block by block method which generally does not involve hardly any HTML or JavaScript.
5. I do not use CSS or anything more than what you would probably consider very rudimentary. I use HTML for text formatting (bolding, italics, etc.), text links, images, and things at this very basic level.

Ideally, I would like the pop-up image to move into place (roughly at the center of the screen) after a short time period such as 8-10 seconds. I need to be able to know where to place the URL for the image as well as the URL for the ultimate page that will open once the image is clicked on.

Thank you so much for your assistance in this.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
THIS SCRIPT BROUGHT TO YOU BY JAVAFILE.COM - http://www.javafile.com 
 
ADD THIS SCRIPT TO YOUR HEAD TAG TO CREATE THE POPUP WINDOW 
 
<SCRIPT LANGUAGE = "JavaScript"> 
 <!-- 
function SmallWindow1(wintype) {  
SmallWin=window.open(wintype,"SmallWin","toolbar=no,directories=no,status=no,scrollbars=no,menubar=no,width=360,height=210"); SmallWin.window.focus() }  
// This Pop-up script courtesy of Stephen Downes:  http://www.assiniboinec.mb.ca/user/downes   downes@assiniboinec.mb.ca --> 
</SCRIPT>  
ADD THIS SCRIPT TO A PAGE LOADED IN THE POPUP WINDOW AND YOU WILL BE ABLE TO CLOSE THE WINDOW WITH A CLICK. 
<form><input TYPE="button" VALUE="Close Window" onClick="window.close()">&nbsp;&nbsp;&nbsp;</form> 
Or close with a text or button link: <a href="javascript:window.close()">text link</a> 
 

PASTE THIS SCRIPT INTO YOUR BODY TAG TO OPEN THE POPUP WINDOW 

<BODY onload="JavaScript:SmallWindow1('example.html')"> 
 
THIS SCRIPT BROUGHT TO YOU BY JAVAFILE.COM - http://www.javafile.com
[+][-]11/04/09 02:22 PM, ID: 25744680Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]11/04/09 04:19 PM, ID: 25745626Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/05/09 01:20 AM, ID: 25747804Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: JavaScript
Tags: JavaScript, pop-up window, link to URL
Sign Up Now!
Solution Provided By: mplungjan
Participating Experts: 2
Solution Grade: A
 
[+][-]11/08/09 04:06 PM, ID: 25772657Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/08/09 09:02 PM, ID: 25773500Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/08/09 09:13 PM, ID: 25773527Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/08/09 10:56 PM, ID: 25773828Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/12/09 11:54 AM, ID: 25808193Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/12/09 03:35 PM, ID: 25810061Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/12/09 09:02 PM, ID: 25811492Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/12/09 11:06 PM, ID: 25811986Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/13/09 12:08 AM, ID: 25812154Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/13/09 08:41 AM, ID: 25815339Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/13/09 12:29 PM, ID: 25817419Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/13/09 05:23 PM, ID: 25818934Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/19/09 03:09 PM, ID: 25866175Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/19/09 10:57 PM, ID: 25868063Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625