|
#1
Mar 17, 2013, 08:19 PM
|
|
I've been messing with this for a while and can't figure it out...pasted the code below in a text widget in the side bar...it works in another non Atahualpa site but on this site is opening a window but not the size indicated in the script....would appreciate any help..
BTW Love the theme!
<script type="text/javascript" charset="Shift_JIS" language="javascript">
function popitup(url) {
newwindow=window.open(url,'name','height=900,width =500,top=200,left=400,menubar=no,toolbar=no,locati on=no,');
if (window.focus) {newwindow.focus()}
return false; }
</script>
<center>
<div style="width: 200px;">
<div style="outline: outset; outline-color: #00F; margin-left: auto; margin-right: auto; outline-width: medium; padding: 2px; color: #00f; width: 200;">
<h4>Stay on top of the St. Louis Real Estate Market!</h4>
<p>Sign up for our <span>FREE</span> Weekly St. Louis Real Estate Market updates for your area!</p>
<a onclick="return popitup('http://realestateinfoforyou.com/altos-sign-up-form.html')" href="http://realestateinfoforyou.com/altos-sign-up-form.html"> <img src="http://realestateinfoforyou.com/sign-up-here-button.png" alt="" align="middle" style="text-align: center; text-decoration: none; margin-left: auto; margin-right: auto; border: none; outline: none;"></a>
<p style="font-size: .8em; text-decoration: none; border: none;"><a style="text-decoration: none;" onclick="return popitup('http://realestateinfoforyou.com/MORE Realtors Market Update [SF]_MO_CLAYTON.pdf')" href="http://realestateinfoforyou.com/MORE Realtors Market Update [SF]_MO_CLAYTON.pdf">Click Here to View Sample Report</a></p>
</div>
</div>
</center>
|
#2
Mar 17, 2013, 08:45 PM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
It worked as expected for me. The item that shows is the same size as the dimentsions in the script.
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#3
Mar 17, 2013, 08:59 PM
|
|
It worked for me on another site too...I must have something on this site that is causing an issue..ugh...thanks!
|
#4
Mar 18, 2013, 03:48 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Try disabling all plugins and see if one is causing the conflict
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#5
Mar 18, 2013, 05:32 AM
|
|
I disabled them all and am still having the same problem, the window works but it just opens at a size of about 400 or 500 square which seems to be a default size....when I click on the button in the same script on other sites it opens to the sizes I've set.....I'm using quite a few iframes on this site and have done a couple of css inserts....I don't think I've changed anything that would affect this, but I guess that may be the next thing to check?
|
#6
Mar 18, 2013, 05:52 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
what is the url of teh site?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#7
Mar 18, 2013, 09:51 AM
|
|
I figured it out....I used the same script in 3 different widgets...all had the same function name so it was grabbing the size from the last one....once I changed the function names to unique names everything worked fine..
Thanks for the help and the quick responses!
|
|