Web Hosting Forums | Forums for Web Hosting
Old January 19th 2007, 02:39 PM   #1 (permalink)
Registered User
 
Join Date: Jan 2007
Posts: 1
Is this possible??

I have a page hosted on one server that we are coding in.

A have an iframe loading content from another of our sites that runs a site package whose pages contain javascript.

When you click a javascript link in the iframe it executes a function from within the iframe. Herein lies my problem. I wan't it to execute a different javascript function from the iframe, but I cannot change the code on that server as we get updates all the time and they would not support the application anymore if we do. So, I'm trying to intercept those function calls and execute another function.

I've tried to assign a new function there but it's not working. See code snipet below.

Code:
function showalert() {
    alert('Link Disabled');
    }

var newFunction = showalert;

parent.frames["iframe_sample1"].openWindow = newFunction;
Any help with this is much appreciated, as my javascript is a bit rusty...

- JT
JTiger2k is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookSpurl this Post!Reddit! Stumble This!Add to Live!Wong this Post!Yahoo my WebGoogle Bookmarks
Reply With Quote
Forum Advertisement ** This Advertisement Does Not Show To Registered Users **
Old July 10th 2007, 10:56 PM   #2 (permalink)
Registered User
 
Join Date: Jun 2007
Posts: 7
Thumbs up Get your doubts cleared here

Hi JTiger2k

Ask your doubts here
http://www.techhelpformarketers.com

Hope it's helpful to you!

[mac_jsn]
mac_jsn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookSpurl this Post!Reddit! Stumble This!Add to Live!Wong this Post!Yahoo my WebGoogle Bookmarks
Reply With Quote
Old October 16th 2008, 09:36 AM   #3 (permalink)
Registered User
 
JoeMatt's Avatar
 
Join Date: May 2008
Posts: 245
Thanks for the useful tool.
JoeMatt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookSpurl this Post!Reddit! Stumble This!Add to Live!Wong this Post!Yahoo my WebGoogle Bookmarks
Reply With Quote
Old October 27th 2011, 03:21 AM   #4 (permalink)
Registered User
 
Join Date: Oct 2011
Posts: 4
Thanks the share, Likes here content very much!!




---------------------------
fringe season 3 dvd
fringe dvd
KennithPowers is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookSpurl this Post!Reddit! Stumble This!Add to Live!Wong this Post!Yahoo my WebGoogle Bookmarks
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

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



All times are GMT -5. The time now is 09:56 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.1
 

Web Hosting


Sponsor


 

Webmaster Links: Social Media Marketing | Pay Per Click


 

Featured Web Hosting Companies

 

©Ascendancy Media Limited All rights reserved / Legal Disclaimer / Privacy Policy
Basic Web Hosting Search Intermediate Web Hosting Search Advanced Web Hosting Search Log in to add your companies details Search the forums on web hosting, web design and programming Your bookmarked web hosting and web design packages Buy your domain names from here, includes multilingual registrations and translation! Our affiliate programs, including the ability to set up large and small corporations to sell domain names in real time using our transparent affiliate system Group of web hosting companies with some info on their services - use this to find a company FAST Jump to Top of Page Jump to Top of Page Back to previous page Back to homepage Back to homepage Back to homepage Back to homepage Back to homepage Back to homepage