Advertisement

06.23.2007 at 07:51AM PDT, ID: 22653178
[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!

5.0

adding a popup window to a PHP script on a text

Asked by ronig100 in E-Commerce, PHP Scripting Language

Tags: , , ,

Hi Team,
I wish add a pop-up window with my eshop site terms & conditions, pooped by clicking on a text link in the site registration page.
The site is php script e-commerce
The following java script do the job in html web page:

<br>
<script type="text/javascript">
function openpopup(popurl){
var winpops=window.open(popurl,"","width=,height=,scrollbars,resizable")
}
</script>
<a
 href="javascript:openpopup('http://www.name-site.com/terms.html')">terms & conditions</a>

In html page a statement like "terms & conditions" might be used as the popup text link.Clicking.

PHP:
php definitions I used:
ENTRY_I_READ => "I hereby confirm that I read the site"
ENTRY_CONDITIONS => "Terms & Conditions"
ENTRY_CONFIRM => "and am accepting them"

I wish add the popup link to be applied on the words: "Terms & Conditions"
How can I add the java script to the php file in order to execute the popup instruction?

Thank you, ronig

The PHP script where I want this link to be added is looks like this:
<tr>
<td class="main"><b><?php echo CATEGORY_CONDITIONS; ?></b></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
<tr class="infoBoxContents">
<td><table border="0" cellspacing="2" cellpadding="2">    
<tr>                    
<td class="main"><?php echo ENTRY_I_READ; ?></td
<td class="main"><?php echo ENTRY_CONDITIONS; ?></td>
<td class="main"><?php echo ENTRY_CONFIRM; ?></td>

//next is the radio button to confirm  not relevant to my question

<td class="main"><?php echo tep_draw_radio_field('terms', 'y') . '' . (tep_not_null(ENTRY_TERMS_TEXT) ? '<span class="inputRequirement">' . ENTRY_TERMS_TEXT . '</span>': ''); ?></td>              
<form id="form1" name="form1" method="post" action="" onsubmit="if (form1.checkbox.checked==''){alert('You need to accept the terms');return false};">
<td class="main"><?php echo ENTRY_NOT_CONFIRM; ?></td>
<td class="main"><?php echo ENTRY_CATALOG_PAGE; ?></td>                        
</tr>
</table></td>

Thank you, roni

Start Free Trial
 
Loading Advertisement...
 
[+][-]06.23.2007 at 08:00AM PDT, ID: 19347913

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.23.2007 at 11:40AM PDT, ID: 19348663

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.23.2007 at 12:16PM PDT, ID: 19348762

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.23.2007 at 12:42PM PDT, ID: 19348830

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.23.2007 at 12:55PM PDT, ID: 19348853

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.23.2007 at 01:11PM PDT, ID: 19348897

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.23.2007 at 01:19PM PDT, ID: 19348923

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.23.2007 at 01:21PM PDT, ID: 19348929

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.23.2007 at 01:29PM PDT, ID: 19348948

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.23.2007 at 01:39PM PDT, ID: 19348974

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.23.2007 at 01:58PM PDT, ID: 19349026

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.23.2007 at 01:59PM PDT, ID: 19349031

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.23.2007 at 02:16PM PDT, ID: 19349073

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.23.2007 at 02:18PM PDT, ID: 19349077

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.23.2007 at 02:25PM PDT, ID: 19349095

View this solution now by starting your 7-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

Zones: E-Commerce, PHP Scripting Language
Tags: php, popup, window, script
Sign Up Now!
Solution Provided By: jasonsbytes
Participating Experts: 1
Solution Grade: A
 
 
[+][-]06.23.2007 at 02:30PM PDT, ID: 19349109

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.23.2007 at 02:43PM PDT, ID: 19349149

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.23.2007 at 02:44PM PDT, ID: 19349153

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.23.2007 at 06:26PM PDT, ID: 19349572

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.23.2007 at 11:28PM PDT, ID: 19350110

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.24.2007 at 11:28AM PDT, ID: 19352007

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.24.2007 at 12:35PM PDT, ID: 19352167

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.24.2007 at 12:58PM PDT, ID: 19352194

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.24.2007 at 03:04PM PDT, ID: 19352523

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32