PDA

View Full Version : Problem getting optin box working in popup box II



golfer57
10-19-2008, 01:56 AM
1) Script Title: Popup Box II

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/abox2.htm

3) Describe problem: I am trying to get the popup box to show my aweber optin information. All it is the name and email. I am going to include the code here. If some one can tell me when to use the \, that seems to be the problem. I got the other parts of the box working with a picture and text, but then the optin just does nothing when it is on the page. So I add the code for the optin and go to the page where the popup should come up and nothing happens. Here is the code:

<script>

window.onload=function(){
new popUp(300, 100, 300, 300, "Div", "<center> <img src=\"http://www.thisreviewforyou.com/instantsoftwareriches/images/instantsoftwarerichesreportpic.gif\"> </center> <BR><BR>
Discover Amazing Secrets To Cash-In On The Virtually Untapped Profits Behind Hot-Selling Software Products That Practically Guarantees Success!<BR><BR>Your's FREE, just Enter Your Name and Email<br>
<center><form method="post" action=\"http://www.aweber.com/scripts/addlead.pl\" target="_new">
<input type="hidden" name="meta_web_form_id" value="496392273">
<input type="hidden" name="meta_split_id" value="">
<input type="hidden" name="unit" value="softwareriches1">
<input type="hidden" name="redirect" value=\"http://www.aweber.com/form/thankyou_vo.html" id="redirect_452cc941313a63007874a298486af29c\">
<input type="hidden" name="meta_redirect_onlist" value="">
<input type="hidden" name="meta_adtracking" value="">
<input type="hidden" name="meta_message" value="1">
<input type="hidden" name="meta_required" value="from">
<input type="hidden" name="meta_forward_vars" value="0">
<table>
<tr><td colspan=2><center></center></td></tr>
<tr><td>Name:</td><td><input type="text" name="name" value="" size="20"></td></tr>
<tr><td>Email:</td><td><input type="text" name="from" value="" size="20"></td></tr>
<tr><td colspan=2><center></center></td></tr>
<tr><td align="center" colspan="2"><input type="submit" name="submit" value="Submit"></td></tr>
</table>
</form>

</center>
", "white", "black", "bold 10pt sans-serif", "Special New Report Reveals...", "Red", "black", "#dddddd", "gray", "black", true, true, true, true, false);

</script>

If someone could fix this for me by showing me where the \ goes that way I can do it right the next time. It says the the \ should be in front of every " in the html code, well I sure dont know where or at what parts of the above code it should be at.

Thanks in advance,
Steve

Nile
10-19-2008, 03:54 AM
Here:

<center> <img src=\"http://www.thisreviewforyou.com/instantsoftwareriches/images/instantsoftwarerichesreportpic.gif\"> </center> <BR><BR>
Discover Amazing Secrets To Cash-In On The Virtually Untapped Profits Behind Hot-Selling Software Products That Practically Guarantees Success!<BR><BR>Your's FREE, just Enter Your Name and Email<br>
<center><form method=\"post\" action=\"http://www.aweber.com/scripts/addlead.pl\" target=\"_new\">
<input type=\"hidden\" name=\"meta_web_form_id\" value=\"496392273\">
<input type=\hidden\" name=\"meta_split_id\" value=\"\">
<input type=\"hidden\" name=\"unit\" value=\"softwareriches1\">
<input type=\"hidden\" name=\"redirect\" value=\"http://www.aweber.com/form/thankyou_vo.html\" id=\"redirect_452cc941313a63007874a298486af29c\">
<input type=\"hidden\" name=\"meta_redirect_onlist\" value=\"\">
<input type=\"hidden\" name=\"meta_adtracking\" value=\"\">
<input type=\"hidden\" name=\"meta_message\" value=\"1\">
<input type=\"hidden\" name=\"meta_required\" value=\"from\">
<input type=\"hidden" name=\"meta_forward_vars\" value=\"0\">
<table>
<tr><td colspan=2><center></center></td></tr>
<tr><td>Name:</td><td><input type=\"text\" name=\"name\" value=\"\" size=\"20\"></td></tr>
<tr><td>Email:</td><td><input type=\"text\" name=\"from\" value=\"\" size="20"></td></tr>
<tr><td colspan=2><center></center></td></tr>
<tr><td align=\"center\" colspan=\"2\"><input type=\"submit\" name=\"submit\" value=\"Submit\"></td></tr>
</table>
</form>

</center>
You add backslashes before a quote, or double quote depending on which your using.

golfer57
10-19-2008, 04:44 AM
Hello,
Thanks for the reply. I tried that already, but I went a head and entered into the box and got the code and it gave me the same results, nothing on the page. When the page came up there was no popup. I am using xsitepro also to build this page. Here is the page were i want the popup to go to:
http://www.thisreviewforyou.com/instantsoftwareriches/Instant-Software-Riches-Review.html
The code you gave me above is on the page and i would imagine when you go there you don't get a popup, at least I did not.
Thanks, but that is not it, but I appreciate your suggestion and look forward to hearing from you or anyone else with some idea's on how to make this d--- thing work.
Thanks in advance
Steve

Nile
10-19-2008, 02:05 PM
To me, it doesn't look like you used the code I provided. Upload it please.

golfer57
10-19-2008, 05:02 PM
Again, thanks for the help. I put the information on the site and uploaded it, so it should be there now. When I click on the page, nothing happens.
Thanks for the help,
Steve

Nile
10-19-2008, 08:26 PM
Here:


window.onload=function(){
new popUp(200, 100, 300, 175, "Div", "<center> <img src=\"http://www.thisreviewforyou.com/instantsoftwareriches/images/instantsoftwarerichesreportpic.gif\"> </center> <BR><BR>"+
"Discover Amazing Secrets To Cash-In On The Virtually Untapped Profits Behind Hot-Selling Software Products That Practically Guarantees Success!<BR><BR>Your's FREE, just Enter Your Name and Email<br>"+
"<center><form method=\"post\" action=\"http://www.aweber.com/scripts/addlead.pl\" target=\"_new\">"+
"<input type=\"hidden\" name=\"meta_web_form_id\" value=\"496392273\">"+
"<input type=\hidden\" name=\"meta_split_id\" value=\"\">"+
"<input type=\"hidden\" name=\"unit\" value=\"softwareriches1\">"+
"<input type=\"hidden\" name=\"redirect\" value=\"http://www.aweber.com/form/thankyou_vo.html\" id=\"redirect_452cc941313a63007874a298486af29c\">"+
"<input type=\"hidden\" name=\"meta_redirect_onlist\" value=\"\">"+
"<input type=\"hidden\" name=\"meta_adtracking\" value=\"\">"+
"<input type=\"hidden\" name=\"meta_message\" value=\"1\">"+
"<input type=\"hidden\" name=\"meta_required\" value=\"from\">"+
"<input type=\"hidden\" name=\"meta_forward_vars\" value=\"0\">"+
"<table>"+
"<tr><td colspan=2><center></center></td></tr>"+
"<tr><td>Name:</td><td><input type=\"text\" name=\"name\" value=\"\" size=\"20\"></td></tr>"+
"<tr><td>Email:</td><td><input type=\"text\" name=\"from\" value=\"\" size=\"20\"></td></tr>"+
"<tr><td colspan=2><center></center></td></tr>"+
"<tr><td align=\"center\" colspan=\"2\"><input type=\"submit\" name=\"submit\" value=\"Submit\"></td></tr>"+
"</table>"+
"</form>"+
"</center>", "white", "black", "bold 10pt sans-serif", "Title Bar", "navy", "white", "#dddddd", "gray", "black", true, true, true, true, false);
}

golfer57
10-20-2008, 05:04 PM
Hello,
Thanks so much, it works.......................but
If you look at the site listed above, I am going to leave the code up so you can see, you will see and extra box above the name and email box. Not sure what the heck that is and I am afraid to change anything at this time.
I am going to compare the two codes and see what you did to make it work, but great job and thanks alot, I really appreciate it. I was using the popup from xsitepro but it gets block quite easily, so thanks for your help.
Maybe you can figure out why that extra box is there?????? and give me the fix for that, that would be great.
Here is the link again:
http://www.thisreviewforyou.com/instantsoftwareriches/Instant-Software-Riches-Review.html

Thanks again,
Steve

Nile
10-20-2008, 10:54 PM
Here ya' go:


window.onload=function(){
new popUp(200, 100, 300, 175, "Div", "<center> <img src=\"http://www.thisreviewforyou.com/instantsoftwareriches/images/instantsoftwarerichesreportpic.gif\"> </center> <BR><BR>"+
"Discover Amazing Secrets To Cash-In On The Virtually Untapped Profits Behind Hot-Selling Software Products That Practically Guarantees Success!<BR><BR>Your's FREE, just Enter Your Name and Email<br>"+
"<center><form method=\"post\" action=\"http://www.aweber.com/scripts/addlead.pl\" target=\"_new\">"+
"<input type=\"hidden\" name=\"meta_web_form_id\" value=\"496392273\">"+
"<input type=\"hidden\" name=\"meta_split_id\" value=\"\">"+
"<input type=\"hidden\" name=\"unit\" value=\"softwareriches1\">"+
"<input type=\"hidden\" name=\"redirect\" value=\"http://www.aweber.com/form/thankyou_vo.html\" id=\"redirect_452cc941313a63007874a298486af29c\">"+
"<input type=\"hidden\" name=\"meta_redirect_onlist\" value=\"\">"+
"<input type=\"hidden\" name=\"meta_adtracking\" value=\"\">"+
"<input type=\"hidden\" name=\"meta_message\" value=\"1\">"+
"<input type=\"hidden\" name=\"meta_required\" value=\"from\">"+
"<input type=\"hidden\" name=\"meta_forward_vars\" value=\"0\">"+
"<table>"+
"<tr><td colspan=2><center></center></td></tr>"+
"<tr><td>Name:</td><td><input type=\"text\" name=\"name\" value=\"\" size=\"20\"></td></tr>"+
"<tr><td>Email:</td><td><input type=\"text\" name=\"from\" value=\"\" size=\"20\"></td></tr>"+
"<tr><td colspan=2><center></center></td></tr>"+
"<tr><td align=\"center\" colspan=\"2\"><input type=\"submit\" name=\"submit\" value=\"Submit\"></td></tr>"+
"</table>"+
"</form>"+
"</center>", "white", "black", "bold 10pt sans-serif", "Title Bar", "navy", "white", "#dddddd", "gray", "black", true, true, true, true, false);
}

golfer57
10-20-2008, 11:45 PM
Thanks a lot for all you have done.
steve

Nile
10-20-2008, 11:59 PM
Sure, any time!