Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Help with PopUp Close button?
Old 08-09-2010, 05:18 PM Help with PopUp Close button?
Junior Talker

Posts: 3
Trades: 0
Unable to close the popup.

Have done the best I can

Can someone please help me here.

Would also like to be able to display without scrolling bars

Here is the link

http://www.videowebmastery.com/video...ters/index.htm


Cheers
videowebmastery is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-09-2010, 05:30 PM Re: Help with PopUp Close button?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
In some browsers, you can only close a window with Javascript that has been opened with javascript.

http://www.quirksmode.org/js/popup.html
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-09-2010, 06:00 PM Re: Help with PopUp Close button?
Junior Talker

Posts: 3
Trades: 0
Chrishirst

Good of you to reply.

You seemed pretty seasoned in this stuff.

Thanks for the link.

Any possibility if you can check the source code of my popup page?.

And give me a heads up as to how to sort this, I have been trying for the last 12 hours to get this stupid thing to work properly.

Cheers

Ken
videowebmastery is offline
Reply With Quote
View Public Profile
 
Old 08-09-2010, 06:18 PM Re: Help with PopUp Close button?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
HTML Code:
<a href="http://www.videowebmastery.com/videopresenters/index.htm" onclick="self.close();return false;">Close Window</a>  <img border="0" src="http://www.websmartdna.com/images/stories/seosubmit/close.jpg"></a>
You are missing the opening of the <a>nchor around the image and really using to onclick event would be the better method.
AND you do NOT need the href attribute of the anchor.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-09-2010, 08:23 PM Re: Help with PopUp Close button?
Junior Talker

Posts: 3
Trades: 0
Copied the code and replaced

Still no difference, doesn't close

Any further suggestions?

Cheers
videowebmastery is offline
Reply With Quote
View Public Profile
 
Old 08-14-2010, 12:11 PM Re: Help with PopUp Close button?
Sleeping Troll's Avatar
Ultra Talker

Posts: 351
Name: Butch Begy
Trades: 0
I have looked over your code and I don't see the close() function.
__________________
Sleeping Troll, EMUSE, Mind Expansion...Truly serendipity!
Sleeping Troll is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Help with PopUp Close button?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.18320 seconds with 12 queries