Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 25th, 2003, 11:54 AM
luna_code luna_code is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Canada
Posts: 2 luna_code User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Popups

Hi! There's this site I'm working on and in Windows Netscape and IE there's these popup windows (let's call them popup 1) that have a link.
But when you click on it there's no scroll bar,
so I wanted to have the link close 'popup 1' and open it to a new (same size) popup window.
Does anyone know a code to help with this?

~Luna Code

Reply With Quote
  #2  
Old July 26th, 2003, 03:13 PM
polyesterhat's Avatar
polyesterhat polyesterhat is offline
Only Human
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Florida
Posts: 189 polyesterhat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 8 m 48 sec
Reputation Power: 6
Send a message via AIM to polyesterhat Send a message via MSN to polyesterhat Send a message via Yahoo to polyesterhat
<script>
//Modeless window script- By DynamicDrive.com
//for full source code and terms of use
//visit http://www.dynamicdrive.com

function modelesswin(url,mwidth,mheight){
if (document.all&&window.print) //if ie5
eval('window.showModelessDialog(url,"","help:0;resizable:1;dialogWidth:'+mwidth+'px;dialogHeight:'+mheight+'px")')
else
eval('window.open(url,"","width='+mwidth+'px,height='+mheight+'px,resizable=1,scrollbars=1")')
}
</script>

Links, or window.location('<same thing as below>'):
<a href="javascript:modelesswin('popup2',screen.availHieght,screen.availWidth)">Whatever</a>

I'm not sure exactly what you mean, but I think that this may help. You can always mod it.

Reply With Quote
  #3  
Old July 28th, 2003, 03:50 PM
kfickert's Avatar
kfickert kfickert is offline
Capt'n
Dev Shed Novice (500 - 999 posts)
 
Join Date: May 2001
Posts: 545 kfickert User rank is Corporal (100 - 500 Reputation Level)kfickert User rank is Corporal (100 - 500 Reputation Level)kfickert User rank is Corporal (100 - 500 Reputation Level)kfickert User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 h 59 m 51 sec
Reputation Power: 9
bad polyesterhat for propagating those nasty pop-ups. There is a reason why I use Safari.

Reply With Quote
  #4  
Old July 28th, 2003, 03:56 PM
polyesterhat's Avatar
polyesterhat polyesterhat is offline
Only Human
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Florida
Posts: 189 polyesterhat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 8 m 48 sec
Reputation Power: 6
Send a message via AIM to polyesterhat Send a message via MSN to polyesterhat Send a message via Yahoo to polyesterhat
Well, then I have no Idea what luna_code meant in the first place, ALL HAIL SAFARI

Reply With Quote
  #5  
Old July 28th, 2003, 04:21 PM
AGibel's Avatar
AGibel AGibel is offline
Bad Andy
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: OH
Posts: 275 AGibel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
safari?

Reply With Quote
  #6  
Old July 28th, 2003, 04:24 PM
polyesterhat's Avatar
polyesterhat polyesterhat is offline
Only Human
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Florida
Posts: 189 polyesterhat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 8 m 48 sec
Reputation Power: 6
Send a message via AIM to polyesterhat Send a message via MSN to polyesterhat Send a message via Yahoo to polyesterhat
For Mac OSX, it has a nice little popup blocker.

Reply With Quote
  #7  
Old July 29th, 2003, 07:23 AM
AGibel's Avatar
AGibel AGibel is offline
Bad Andy
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: OH
Posts: 275 AGibel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Ah. That would explain why I've never heard of it

Reply With Quote
  #8  
Old July 29th, 2003, 11:30 AM
kfickert's Avatar
kfickert kfickert is offline
Capt'n
Dev Shed Novice (500 - 999 posts)
 
Join Date: May 2001
Posts: 545 kfickert User rank is Corporal (100 - 500 Reputation Level)kfickert User rank is Corporal (100 - 500 Reputation Level)kfickert User rank is Corporal (100 - 500 Reputation Level)kfickert User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 h 59 m 51 sec
Reputation Power: 9
yep, Safari still doesn't handle all CSS correctly, but I only know of a couple websites it is not compatable with. Plus I forget about popups now, so when I surf on my XP box at work, I get nasty surprises.

I was just joking around about the popup thingy, btw. thought it would be a wiseass remark. Nice to see I am not the only OSX user around this place.

Reply With Quote
  #9  
Old July 29th, 2003, 04:09 PM
polyesterhat's Avatar
polyesterhat polyesterhat is offline
Only Human
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Florida
Posts: 189 polyesterhat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 8 m 48 sec
Reputation Power: 6
Send a message via AIM to polyesterhat Send a message via MSN to polyesterhat Send a message via Yahoo to polyesterhat
There are a lot of things safari has yet to do right. In lght of that, I just use IE on my mac, the mac version of it is better than the XP one anyway.


Jeez, we haven't even answered the thread question.
__________________
I can do all things through Christ which strengtheneth me. ~Phil. 4:13

Reply With Quote
  #10  
Old July 30th, 2003, 08:58 AM
luna_code luna_code is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Canada
Posts: 2 luna_code User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I do think I asked about popup ads... but the little things bug me so much! ^^;
But about my question, I'd show you a sample but that would take to long.

So just visit the site (URL)
Go to the bottom to where there are four links
(ADVERTISING, SUBSCRIPTIONS, DISTRIBUTION and EDITORIAL)
click on one (doesn't matter which one)
then there should be a gif blinking back and forth,
click the link (it says 'Presentation Kit)....
NOW! This is where I want it to open in a new window, AND close itself.

The reason for this is cuz in 'Windows' the presentation link has no scroll bar.

But if no one can help, I'm sure I'll find some other way.
OK, I've taken up to much time....
~Luna Code

Reply With Quote
  #11  
Old July 30th, 2003, 04:55 PM
polyesterhat's Avatar
polyesterhat polyesterhat is offline
Only Human
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Florida
Posts: 189 polyesterhat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 8 m 48 sec
Reputation Power: 6
Send a message via AIM to polyesterhat Send a message via MSN to polyesterhat Send a message via Yahoo to polyesterhat
for the link (presentation kit), you might put target="_blank" ahref="preskit;window.close()", or, if you are using modeless window, just include that , and have it link to a modeless window, then in the script after it calls eval(), put window.close(). If this does not work, then I do not understand what you mean.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > Popups


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway