473,498 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Quetion about iframe attributes

11 New Member
Hey everyone!

I'm working on a project that involves iframes, and I've included an "Unpin" button that will open up the current iframe's 'src' attribute in a new window, however I've discovered that it will open up the window just fine, but the location of the window is the iframe's original location when the link was clicked, not it's current location.

I'm guessing that I should be using a different attribute instead of src when unpinning the iframe, but I dont know what it is. Thanks.
Jun 28 '08 #1
1 1291
gits
5,390 Recognized Expert Moderator Expert
try the iframe's location.href javascript property instead ...

kind regards
Jun 29 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

12
9746
by: Javier | last post by:
Hello, I'm very new in this forum and as I have the following problem, the website is in http://new.vanara.com ----------------------------------------------------------------------------...
2
5527
by: J. B. Moreno | last post by:
I've got a page with an iframe in it, and a javascript that handles an onmouseover/onmouseout for it. Everything WORKS, but it doesn't validate... <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01...
3
3926
by: Stevie_mac | last post by:
It might be me but... I dont seem to get a Page_Load event when a opening an ASPX in an iFrame. I do geta Page_Load event when an item on the ASPX (inside the iFrame) is clicked but then...
1
3588
by: Jason | last post by:
Hi I have client side script that inserts an IFrame into a table cell upon a particular client side click event. My problem is that when a postback occurs, that IFrame "disappears". what do i do...
5
9734
by: Angel | last post by:
Is there a way to create an IFRAME dynamically via VB.NET. In other words creating the HTML element in the server side code? thanks in advance....
5
1902
by: Daniel | last post by:
Hi All, IFrame is a HtmlGenericControl name?? Where can i get this IFrame control at vs.net 2003? Any example and guideline for IFRAME? Thank you. Best regards, Ocurnos.
3
8120
by: Angel | last post by:
How do I get the reference of the IFrame from the asp.net webpage that is being displayed within that IFrame? In other words I have an IFrame in my page. Within that IFrame Set the source to a...
1
3519
by: SunshineInTheRain | last post by:
My project has 3 files, File1 has included master page. file1 consists of iframe1 that load file2. File2 consists of iframe2 that load file3. Javascript used on each file to resize the iframe...
23
6539
by: vunet | last post by:
It is recommended by some sources I found to create IFrames in IE using document.createElement('<iframe src="#">') instead of document.createElement('iframe'). Why and what browser versions to...
0
7121
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6993
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7162
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6881
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7375
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4584
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3088
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
287
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.