Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 21st, 2004, 04:02 AM
Registered User
 
Join Date: Oct 2004
Location: Chennai, Tamil Nadu, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Urgent help in javascript

Hi all ,
    I am new to this site and this is my first post. I have a problem with iFrames. I dont want the users to visit links outside our clients domain(say we have 5 or 6 clients). I can't take the link of the redirected page as that will be restricted. Is there any other way to do this.All the pages are loaded inside the iFrame.
    Secondly i want to stop popups opened from the clients page using scripts.Is that possible.This is urgent.Thanks

With Regard,


Madhu
Reply With Quote
  #2 (permalink)  
Old October 21st, 2004, 04:37 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

You can't really do this without destroying the page you're trying to view. You could run it through a server language, strip out the links, and add a client-side popup blocker (just google for "javascript popup blocker"), but it would mess up the images, styles and any other external data.

So, basically, no, you can't.

-Snib Where will you be in 100 years?
Try new FreshView 0.2!
There are only two stupid questions: the one you can't find the answer to and don't ask, and the one that you can find the answer and do ask.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent:Javascript ivanlaw Javascript How-To 5 September 4th, 2007 08:18 PM
urgent help on javascript sansircar ASP.NET 1.0 and 1.1 Professional 9 August 3rd, 2006 01:23 AM
Flash and Javascript (VERY URGENT) Apocolypse2005 Javascript 3 July 2nd, 2006 02:12 PM
How to load c++ dll using javascript(urgent) faisal79 Javascript 1 May 30th, 2006 07:51 PM



All times are GMT -4. The time now is 08:25 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.